Switch on permanent NVRAM to fix UEFI boot
|Reported by:||paddor||Owned by:|
|Guest type:||Linux||Host type:||Mac OS X|
According to changeset https://www.virtualbox.org/changeset/43256/vbox, the switch for permanent NVRAM save is turned off by default. This breaks UEFI boots which store the location of the OS loader in the NVRAM.
IMHO, it should be persisted by default. It's called non-volatile after all.
If turning it on by default is a problem, a switch in the configuration of the VM would do the job, too.
I just installed a Linux (Funtoo) in the VM, using a VFAT partition as /boot. It was only able to boot after rebooting from within the live CD (or system booted using the kernel from the live CD), but was unable to boot after a complete shutdown (since that clears the NVRAM, apparently).
My current workaround is to provide a startup.nsh (created with the
edit command within the EFI shell) which points directly to the OS loader within the ESP, which is fs0:\EFI\FuntooLinux\grubx64.efi in my case.