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

All off topic discussions go here. Everything from the funny thing your cat did to your favorite tv shows. Non-programming computer questions are ok too.
Post Reply
User avatar
Alboin
Member
Member
Posts: 1466
Joined: Thu Jan 04, 2007 3:29 pm
Location: Noricum and Pannonia

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

Post 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!
C8H10N4O2 | #446691 | Trust the nodes.
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Post 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.
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
Post Reply