VirtualBox

Ticket #19386 (new defect)

Opened 3 months ago

FileVault

Reported by: Jack_Smith Owned by:
Component: EFI Version: VirtualBox 6.1.4
Keywords: FileVault Cc:
Guest type: other Host type: Mac OS X

Description

VirtualBox successfully boots macOS Sierra, High Sierra, Mojave, or Catalina, and these operating systems allow encrypting volumes with FileVault2. Attempting to boot a FileVault2-encrypted volume in VirtualBox 6.1.4 or lower results in several boot errors, most importantly **** ERROR _LoginUIInitializedGraphics Can't install updated AppleEvent protocol. The FileVault login UI will not load, probably because macOS cannot find or use the VirtualBox EFI implementation of the UEFI Graphics Output Protocol.

An open-source (BSD 3-clause license) implementation of this graphics protocol is available through the  OpenCore ConsoleGop.c source file.

The FileVault2 prompt can be successfully loaded by loading OpenCore through the EFI Internal Shell, and macOS boots normally when the correct password is provided.

Maybe this protocol can be implemented in VirtualBox so FileVault could work without the OpenCore bootloader.

Log files are not attached because the error doesn't show up in the log, only the normal VM startup and shutdown procedures.


Steps to reproduce:

  • Install any version of macOS Sierra, High Sierra, Mojave, or Catalina (and probably other versions that use FileVault2)
  • Encrypt the system volume with FileVault2 (called simply FileFault in System Preferences).
  • Reboot. The macOS kernel will not be able to load the FileVault password prompt.

Workaround:

  • Load OpenCore.efi through the EFI Internal Shell with ProvideConsoleGop set to true. The password prompt will be displayed and the FileVault volume can be decrypted, continuing normal boot.
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use