Peculiarity installing LM18 in Vbox+EFI

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
MikeF90000
Level 2
Level 2
Posts: 94
Joined: Sun Jan 08, 2012 7:54 pm
Location: Southern California, USA

Peculiarity installing LM18 in Vbox+EFI

Post by MikeF90000 » Sun Jun 17, 2018 9:31 pm

I've never had issues installing LM in Virtualbox 5.1.34 in the default 'BIOS' mode on a virtual disk with a DOS partition table.

I decided to familiarize myself with EFI installs, so I set up a VM in EFI mode with a GPT virtual disk.
Installation proceeded with no issues, but upon reboot I got the EFI shell:
Image

Anyone else had this happen, and what might be the cause?
TIA, Mike
Use the Panels, Luke! (not just the Whisker Menu)
XFCE and Linux Mint 19 LTS - stable, easily configurable goodness.

User avatar
catweazel
Level 17
Level 17
Posts: 7113
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Peculiarity installing LM18 in Vbox+EFI

Post by catweazel » Mon Jun 18, 2018 3:19 am

MikeF90000 wrote:
Sun Jun 17, 2018 9:31 pm
Virtualbox 5.1.34
Download and install a newer version from Oracle, including the extension pack.
¡uʍop ǝpısdn sı buıɥʇʎɹǝʌǝ os ɐıןɐɹʇsnɐ ɯoɹɟ ɯ,ı

fabien85
Level 6
Level 6
Posts: 1345
Joined: Tue Mar 11, 2014 4:30 pm

Re: Peculiarity installing LM18 in Vbox+EFI

Post by fabien85 » Tue Jun 19, 2018 6:48 am

Well if you *really* want to learn EFI, you could start mastering the EFI shell. (however it's 99% sure you will never need this knowledge in any practical situation)

A list of EFI shell commands is given here and there, and you can get more details from the shell with help command, with the -b option being usefull to limit the output to one screen at once, e.g. help bcfg -b
From the shell you can see what's the content of the NVRAM. e.g. to see the stored boot entries :

Code: Select all

bcfg boot dump
fs0 is the EFI partition. If the Mint installed went well, the bootloader is installed there at EFI/ubuntu/grubx64.efi
So you can launch grub from the shell with the following commands

Code: Select all

fs0:
cd EFI/ubuntu
grubx64.efi
In fact you could even directly boot the kernel, if it was on a partition readable by the EFI shell. That's not what happens on a default Mint install, but it's possible if you put the kernel (and initrd image etc) on a fat32 partition, or if you attach an EFI driver for the linux filesystem (typically ext4), which is e.g. what refind is doing.

Post Reply

Return to “Installation & Boot”