PDA

View Full Version : Grub problem



kendrew
03-13-2003, 08:53 AM
I installed successfully Knoppix on harddisk with Lilo booting.

But then when I try to install Grub, there are problems:


knoppix:~$ grub-install /dev/hda
Could not find device for /boot: Not found or not a block device.

I look at the script /sbin/grub-install and it seems that it is due to 'df'. I already did a "ln -sf /proc/mounts /etc/mtab" and df's output is:


Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 5067968 2056284 2754244 43% /
/dev/root 5067968 2056284 2754244 43% /

Still it doesn't work :(

Any idea?

Robert Michel
03-13-2003, 04:32 PM
Salve kendrew!

"]I installed successfully Knoppix on harddisk with Lilo booting.

But then when I try to install Grub, there are problems:


knoppix:~$ grub-install /dev/hda
Could not find device for /boot: Not found or not a block device.

My idea is that grub-install will maybe write to /boot. Do you have
a writable /boot directory?
I haven't used knx-hdinstall or grub yet, so sorry to haven't more
ideas than this link http://www.gnu.org/software/grub/#documentation
wich I will use to learn grub.
Greetings,
rob

kendrew
03-14-2003, 03:39 AM
thx rob

I figured out the problem: shouldn't use grub-install, just use grub instead.
grub-install tries to detect the harddisk, partition, but doesn't do it well.


rgds,
kendrew