PDA

View Full Version : [ubuntu] GRUB on a different drive



julian.irwin
July 22nd, 2009, 05:45 PM
I just installed ubuntu on an external drive and now my system wont boot without the external. I already had ubuntu and Vista on the internal, so GRUB is there too. I just need to know how to make my system use the GRUB on the internal hard drive instead of GRUB on the external.

(I already changed the BIOS boot order around a bunch.)

DGortze380
July 22nd, 2009, 05:47 PM
I just installed ubuntu on an external drive and now my system wont boot without the external. I already had ubuntu and Vista on the internal, so GRUB is there too. I just need to know how to make my system use the GRUB on the internal hard drive instead of GRUB on the external.

(I already changed the BIOS boot order around a bunch.)

You'll need to add an entry in menu.lst on the internal drive for the external. You'll also want to delete grub from the mbr on the external.

roccivic
July 22nd, 2009, 08:46 PM
Open a terminal and run:

grub
then in the grub shell run:

root (hd0,0)
setup (hd0,0)
Obviously change "(hd0,0)" to match your Ubuntu partition containing "/boot/grub/" on your internal drive.

Close everything, reboot and enjoy.