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.)
USB Flash Drive Memory Thumb Photo Sticks For iPhone iPad 128/256/512GB 1TB 2TB
$25.33
512GB USB Flash Drive External Storage Memory Stick For iPhone iPad Android
$17.59
SanDisk 16GB Ultra USB 3.0 Flash Drive - SDCZ48-016G-U46
$6.25
SanDisk 32GB Ultra Dual Drive USB Type-C, USB 3.1 Flash Drive - SDDDC2-032G-G46
$10.99
New TESLA OEM Model S,3,X,Y USB Flash Drive for Dashcam & Sentry Mode 128GB
$18.99
Lenovo USB 16TB 3.0 USB Flash Drive Thumb Disk Silver Transfer Metal Memory
$24.99
Mechanical Style Flash Drive USB 3.0 High Speed 16TB Large Capacity Waterproof
$8.37
Sandisk 16GB 32GB 64GB 128GB Cruzer Blade Flash Drive Memory Stick USB Lot Pack
$4.99
USB Flash Drive Memory Stick Pendrive Thumb Drive 4GB, 8GB, 32GB, 64GB 128GB LOT
$249.37
1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot
$80.39