1

I wrote a start up script that goes to an infinite loop but I forgot to start the process as a separate thread (&). Because the script runs as a daemon, it also gets stuck when shutting down.

Now when the system boots/shutsdown, it gets stuck...I can't exit it using Ctrl + C.

I also can't boot to recovery mode because I changed the default timeout on the grub bootloader to 0 (it used to be 5 seconds which allowed me to select the recovery mode etc).

How do I fix this?

1
  • Grub2 should still look for SHIFT to bring up the boot menu even if the timeout is set to 0. Jan 2, 2012 at 19:33

1 Answer 1

0

Boot from a USB stick, or a CD and fix the bootscripts. You could also try other means of killing the process, like C-\.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .