Re: turning your computer off
I have my machine set up so that ctrl-alt-end shuts down. Add the following lone to /etc/inittab (comment out any existing kb::kbrequest line): kb::kbrequest:shutdown -a -h now I think the default combination for kbrequest signal is alt-uparrow. To change this, you must modify /etc/kbd/default.map. The kbrequest signal is called KeyboardSignal here. Mine has the following: Keycode 107 = Select control alt keycode 107 = KeyboardSignal I probably had to remove a definition for alt-uparrow. See also: http://howto.linuxberg.com/LDP/HOWTO/Keyboard-and-Console-HOWTO.html#toc1 -Steve Stancliff Is there a best way to shut down linux and turn off your computer? I read in an online guide that you should press ctrlaltdelete. 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?
Re: turning your computer off
Quoting Ed Cogburn ([EMAIL PROTECTED]): 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 ctrlaltdelete. 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 to 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... Cheers, -- Email: [EMAIL PROTECTED] 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.
Re: turning your computer off
-BEGIN PGP SIGNED MESSAGE- On Sat, 16 Oct 1999, 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 ctrlaltdelete. 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? It says last boot failed because ctrl-alt-del is by default mapped to reboot, not shutdown. Since you shut the power off in the middle of the reboot, it interprets this as failure. There are several ways to enter the shutdown state. They have to be used as root, for obvious reasons. telinit 0 halt # May cause problems with older versions, man halt for info. shutdown -h now In any case, wait until the system tells you to power down. If you have APM supported and properly configured, it may shut itself down. And finally, if you have Magic SysRQ Key and APM support in your kernel, pressing SysRQ-S, waiting for Done, SysRQ-U, waiting for Done again, and SysRQ-O should do it too. This is Not Recommended. - -- finger for PGP public key. -BEGIN PGP SIGNATURE- Version: 2.6.3ia Charset: noconv iQCVAwUBOAkwib7M/9WKZLW5AQGVGgP/Vkni704aeTkgnuUn4YpDkYieZrUjcAtP gSf1Uu1cfXW68lFWj1J05v+ETLPrAegthex6FEKE6rbERYveUNouNDaTG0MOey+f S2PqVp6i3KImhPeZtMaVDbKR5+1GpZP3TxE3oHKdR0c/4GpqtBXYUKlgGYxASHMv FCPgQKU+DsY= =RdJZ -END PGP SIGNATURE-
RE: turning your computer off
On 17-Oct-99 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 ctrlaltdelete. 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? Jeff shutdown -h 0
Re: turning your computer off
Hi Jeff, I'm rather new also, but in order to use ctrlaltdelete you will have to enter that into some file or other. Instead try the command: shutdown. check out the man, but to use this command be sure to be root. So at the root prompt type: #shutdown -r now or: #shutdown -h now The -r is for reboot -h is to halt or shutoff the computer. There are more options in the manual, in fact if you want to use the three finger salute, that to is in the man. Have fun Dean 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 ctrlaltdelete. 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? Jeff -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: turning your computer off
-BEGIN PGP SIGNED MESSAGE- On Sat, 16 Oct 1999, Dean wrote: I'm rather new also, but in order to use ctrlaltdelete you will have to enter that into some file or other. This is properly set up by default on a Debian system to reboot. (Specifically, it executes /sbin/shutdown -t1 -r now. Some people (me included) add the -a option to this). The file is /etc/inittab, the line looks something like this: # What to do when CTRL-ALT-DEL is pressed. ca:12345:ctrlaltdel:/sbin/shutdown -t1 -r now - -- finger for PGP public key. -BEGIN PGP SIGNATURE- Version: 2.6.3ia Charset: noconv iQCVAwUBOAk8Rr7M/9WKZLW5AQGsVwQAg+NOT1MRyRXAbcOPlXFtRRKmJVl0H+em gYobMqdKPSfaRfWQNzUnguk3ALxswD2fXOnZon2K2Amam53fQQnYTeaEe73ska/K 6m04xSbkhG3Ix9+dOLOB39Xqj5FO0Q6zxUgz35w9mE3llnCYPngPw0ij/rvYH3qn h6LupVpCQ4I= =SyFV -END PGP SIGNATURE-
Re: turning your computer off
i usually do shutdown -h now to shut it down. and wait for the message from the kernel to power down. nate [mailto:[EMAIL PROTECTED] ]-- Linux System Administrator http://www.firetrail.com/ Firetrail Internet Services Limited http://www.aphroland.org/ Everett, WA 425-348-7336http://www.linuxpowered.net/ Powered By:http://comedy.aphroland.org/ Debian 2.1 Linux 2.0.36 SMPhttp://yahoo.aphroland.org/ -[mailto:[EMAIL PROTECTED] ]-- On Sat, 16 Oct 1999, 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 ctrlaltdelete. 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? Jeff -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: turning your computer off
:- jh == jh [EMAIL PROTECTED] writes: Is there a best way to shut down linux and turn off your computer? I read in an online guide that you should press ctrlaltdelete. 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? the correct command is shutdown -h now which is also available as halt If you have an ATX case and motherboard, shutdown -h -p now or the shorter poweroff also turns power down. You should have compiled your kernel with APM poweroff option for this to work. Pf -- --- Pierfrancesco Caci | mailto:[EMAIL PROTECTED] - http://gusp.infogroup.it ik5pvx| http://www.geocities.com/SoHo/Lofts/8999 Firenze - Italia | Office for the Complication of Otherwise Simple Affairs Linux penny 2.2.12 #1 Fri Oct 1 02:10:16 CEST 1999 i686 unknown
Re: turning your computer off
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 ctrlaltdelete. 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. -- Ed C.
Re: turning your computer off
Just typing halt works on slink. It seems to have all the correct aliases in now. - Original Message - From: jh [EMAIL PROTECTED] To: debian-user@lists.debian.org Sent: Sunday, 17 October 1999 2:51 Subject: turning your computer off Is there a best way to shut down linux and turn off your computer? I read in an online guide that you should press ctrlaltdelete. 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? Jeff -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: turning your computer off
If you have an ATX case and motherboard, shutdown -h -p now or the shorter poweroff also turns power down. You should have compiled your kernel with APM poweroff option for this to work. Note: If you are on a SMP machine, APM will break things badly. So don't use it then. --Ian Ehrenwald