FreeBSD EFI guests 6.1.26 will not install

Discussions related to using VirtualBox on Windows hosts.
Post Reply
adwsklerjuihgweiop
Posts: 5
Joined: 19. Dec 2021, 03:05

FreeBSD EFI guests 6.1.26 will not install

Post by adwsklerjuihgweiop »

VirtualBox 6.1.x no longer works with FreeBSD's EFI (boot code). 6.0.x works fine.
I'm running into the same problem.
But I don't know what sort of magic is needed to make it work again with the new VB versions.
adwsklerjuihgweiop
Posts: 5
Joined: 19. Dec 2021, 03:05

EFI boot difference between 6.0 and 6.1

Post by adwsklerjuihgweiop »

Hi there,
I've noticed that 6.1 no longer boots my EFI-enabled VM images. They just go straight to network boot (even if I disabled network booting in the VM settings).
VirtualBox 6.0.24 is the last version that works.

Changelog for 6.1 says there is a new EFI impl.
Any ideas what has changed that might affect whether any particular partition is bootable or not?
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: EFI boot difference between 6.0 and 6.1

Post by scottgus1 »

I merged your two posts to avoid splitting the support we'll try to give.

Unfortunately I don't know enough about Virtualbox EFI to answer questions about changes in it.

Since an upgrade to 6.1.something stops the VMs from booting, does downgrading to 6.0.previous let them start booting again?
adwsklerjuihgweiop
Posts: 5
Joined: 19. Dec 2021, 03:05

Re: FreeBSD EFI guests 6.1.26 will not install

Post by adwsklerjuihgweiop »

Downgrading to 6.0.24 makes my images boot again, yes.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: FreeBSD EFI guests 6.1.26 will not install

Post by scottgus1 »

OK, thanks. This sounds like a good item for the Bugtracker. Post a log from 6.0 where the VM boots, then 6.1 where the VM does not boot.

Also, can you make a new FreeBSD EFI VM on 6.1 and can it boot?
adwsklerjuihgweiop
Posts: 5
Joined: 19. Dec 2021, 03:05

Re: FreeBSD EFI guests 6.1.26 will not install

Post by adwsklerjuihgweiop »

scottgus1 wrote:Also, can you make a new FreeBSD EFI VM on 6.1 and can it boot?
Not sure I follow...
The EFI-enabled image has both legacy BIOS boot bits and EFI. The BIOS bootcode still works in 6.1, so the image itself is fine, I think.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: FreeBSD EFI guests 6.1.26 will not install

Post by scottgus1 »

If the new EFI VM installs and run on 6.1 then it shows Virtualbox is working and the problem lies inside the old VM's OS. It's a troubleshooting step: pin down where the problem lies.
adwsklerjuihgweiop
Posts: 5
Joined: 19. Dec 2021, 03:05

Re: FreeBSD EFI guests 6.1.26 will not install

Post by adwsklerjuihgweiop »

scottgus1 wrote:OK, thanks. This sounds like a good item for the Bugtracker. Post a log from 6.0 where the VM boots, then 6.1 where the VM does not boot.
https://www.virtualbox.org/ticket/20743
fth0
Volunteer
Posts: 5690
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: FreeBSD EFI guests 6.1.26 will not install

Post by fth0 »

As you already know, VirtualBox 6.0 and 6.1 provide different (U)EFI implementations. Especially the virtual NVRAM used to store (U)EFI variables was implemented completely different, and AFAIK, there is no converter available.

I believe (but I'm not sure) that you have to manually configure the VirtualBox (U)EFI variables necessary to boot into the guest OS, to be able to set further (U)EFI variables from within the guest OS.
Post Reply