[Bug 1665329] Re: Installer fails to create startup.nsh for EFI system on VirtualBox
Phillip Susi
psusi at ubuntu.com
Mon May 22 13:26:35 UTC 2017
That is not related to this bug report Djordje.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1665329
Title:
Installer fails to create startup.nsh for EFI system on VirtualBox
Status in grub2 package in Ubuntu:
Confirmed
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1665329/+subscriptions
More information about the foundations-bugs
mailing list