LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Booting with GRUB to external USB drive (https://www.linuxquestions.org/questions/linux-hardware-18/booting-with-grub-to-external-usb-drive-445172/)

Mirag3 05-15-2006 09:39 PM

Booting with GRUB to external USB drive
 
Hey, i actually have multiple operating systems running - Windows XP and Fedora Core 5 on my laptop hard drive, and OSx86 on my external USB hard drive. I have GRUB installed on my MBR of the laptop hard drive. My question is, how can I get GRUB to load USB drivers and mount my USB hard drive in GRUB. Once I can do that, its just a matter of
Code:

root(hd1,0)
chainloader +1


aus9 05-17-2006 08:29 AM

read my tut if you like on usb install beaware bios must have option for usb to be detected first or are you merely looking to have a menu option?

Mirag3 05-17-2006 07:02 PM

I do have the ability to boot from USB hard drive, but I would prefer simply having a menu option in GRUB along with Windows and Linux.

aus9 05-18-2006 08:27 AM

open a terminal and type su to get root powers then grub with your usb inserted.

type

root (hd AND PRESS TAB and see if hd1 or hd2 is an option for your detected drive....I am assuming you have 1 or 2 ide/sata/scsi drives so the number may vary

once you have established that your grub can see the drive (on a booted system) add something similar to your first post like this....assuming its hd2...to your /boot/grub/menu.lst with root powers.....

BTW did you try your hd1? what error message did you get?

title usb
root (hd2,0)
chainloader +1


(2) with luck....(I have no usb) the root command should detect vfat which grub can handle and then jump to the usb bootloader

BUT do you have a bootloader installed heh heh


All times are GMT -5. The time now is 12:01 PM.