Re: access to /dev/hda denied

Fabian Franz <[email protected]>
Newsgroups gmane.linux.debian.knoppix
Message-ID <[email protected]>
Am Freitag, 30. April 2004 12:19 schrieb Elias:
> Hello everybody,
>
> I use knoppix as quite a powerful rescue system. Unfortunately I have
> just broken the boot sektor of my laptop and would like to rewrite it
> with knoppix' lilo. Although I am logged in as root on a console, lilo
> reports that access to /dev/hda was denied. What can I do gain access
> to this device?

The problem are the standard mount options.

What does work is (assuking hda1 is the partition):

sudo mount /dev/hda1 /mnt/hda1
sudo chroot /mnt/hda1
lilo

If you have mounted it already you can also do a remount and then reboot:

sudo mount -oremount,suid,dev /mnt/hda1

Please add it to www.knoppix.net/docs if there is no section for it, yet.

cu

Fabian
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.