On Tue, Jul 26, 2005 at 09:28:19PM +0200, Felix Natter wrote:
> Anyway, usually I can easily fix this by booting Knoppix (3.1 in my case),
> mounting the root filesystem /dev/hda2 (it's all on one partition),
> and running /sbin/lilo from a chroot-shell (chroot /mnt/hda2 /bin/bash).
> But when I do this, I get the error:
> Fatal: open /dev/hda: Permission denied

When you are working in the chroot, /dev/hda is equivalent to
/mnt/hda2/dev/hda as seen from the Knoppix root filesystem.

The above error is probably caused by /mnt/hda2 being mounted with the
option "nodev", which is the default in Knoppix. "nodev" means that
character and block device nodes lose their special meaning and cannot
be use to access the underlying device drivers anymore.

As a solution, don't use the desktop icons to mount the file system, but
use the command line instead, in order to mount it without any options:
  mount /dev/hda2 /mnt/hda2
Of course, you should unmount it first if it was still mounted.

Regards,
Mirko


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to