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)
Change History (8)
by , 2 years ago
comment:1 by , 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 , 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:4 by , 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 , 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 , 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 , 16 months ago
Resolution: | → obsolete |
---|---|
Status: | new → closed |
No response in over half a year, closing.
logs of booting Linux under UEFI with a Mac Monterey host