[Bug 247474] `shutdown -p now` fails to power off with VirtualBox UEFI boot

[email protected] Mon, 20 Jul 2026 01:21:52 +0000
Newsgroups gmane.os.freebsd.bugs
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247474

Igor <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Igor <[email protected]> ---
That solution has just worked for me: FreeBSD 15.1, VirtualBox 6.1.38 Win7 x64. 

The goal is to set the kernel configuration parameter "hw.efi.poweroff" to zero
before the shutdown.

First try the manual approach with `sysctl` utility, as root: 

# sysctl hw.efi.poweroff=0
# shutdown -p now

If it worked, then create a loader configuration file named
"/boot/loader.conf.d/efi_poweroff.conf" with a single line:

hw.efi.poweroff="0"

-- 
You are receiving this mail because:
You are the assignee for the bug.