I made a bone-headed mistake in one of my init.d scripts which gets stuck in an infinite loop during the boot process and blocks the completion. I therefore can not get to a shell and fix it. How can I boot and not perform all the boot scripts? I have root if necessary.
Linux – On RHEL 5.6 I have an init.d script which is stuck in an infinite loop. How to boot without loading it
bootinit.dlinux
Related Topic
- Linux – How to find error messages from Linux init.d/rc.d scripts
- Linux – debian boot to recovery mode
- Linux – Running multiple background Java processes on Linux
- Linux – Can’t start Hadoop from an init.d script
- Redhat – Running arbitrary program as daemon from init script
- Debian Init.d – Best Practices for Keeping Processes Alive
Best Answer
Passing
1
on the kernel line in the bootloader should start it in single user mode, which should not start the initscript unless it is severely broken. If booting into single mode does not work then you will need to get the install disc and boot into rescue mode using it.