Changing grub from mbr to hdb1

Martin Schmitz ubuntu at zangpo.org
Sat Apr 2 03:38:01 UTC 2005


Trey Sizemore schrieb:
> I have 2 IDE drives installed on my machine.  While installing Ubuntu,
> it didn't ask me where to install grub and did so in the MBR.  I use GAG
> for my boot loader and need Ubuntu to install grub on hdb1 (I installed
> ubuntu with / and /home partitions on hdb1 and hdb2 respectively).  How
> can I change this so grub is loaded on hdb1?

Make sure that you have an entry "(hd1) /dev/hdb" in
/boot/grub/device.map and than call "grub-install (hd1,0)".

Martin




More information about the ubuntu-users mailing list