[Bug 1665329] [NEW] Installer fails to create startup.nsh for EFI system on VirtualBox

Launchpad Bug Tracker 1665329 at bugs.launchpad.net
Tue Feb 28 14:06:49 UTC 2017


You have been subscribed to a public bug:

Summary:

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 >
Motherboard.

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
installation".

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.

Workaround:

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:
\EFI\ubuntu\grubx64.efi

2. Reboot the virtual machine. It will boot into Ubuntu.

Proposed solution:

1. The Ubuntu installer should create the startup.nsh file when creating
the EFI partition.

Further information:

• Tested on VirtualBox 5.1.14
• Tested with both Ubuntu 16.04.1 64-bit and Lubuntu 16.04.1 64-bit

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: bot-comment efi installer uefi xenial yakkety
-- 
Installer fails to create startup.nsh for EFI system on VirtualBox
https://bugs.launchpad.net/bugs/1665329
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to grub2 in Ubuntu.



More information about the foundations-bugs mailing list