HD Install :: HD install fails (Grub)



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....

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

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.
Actually it does work with just one partition, but you probably didn't use/create/specify i.e. hda1 correctly.

original here.