Network booting in uefi mode

Discussions related to using VirtualBox on Linux hosts.
Locked
Jedi
Posts: 16
Joined: 21. Oct 2017, 23:34

Network booting in uefi mode

Post by Jedi »

I am running Zorin 12.4 host and Ubuntu 18-04 guest.

I have set Zorin up to network boot in UEFI mode with the ipxe.efi boot loader. Now I am wanting to do the same with the VM.

I have set Network as the first boot option under Settings --> System but I am getting the error “NBP is too big to fit in free base memory”.

I have been told this error is caused by sending the wrong boot loader based on the target hardware. Meaning if the target computer is running in Legacy BIOS mode and it is sent the ipxe.efi boot loader (rather than undionly.kpxe for Legacy BIOS) you will see that error.

So my problem, as I understand it, is that Ubuntu is booting in Legacy Bios mode. The solution, presumably, is to get the VM booting in UEFI mode but I do not know how to achieve this.

Can it be done?
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Network booting in uefi mode

Post by socratis »

Jedi wrote:Can it be done?
If I remember correctly, no, the EFI-boot from PXE isn't there yet...

See for example: Add UEFI PXE boot possbility and many, many more, if you had simply searched for it...

Nice invention that "search" thing, underutilized unfortunately... :?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Jedi
Posts: 16
Joined: 21. Oct 2017, 23:34

Re: Network booting in uefi mode

Post by Jedi »

I searched 'network boot' and 'UEFI boot' before posting.

search.php?keywords=network+boot&fid%5B0%5D=6

search.php?keywords=UEFI+boot&fid%5B0%5D=6

Neither search produced relevant results.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Network booting in uefi mode

Post by socratis »

Oh, I see what you did there, you used the "Search" within the forums. Unfortunately the phpBB search doesn't work that well, don't use it. Instead use your favorite search engine, but simply add the "site:forums.virtualbox.org" at the end of it, something like:
https://www.google.com/search?q=EFI+PXE ... ualbox.org
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Wind Li
Posts: 1
Joined: 12. Oct 2020, 16:45

Re: Network booting in uefi mode

Post by Wind Li »

FYI, I can not found a solution so I create one. Just search virtualbox-efi-netboot in github.
Locked