PDA

View Full Version : how to use grub-install with default Knoppix installation?



Siegfried_Heintze
01-15-2006, 05:05 AM
I just finished the default knoppix 4.0.2 installation.

I'm told I should use grub-install because the I can specify "lang=us dma" in the configuration file. I've been reading http://orgs.man.ac.uk/documentation/grub/grub_16.html but I cannot figure out what to specify for the required device parameter.

I try grub-instal hda0 and it says "format of installed device not recognized".
I try grup-install hd0 (as exemplified in the documentation) and it says "Could not find device for /boot: Not found or not a block device."
I try "grub-install hda" and it says "Format of install_device not recognized."

I try "grub-install /dev/hda1" and it says "Could not find device for /boot: Not found or not a block device."


Thanks,
Siegfried

knoppix@0[knoppix]$ sudo fdisk -l

Disk /dev/hda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 6 48163+ 83 Linux
/dev/hda2 7 4767 38242732+ 83 Linux
/dev/hda3 4768 4864 779152+ 82 Linux swap / Solaris
knoppix@0[knoppix]$

UnderScore
01-15-2006, 06:15 AM
to install grub to the master boot record: grub-install /dev/hda