PDA

View Full Version : no BootLoader with knoppix 3.4



mschievano
05-12-2004, 03:02 PM
I've installed knx 3.4 in a IBM netvista miditower.

No problem till the end, but the bootloader didn't work!

So I restart with the CD and pass this commands:

sudo mount -o remount,rw /dev/hda1

trying to make hda1 readable and writable. Then:

sudo grub-install /dev/hda

and it respond to me:

mkdir: impossibile creare la directory '/boot/grub': Read-only file system

So i pass the following:

# mount /dev/hda1 /mnt/hda1
# chroot /mnt/hda1 /bin/bash
# source /etc/profile

grub-install /dev/hda
or
grub-install /dev/hda1

Response:
Could not find device for /boot: Not found or not a block device

:evil:

How can i install grub??

user unknown
05-12-2004, 05:30 PM
I'm not sure, but normally you only use /dev/hdxN to mount a device, and every other issue is done to the mountpoint - perhaps /mnt/hda1

and yes, it's hda1, not hda to use.

mzilikazi
05-12-2004, 06:34 PM
How can i install grub??

Easy. :)

You need to mount your root partition
mount /dev/hda1 /mnt/hda1
NO CHROOT REQUIRED
grub-install /dev/hda --root-directory=/mnt/hda1
update-grub

voila!