2 separate drives, need new boot menu

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

2 separate drives, need new boot menu

Postby dotgillies on Sun Jan 13, 2013 6:49 pm

I have windows on one drive and a new install of linuxmint64 on another that was added to computer. How do I change the boot menu to include both. I prefer linux to be in charge.
dotgillies
Level 1
Level 1
 
Posts: 1
Joined: Sun Jan 13, 2013 6:43 pm

Linux Mint is funded by ads and donations.
 

Re: 2 separate drives, need new boot menu

Postby usbtux on Mon Jan 14, 2013 6:43 am

Reinstall grub with following steps

boot and run from Linux Live DVD/CD
from a terminal sudo os-prober, and look for the mint partition this should be the / partition (root)
mount it with sudo mount /dev/sdaX /mnt, replace X with actual root partition of your selection
reinstall grub with sudo grub-install --root-directory=/mnt /dev/sda

OR

In windows install http://neosmart.net/EasyBCD/ and add an entry for mint.
http://goo.gl/DXKgM useful tutorials for installing mint on USB drives.
http://www.usbtux.hostzi.com/
http://goo.gl/WFu0u Installing Mint - the screen cast videos.
linuxcounter #368850
Image
User avatar
usbtux
Level 5
Level 5
 
Posts: 866
Joined: Tue Dec 28, 2010 10:37 am

Re: 2 separate drives, need new boot menu

Postby AlbertP on Mon Jan 14, 2013 9:45 am

Do you already see the Grub boot menu when booting? You will need to tell your BIOS to boot from the Linux disk, if you don't see a Grub boot menu yet.
If you can get the Grub menu to appear, running "sudo update-grub" in terminal is enough to have it detect the Windows disk too. Then you don't need to reinstall Grub boot sector like usbtux said.

@ usbtux: I guess that dotgillies only needs a menu entry for Windows and already has a working Grub. Then reinstalling Grub boot sector won't help: this does not edit the menu entries, that is what sudo update-grub does. Reinstalling Grub only makes sense if you cannot get any Grub menu or cannot boot Linux at all.
Of course with BCD it might work too, but dotgillies prefers Linux to be in charge so having Windows in Grub is preferred above having Linux in BCD.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 16
Level 16
 
Posts: 6502
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands


Return to Installation & Boot

Who is online

Users browsing this forum: No registered users and 18 guests