HD install fails (Grub)


Forum: HD Install
Topic: HD install fails (Grub)
started by: finjay

Posted by finjay on Sep. 08 2006,10:54
I'm trying to make HD install, but i get this error installing Grub:

grub> root (hd0)
 Filesystem type unknown, using whole disk

grub> setup --stage2=/mnt/hd/boot/grub/stage2 --prefix=/boot/grub (hd0)

Error 17: Cannot mount selected partition

I'm using the whole disk as one partition hda. Is that the problem? Do i really have to first create 2 partitions with some partitioning tool? Don't exactly know how....

Posted by ^thehatsrule^ on Sep. 08 2006,13:06
I haven't tried installing it from the grub cmdline...  but with filesystem type unknown, I'd guess your disk is not formatted yet?

but here's a way to install grub as described in the wiki:
< http://damnsmalllinux.org/wiki/index.php/Installing_Grub >

Posted by finjay on Sep. 11 2006,04:20
Got it working now. Had to create the 2 partitions (hda1 & hda2) with cfdisk before installing. After that grub installation worked. It didn't work when i tried to install as one partition hda as the whole disk.
Posted by ^thehatsrule^ on Sep. 11 2006,14:25
Actually it does work with just one partition, but you probably didn't use/create/specify i.e. hda1 correctly.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.