pull the cd out and turn the power off
If you are running from CD and have no devices mounted, you can press Alt-F2 and enter
and the computer powers down within just a second.Code:sudo poweroff -f
IMHO, this is fully sufficient if running from CD.
Coming from Mac OS 9, I am not used to waiting when actually trying to shut down the computer. (The bootup time is also a problem. Hopefully Kernel 2.6 will allow for reliable Suspend-to-Disk...)
(Does anyone of the experts know whether the HDs get "synced" when using "poweroff -f"? If yes, one could possibly even use it with HD installs - but I don't recommend it.)
pull the cd out and turn the power off
Re: poweroff -f
This doesn't work on a hard disk install - I did: sync;sync;sync;poweroff -f
and it turned off real good, but then had to do fsck on the next boot.
init 0 works, but is slow.
It seems like there should be something in between - not as slow/thorough as "init 0", but which still unmounts the system disk before turning off.
I tried: mount -o remount,ro /dev/hdaX
but (predictably) this didn't work.
I simply type "halt" or "reboot" sans quotes in a console window and that does it for me on my hd install.
Or you could go through Init 0 and slim down the actions it takes, or even make it all symmetrical(in rc0.d).
My updated system shuts off pretty quickly, so I don't know how much success I can report, but I'll try on the laptop and see how it goes...
Well, I guess
root@lappy:~# init 0
is just a faster way to do shutdown(because it is quite a bit faster: does the kill everything right away instead of waiting.)
IBM System X3250 M3 Server 8GB RAM Intel Xeon x3440 2.53ghz (NO HDD)
$36.53
IBM Server Rack Cabinet 9308-RC4
$209.00
$5000.00
IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6Core 64GB RAM No HDD Server System
$359.99
COMPLETE IBM 9009 41A ISERIES POWER9 ENTRY LEVEL SERVER FULLY TESTED AND WORKING
$3550.00
IBM System x3550 M3 Dual Intel Xeon X5650 @2.67GHz 32GB RAM No HDD
$68.50
IBM SYSTEM x3200 M3 Tower- Intel i3 540 @ 3.07GHz, 4GB, 500GB HHD
$125.00
IBM IntelliStation 9114-275 4-Bay Server Power4+ Core 1.0ghz DVD-Rom 1GB No HDD
$699.99
IBM System p5 9131-52A 3.5" 4-Bay Server 80P6787 1 CPU 2GB 6 HD CADDIES TAPE BU
$250.00
IBM Server System X3100 M4 | Xeon @ 3.10 Ghz | 8GB | 250GB HDD No OS (IG-PC26)
$112.95