Page 1 of 1

Installing GRUB on hard drive........

Posted: Fri Apr 13, 2007 3:44 pm
by Alboin
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

Code: Select all

Error 17: Cannot mount selected partition
after I type

Code: Select all

setup (hd0)
Anyone? :cry:

Thanks!

Posted: Fri Apr 13, 2007 6:58 pm
by Brynet-Inc
Well.. I did a search on google for ya..

http://www.troubleshooters.com/linux/grub/grub.htm
http://www.linuxjournal.com/article/4622

The look decent.. 8)

Hope this helps.