Page 1 of 1

Need help with GPT+UEFI boot

Posted: 1. Jun 2016, 14:50
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

Re: Need help with GPT+UEFI boot

Posted: 1. Jun 2016, 15:13
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.