GRUB hanging when trying to boot from pendrive.
Forum: USB booting
Topic: GRUB hanging when trying to boot from pendrive.
started by: Zombie13
Posted by Zombie13 on Mar. 05 2008,18:43I've done an install from the LiveCD to my pendrive using the option under "Apps -> Tools". However, when my PC tries to boot from the USB device, the word "GRUB" appears but then the PC hangs.
Can anyone give me any pointers as to why this might be happening?
Posted by curaga on Mar. 05 2008,20:40I'm guessing it can't find it's fat_stage1_5 file. The automatic script sometimes doesn't work properly.
You can try this from inside DSL livecd:
Get a root console. Then create a file with these contents (if your usb stick isn't sda, change that)
Then you will install grub manually, using that file to point to the device.
The commands are
Posted by Zombie13 on Mar. 07 2008,19:08Many thanks for the reply, but after doing "grub --device-map=device.map", then "root(hd0,0)", I get "Error 27: Unrecognized command".
Posted by ^thehatsrule^ on Mar. 07 2008,21:45Try adding a space after root, and probably for setup as well
Posted by curaga on Mar. 08 2008,05:51Indeed. Thanks ^hats^. Fixed my original post.
Posted by Zombie13 on Mar. 11 2008,19:07Thanks guys, but now I get another problem...
EDIT: OK, I spotted the obvious - partition 0 is FAT. I tried "root (hd0,1)" instead, and then the setup part gave some output that looked promising (can't paste it now, I've since rebooted). However, now when trying to boot from the pendrive I get "GRUB Hard Disk Error". At least I get three more words out of it before everything grinds to a halt. Any more suggestions?
Posted by Zombie13 on Mar. 14 2008,06:41OK, thought I'd post some info about the pendrive...
Output from fdisk...
Contents of /boot/grub/device.map
Contents of /boot/grub/menu.lst...
Can nobody help me on this?
Posted by sheldonisaac on Mar. 14 2008,13:47
Maybe linux24 and minirt24.gz are in /boot, not in /
Posted by Zombie13 on Mar. 15 2008,10:45Just checked... both linux24 and minirt24.gz are in /