Re: access to /dev/hda denied

Steffen Grunewald <[email protected]>
Newsgroups gmane.linux.debian.knoppix
Message-ID <[email protected]>
On Fri, Apr 30, 2004 at 10:19:03AM +0000, Elias wrote:
> 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?

Probably you would also want to use the original lilo.conf...
So you would have to mount the root (and /boot) partition onto /mnt
(or any other free mount point) and run lilo -r /mnt.
If that still fails, you would use chroot to work entirely on your
harddisk: chroot /mnt and then: lilo 


HTH, Steffen

-- 
Steffen Grunewald * * * Merlin cluster admin (http://pandora.aei.mpg.de)
Albert-Einstein-Institut (MPI Gravitationsphysik, http://www.aei.mpg.de)
       Science Park Golm, Am Mühlenberg 1, 14476 Potsdam, Germany
e-mail: steffen.grunewald(*)aei.mpg.de * +49-331-567-{fon:7233,fax:7298}
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.