[Bug 247474] `shutdown -p now` fails to power off with VirtualBox UEFI boot
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 20 Jul 2026 01:21:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247474
Igor <Igor.Gusarov@kaspersky.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Igor.Gusarov@kaspersky.com
--- Comment #3 from Igor <Igor.Gusarov@kaspersky.com> ---
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.