I'm trying to figure out how to perform a shutdown on a Red Hat Linux 5.3 box where the machine will not power down at the end of the shutdown procedure. (Doing this allows me to cut power to the box and then get it to auto-boot once power has been restored.)

Any suggestions?

shutdown -H now
  • Congrats on the 10K and the triple laurel wreath. – Paused until further notice. Oct 22 '10 at 1:46
  • @Dennis: Thanks. We'll see if it sticks around though (the question I broke 10k on was moved). – Ignacio Vazquez-Abrams Oct 22 '10 at 1:53
  • So it's "safe" to power-off the system when it is in single user mode? – Nate Oct 22 '10 at 11:47
  • If this brings the system into single-user mode then the documentation is wrong. – Ignacio Vazquez-Abrams Oct 22 '10 at 14:04
  • My mistake. I saw a command prompt and assumed it was single-user mode. – Nate Oct 22 '10 at 14:49

I've had some mild success thanks to studying the /etc/rc.d/init.d/halt script, creating a /halt file. But the /halt file seems to get deleted upon booting.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.