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.)

HP ProLiant MicroServer Gen8 G1610T @2.3 GHz, 16GB, 712317-001 NO HDD/OS
$199.00
Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset
$129.99
Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset
$129.99
$280.00
Windows Server 2022 | Intel 18-Core Xeon | 32GB ECC DDR4 | 256GB SSD + 3TB HDD
$799.00
SUPERMICRO CSE-836 XEON E5-1620 v3 @ 3.50GHz, 32GB RAM, NO HDD/OS
$299.99
Supermicro 2U X10DRU-i 2x E5-2680 v3 2.5ghz 32gb Ram 240gb SSD 2x GPU *READ*
$369.99
New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G
$449.99
Nasuni NF-50 Supermicro Server, Atom CPU C2558, @ 2.40GHz, 8GB RAM-No HDD/OS/AC
$187.50
Supermicro CSE-216 No CPU No Ram No HDD Tested & Reset
$149.99