-
Notifications
You must be signed in to change notification settings - Fork 73
Description
Version
trunk/main
Host OS Type
all
Host Architecture
x86
Guest OS Type
macOS
Guest Architecture
x86
Component
Other
What happened?
The default boot args for a macOS VM are incorrect. They can be found in VBoxAppleSim.c and are set to usb=0x800 keepsyms=1 -v -serial=0x1.
The -serial=0x1 part should be set to serial=0x1 to be properly parsed by the macOS kernel and enable logging over serial by default.
Note that a comment a few lines above has it right, while another one has it wrong.
How can we reproduce this?
I am working with a macOS installer at the moment but assume this can be reproduced similarly with a macOS VM if this is what you have at hand.
Enable serial port 1, set it to COM1, capture to a raw file. Boot the VM, check the serial log file, you should see EFI related stuff at best, but nothing regarding the macOS kernel. Halt the VM.
The default settings can be overriden with VBoxManage setextradata $VMNAME VBoxInternal2/EfiBootArgs "usb=0x800 keepsyms=1 -v serial=0x1".
Reboot the VM, check the logs which should now also fill up with macOS kernel related information.
Please turn the workaround into a permanent fix.
Did you upload all of your necessary log files, screenshots, etc.?
- Yes, I've uploaded all pertinent files to this issue.