Page 1 of 1

windows boot option loads linux mint

Posted: Tue Jan 22, 2013 3:10 pm
by choppy1812
Hello all,

I just installed mint cinnamon 32-bit on my sdb drive, and I have windows 7 on the sda drive. During install, the bootloader was put on sda (windows drive).

Now, when I boot, I can choose the first option for Mint (on /dev/sdb1), and that works fine, but when I try the last option in the menu for "Windows 7 (loader) (on /dev/sda1)", the computer simply restarts.

I have a windows 7 disk, and I've read about restoring the MBR with that, but I prefer to do it with Linux / Grub, if possible.

I found /etc/default/grub, but I don't see anything in this file that looks like a list of options (ie, windows), so I assume there is another file somewhere to look at?

What should I do? Many thanks in advance. :)

Re: windows boot option loads linux mint

Posted: Tue Jan 22, 2013 10:30 pm
by jungle_boy
Try in a terminal:

Code: Select all

sudo update-grub


Reboot.

Re: windows boot option loads linux mint

Posted: Tue Jan 22, 2013 11:39 pm
by thegreatgazoo
So from your description of your disks, sda1 and sdb1, It looks like you have 2 drives.
sda=windows and sdb=linux
Now, windows 7 usually has 2 partitions a small 100MB partition in front, then the main partition afterwards.
So windows should really be on SDA2.

Try this, boot up and in grub choose the option to manually edit the windows line. Manually edit sda1 to say sda2 and see if it will boot now. If it does, it's easy to make it permanent.

Re: windows boot option loads linux mint

Posted: Fri Jan 25, 2013 7:47 am
by perduta
Do as follows:
Boot your Linux Mint then open a command prompt and enter the following:

sudo os-prober
sudo update-grub

Next time you restart your computer it should giving you the choice which OS you want.

Note: Personally I disconnect the Windows drive when installing Linux because I just use my rom bios boot priority to choose which drive to boot from and I don't like the grubby menu. ;)

p.s. I keep all my own data files on a separate NTFS partition of my Windows drive so that if I need to reinstall either OS, it never affects my work.