PDA

View Full Version : configure grub to boot fedora on external HDD



deadcaribou
29th April 2006, 11:31 PM
hi,

im trying to add an option in the grub menu (i am currently on suse 10.0) to boot fedora 5 on my external usb HDD

i just added the following lines to my /boot/grub/menu.lst :


root (hd1,1)
kernel /boot/vmlinuz-version root=/dev/sda3 vga=0x317
initrd /boot/initrd_usb.gz


but it does not work, i have the following error message :


root (hd1,1)
filesystem type is ext2fs, partition type 0x83
kernel /boot/vmlinuz-version root=/dev/sda3 vga=0x317
error 15: file not found
press any key to continue...

the strange thing is that i can boot manually by entering the following code in the grub command line :

grub> kernel (hd1,1)/vmlinuz-version ro root=/dev/sda3
grub> initrd (hd1,1)/initrd_usb.gz
grub> boot

so what is the correct code that should be put in my menu.lst ?

thanks a lot in advance !