Need help with GPT+UEFI boot

Discussions about using Linux guests in VirtualBox.
Post Reply
davidshen84
Posts: 12
Joined: 28. Dec 2009, 12:59
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: gentoo amd64

Need help with GPT+UEFI boot

Post by davidshen84 »

Hi,

I managed installing my guest Linux in the VM. But I found the entry added by "efibootmgr" will not persist over reboot. Currently, this is what I am seeing:

Code: Select all

BootCurrent: 0002
BootOrder: 0000,0001,0002
Boot0000* EFI DVD/CDROM PciRoot(0x0)/Pci(0x1f,0x1)/Ata(1,0,0)
Boot0001* EFI Hard Drive        PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0,0,0)
Boot0002* EFI Internal Shell    MemoryMapped(11,0x2fc4f000,0x2ffbefff)/FvFile(7c04a583-9e3e-4f1c-ad65-e05268d0b4d1)
I think if I can put boot entry into the place where "0001" points to, I don't need to boot with the shell every time. I have tried to add a "ef02" partition at the front of my disk, but it does not solve the problem.

Any suggestions/guide?

Thanks,
David
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Need help with GPT+UEFI boot

Post by Perryg »

You really don't need EFI in a guest other than MAC but if you really want to use it you need to create a startup.nsh file in the boot partition. This file is usually created when you actually install the guest and not just run it from a live CD if everything is properly done that is.
Post Reply