You are not logged in.
Pages: 1
Hi, I modified the file rc.local (i put "shutdown -h +30" because i need the pc for only 30 min every day) and now the system can't boot... How can i modify the file rc.local? Thanks...
Offline
use a live cd
Offline
I tried but i've not the right to modify the file...
Offline
if i understand correctly you don't have correct permissions? please elaborate
Offline
Yes!! Sorry for my english... I don't have correct permissions to modify the file rc.local...
Offline
Yes!! Sorry for my english... I don't have correct permissions to modify the file rc.local...
From the live cd? Make sure the filesystem is mounted rw then and use root if necessary.
Offline
If you use grub tap e to edit the kernel line, and append " 1"
e.g.
kernel /boot/vmlinuz26 root=/dev/hda1 ro vga=791
to
kernel /boot/vmlinuz26 root=/dev/hda1 ro vga=791 1
tap b to boot, then give the root password and just mv /etc/local somewhere else (or edit it with vi, nano, mcedit) and continue
mv /etc/rc.local /etc/rc.localKEEP
init 5Last edited by vacant (2007-06-27 10:52:02)
Offline
Thank you!!! With the grub solution now it's all OK...
:):)
Offline
Pages: 1