PDA

View Full Version : etc/lilo.conf: Permission denied



kynn
10-18-2005, 10:24 AM
I'm trying to access a damaged lilo.conf. I started the machine with my Knoppix CD, but when I attempted to access lilo.conf I got a "permission denied" message. The file is owned by root (which I'm not, at the moment) and has permissions -rw-r-----. I have the root password for this machine, but I don't see how to use it to gain access to lilo.conf.

Any suggestions would be much appreciated.

kj

Markus
10-18-2005, 11:51 AM
sudo su to become root
mount -a to mount everything rw, check with mount. You can also remount to writable with for example:
sudo mount -o remount,rw /dev/hdXn /mnt/hdXn