6/7/2019»»Friday

Grub4dos Installer

6/7/2019
    19 - Comments

I recently install Linux Mint (KDE Plasma) on my SSD (30GB Partition) after that I install Windows 10 on remaining storage. But when I tried to boot in Linux Mint my Computer automatically boot Windows 10 without showing Boot options for selecting OS. Now, how to install GRUB on Master Boot Record (MBR) of my SSD to boot both OS.

Ali FarooqAli Farooq

closed as off-topic by Quentin, Biffen, Pang, Tsyvarev, u_mulderSep 25 '16 at 17:57

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • 'Questions about general computing hardware and software are off-topic for Stack Overflow unless they directly involve tools used primarily for programming. You may be able to get help on Super User.' – Quentin, Biffen, Pang, Tsyvarev, u_mulder
If this question can be reworded to fit the rules in the help center, please edit the question.

2 Answers

First live boot to your Linux Mint system, using external Live CD/USB Drive, then follow these commands to re-install GRUB on MBR.

  1. mount your Linux installed partition to some mount point. here XY is the number of your Linux distro partition.

  2. Now bind some essential live root partition directories to mounted root partition at /mnt.

  3. Now, change the root to newly mounted partition directory.

  4. Now, install the GRUB using grub-install command at your HDD MBR.

  5. Finally update the grub entries to show newly detected partition operating systems.

  6. And at last unmount all the binded partition directories, and then reboot.

That's it, hope this will help!!

U.SwapU.Swap

Windows will overwrite the boot sector whenever you install it. In general install windows first then linux. You can repair the grub by booting from a live disk of linux Mint and there should be an option to repair-boot, which will repair your grub. Restart it and now you should be able to see both the OS.

Or you can boot from a live cd and perform the following steps:

  • Boot from a live CD (CD/DVD or flash drive).
  • Become root or use sudo with commands below.
  • List the available partitions if needed: fdisk -l
  • Windows will almost certainly exist on /dev/sda1: mount /dev/sda1 /mnt
  • Reinstall GRUB in the MBR: grub-install --root-directory=/mnt/ /dev/sda
  • Reboot: shutdown -r now
  • Restore the GRUB menu: update-grub

Thanks to @christopher for the above answer.

Ajay PalAjay Pal

Not the answer you're looking for? Browse other questions tagged linuxwindows-10bootloaderlinuxmintgrub or ask your own question.

GRUB for DOS - Bridging DOS/Windows to Unix/Linux

GRUB4DOS is an universal boot loader based on GNU GRUB. It can boot off DOS/LINUX, or via Windows boot manager/syslinux/lilo, or from MBR/CD. It also has builtin BIOS disk emulation, ATAPI CDROM driver, etc.

Control: use keyboard to play - - - -. Add This Game to Your Site: Ben 10 Games Link to The Game: Ben 10 Partner Adventure 2 Ben 10 Partner Adventure 2, File Size: 1.79 Mb, Rating: 77.52% with 131 votes, Played: 25,339 times from October-29th-2014 Description: The adventure continue for Ben 10 and his partner to bring back the peace to the world.They will across from place to place to elimates the enemy force. Ben 10 games to play. Use ben 10 and his parter special ability to pass traps and kill the enemy. Bring both of them to the exit portal in order to go to the next level.

GRUB for DOS is free and open-source software, released under the GNU General Public License.

News: This project now has yet another new home at https://gna.org/projects/grub4dos/.

View the source code: http://svn.gna.org/viewcvs/grub4dos/trunk/.

Download the binary build: http://download.gna.org/grub4dos/. (Note: chs is for Chinese Simplified Edition.)

View or contribute DOCs at: http://grub4dos.sourceforge.net/wiki

New Our support forumin English has been set up at http://www.boot-land.net/forums/?showforum=66

You can boot the GRUB4DOS boot-loader/boot-manager in different manners:

(1) Run GRUB.EXE at the DOS prompt or in AUTOEXEC.BAT
(2) In CONFIG.SYS of DOS/Windows9x, use DEVICE=GRUB.EXE or INSTALL=GRUB.EXE or SHELL=GRUB.EXE
(3) In BOOT.INI of Windows NT/2K/XP, use C:GRLDR='GRUB' (there should be a backslash between C: and GRLDR)
(4) Under Linux, use 'kexec -l grub.exe' and then 'kexec -e'
(5) In syslinux.cfg, use 'kernel grub.exe'
(6) Under GNU GRUB, use 'kernel (DEVICE)/PATH/grub.exe'
(7) In lilo.conf, use 'image=/boot/grub.exe'
All above methods won't touch the MBR nor the boot area of any partition.
(8) Boot from MBR(or floppy) by installing boot sectors onto it with the DOS/LINUX utility bootlace.com.

When GRUB4DOS gets running, you can boot other OSes:

(1) Boot Linux kernel with 'kernel (DEVICE)/PATH/vmlinuz'
(2) Boot MS-DOS7+ kernel with 'chainloader (DEVICE)/io.sys'
(3) Boot FreeDOS kernel with 'chainloader (DEVICE)/kernel.sys'
(4) Boot NTLDR of Windows NT/2K/XP with 'chainloader (DEVICE)/ntldr'
(5) Boot CMLDR of Windows NT/2K/XP with 'chainloader (DEVICE)/cmldr'
(6) Boot other OSes with 'chainloader (DEVICE)+1'
(7) Boot DOS/Windows9x disk image files with the memdrive feature.
(8) Boot Smart Boot Manager with the memdrive feature(SBM can boot CD-ROMs).

Vanambadi asianet serial today Watch Asianet serial Pranayam latest episode, Asianet Serial Chandanamazha,Pranayam,Sthreedhanam,Parasparam,Karuthamuthu latest episode| Asianet Malayalam Serials online Asianet serial latest episode videos - Asianet-serials-today.blogspot.com.

Synopsis: Kodi a Saamiyaadi by profession, takes the responsibility of saving his sister and brother-in-law who is against Villangam and Adhigaaram, from their anger and retaliation. Keywords: Kodiveeran Full Movie, Kodiveeran Movie Watch Online, Kodiveeran Tamil Movie, Kodiveeran Movie Download, Kodiveeran 2017 Movie, Kodiveeran. SYNOPSIS: To protect his sister and her husband, a man who is revered as God by his villagers takes on the evil men who are hell bent of destroying their lives. Kodiveeran is a Tamil Indian action family drama film written and directed by M. Sasikumar, Mahima Nambiar are playing as the lead pair in this movie. This is the second time that this actor and director joining hands after Kutti Puli. Kodiveeran full movie download hd. Watch Kodiveeran (2017) HDRip Tamil Full Movie Online Download - TodayPk Movies, Watch Kodiveeran Full Movie Online, HD DVD Download Featured Movies Movierulz TamilRockers.

README.txt has more details.

Download

See Attachments below. Under Linux, the unzip utility can do:

unzip grub4dos-*.zip

Under DOS/Windows, any unzip utility will do.

Useful Links

Here are some useful resources about GRUB for DOS and WINGRUB.

  • GNU GRUB The homepage of the original GRUB.
  • grub4dos.sf.net This is the project home page at http://sourceforge.net/
  • http://sarovar.org/projects/grub4dos/ This is the project home page at http://sarovar.org/
  • GRUB for DOS scratchpad (in Chinese)
  • United DOS Forum (in Chinese)
  • Sysoft Forum (in Chinese)

Here are some documentations for GRUB for DOS.

Other Download Sites


Other Resources

Ralf Brown's Interrupt List: It's cool http://www.ctyme.com/rbrown.htm
A Disk Editor View of the NTFS Boot Sector and 'Bootstrap Code' http://www.therdcom.com/asm/mbr/NTFSbrHexEd.htm
The Second Extended File System(Internal Layout) http://www.nongnu.org/ext2-doc/ext2.html
OSD: PC bootstrap http://my.execpc.com/CE/AC/geezer/osd/boot/
eXtended Memory Specification: http://freedos.sourceforge.net/freedos/news/press/1991-xms30.html
High-res high-speed VESA tutorial http://www.monstersoft.com/tutorial1/
BIOS Data Area http://www.bioscentral.com/misc/bda.htm
Hardware and Software Documentation http://www.o3one.org/hwdocs.html


Screen shot showing the new features