VirtualBox

Opened 2 years ago

Closed 16 months ago

#21278 closed defect (obsolete)

UEFI Linux guest fails to boot in VB 7

Reported by: mauricev1 Owned by:
Component: EFI Version: VirtualBox-7.0.2
Keywords: Cc:
Guest type: Linux Host type: other

Description

I upgraded to VB 7 on Monterey 12.6 and it fails to boot a Linux-based guest in UEFI mode. Log attached.

Attachments (1)

Logs.zip (97.7 KB ) - added by mauricev1 2 years ago.
logs of booting Linux under UEFI with a Mac Monterey host

Download all attachments as: .zip

Change History (8)

by mauricev1, 2 years ago

Attachment: Logs.zip added

logs of booting Linux under UEFI with a Mac Monterey host

comment:1 by aeichner, 2 years ago

What does not boot mean in that context, do you drop to the EFI shell or do you get another error? I can't reproduce this locally with a Mint Linux guest which has UEFI enabled but you seem to use Gentoo.

comment:2 by mauricev1, 22 months ago

Yes, I am using Gentoo. I see some UEFI entries on the display that is normal with the boot and then it just hangs, just when it would be handing off control to the kernel. 7.0.6 is also afflicted.

comment:3 by mauricev1, 22 months ago

6.1.x works nicely here, so you clearly introduced a bug in 7.

comment:4 by aeichner, 22 months ago

It is not that easy unfortunately. With 7 we rely on the Hypervisor framework Apple provides and removed the KEXTs, so it could be a bug in their hypervisor as well. You don't happen to have a Ventura host to try with? I don't have Monterey here at the moment. Or can you somehow create a minimal reproduction VM you could share? The version of the bootloader/kernel used could make a difference and with gentoo it is even worse because many people compile the binaries from source code with different optimization flags.

comment:5 by mauricev1, 22 months ago

I have just migrated to 13.2 and can confirm the bug is still present. 7.0.6 does not work with UEFI on Mac hosts.

comment:6 by aeichner, 22 months ago

It does work here, so your guest setup must be special in a certain way. We need to find what is different on your end. When it hangs please execute the following command in a terminal, we may be lucky and it can give us some more insight in where it is hanging:

VBoxManage debugvm <uuid|vmname> guestsample --filename=<path/to/result> --sample-interval-us=1000 --sample-time-us=10000000

comment:7 by aeichner, 16 months ago

Resolution: obsolete
Status: newclosed

No response in over half a year, closing.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette