Installing GRUB on hard drive........
Posted: Fri Apr 13, 2007 3:44 pm
I've been working on creating a mini distro of sorts. (Basically getting Linux to boot off a hard drive and start bash.) Yet, I can't figure out how GRUB is installed on a hard drive.
I go through creating a hard disk image described in the Wiki. I format it to ext2, etc. Then, I create the GRUB tree after mounting it. (boot/grub/stagex and menu.lst) This doesn't work correctly, however..... When I boot it, it just spits out "GRUB" and dies. Anyone know why? I think I'm forgetting something, but I can't come to see what exactly...
Also, when booted with a GRUB floppy (Which gets me into the GRUB bash.) GRUB tells me
after I type
Anyone?
Thanks!
I go through creating a hard disk image described in the Wiki. I format it to ext2, etc. Then, I create the GRUB tree after mounting it. (boot/grub/stagex and menu.lst) This doesn't work correctly, however..... When I boot it, it just spits out "GRUB" and dies. Anyone know why? I think I'm forgetting something, but I can't come to see what exactly...
Also, when booted with a GRUB floppy (Which gets me into the GRUB bash.) GRUB tells me
Code: Select all
Error 17: Cannot mount selected partition
Code: Select all
setup (hd0)
Thanks!