[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: turning your computer off

Quoting Ed Cogburn (ecogburn@greene.xtn.net):
> jh wrote:
> > 
> > Is there a best way to shut down linux and turn off your computer? I read
> > in an online guide that you should press <ctrl><alt><delete>. When I do
> > this and I later turn my computer on it says "last boot failed"...Then it
> > installs. Is this the recommended way to turn off your computer?
> 	You can use shutdown as others have suggested, but frankly, the
> simplest thing to do is to use Ctrl-Alt-Del and wait untill the shutdown
> process is complete.  When you notice the hardware reset has occured
> (screen clears and shows BIOS message and/or your monitor cycles on, off
> and on again), then turn the machine off.  It only takes a few seconds
> of waiting.

I agree with Ctrl-Alt-Del being the simplest safe way, but there's
one other thing you may need to check on certain comuters.
Ctrl-Alt-Del by default performs a reboot, and usually you can just
switch off after the Rebooting ... message.

On some computers, however, the power switch won't work while the
computer is executing its self-tests etc. In this case you can do
one of three things, depending on circumstances.

a) Set a power-on password, and turn off at the prompt. (Other
boot prompts are usually just as useful.)

b) Change the line in /etc/inittab from
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -h now

c) The risky one: wait until the power switch works again while linux
is booting, but don't let it go too far. Obviously you're safe at least
until the root partition is checked. It's very tedious if you're
distracted and the system comes up again...


Email:  d.wright@open.ac.uk   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.

Reply to: