Public bug reported:
When installing Ubuntu using LUKS & LVM onto a VirtualBox system, it
creates a non-bootable system because it fails to create the file
startup.nsh on the EFI partition.
How to duplicate:
1. Create a new virtual machine on VirtualBox with a sufficiently large
disk drive. Ensure that "Enable EFI" is ticked in Settings > System >
2. Run the Ubuntu installer from a Live CD. Chose the default "Erase
disk and install Ubuntu". Also tick "Encrypt the new Ubuntu installation
for security", which automatically selects "Use LVM with the new Ubuntu
3. Allow the installation to finish.
What should happen:
1. On rebooting the virtual machine, it should boot into Ubuntu.
What does happen:
1. On rebooting the virtual machine, it boots into the UEFI Interactive
Shell and cannot proceed.
1. Create a file named startup.nsh on the FS0: drive (either using the UEFI
Interactive Shell or by booting into the Live CD). The file should contain the
following single line:
2. Reboot the virtual machine. It will boot into Ubuntu.
1. The Ubuntu installer should create the startup.nsh file when creating
the EFI partition.
• Tested on VirtualBox 5.1.14
• Tested with both Ubuntu 16.04.1 64-bit and Lubuntu 16.04.1 64-bit
** Affects: ubuntu
** Tags: bot-comment efi installer uefi
** Attachment added: "Screenshot of the UEFI Interactive Shell where
startup.nsh is missing"
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Installer fails to create startup.nsh for EFI system on VirtualBox
To manage notifications about this bug go to:
ubuntu-bugs mailing list