0

I tried if this works on my friends computer and you know what happened. Please help me fix the computer executing "init 0" as root on startup.. Help me fix this and retrieve my OS back... intact... as it was!

1 Answers1

1

You should enter in recovery mode. Start the machine and when the BIOS passes press (hold) SHIFT. (Once the Ubuntu logo appears you have missed it. Do it again.) When Grub appears select "Advanced Options" and then select the line where you see something like "recovery mode". After while few options will appear. Select "Drop to root shell prompt". Partition will be mounted in "read" state. Write

mount -o remount,rw /

into the shell to remount it in "read-write" mode. You can change the /etc/rc.local back to level 2 with some Terminal editor (nano?). Be carefull in recovery mode not to make more damage! If you need to mount the home partition write

mount --all

after remounting the root partition.

Booting into recovery mode reference