Extended Brain Storage

FreeBSD: ACPI Shutdown

Posted on February 29, 2016

In order to shutdown a FreeBSD machine completely, i.e. without hitting the power button, it is necessary to...

Problem

Running the shutdown -h now command (to shut down the machine) results in the following message that remains glowing on the monitor:

The operating system has halted
Please press any key to reboot

Solution

It is necessary to use the following command instead:

# poweroff

which basically provides the same function as:

# shutdown -p now

Learnt the hard way and resolved with the kind help of the FreeBSD's Forums.


Note

It works (almost identically) on Linux-based machines as well (from the man pages):

$ man shutdown
...
       -H, --halt
           Halt the machine.

       -P, --poweroff
           Power-off the machine (the default).

       -r, --reboot
           Reboot the machine.

       -h
           Equivalent to --poweroff, unless --halt is specified.
...

Tags: #BSD #FreeBSD #OpenBSD #Arch Linux #shutdown #poweroff

⏴ Previous Post Next Post ⏵