Public bug reported: 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: ubuntu Importance: Undecided Status: New ** Tags: bot-comment efi installer uefi ** Attachment added: "Screenshot of the UEFI Interactive Shell where startup.nsh is missing" https://bugs.launchpad.net/bugs/1665329/+attachment/4820123/+files/VirtualBox%20LUKS%20%26%20LVM%20installation%20error.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1665329 Title: Installer fails to create startup.nsh for EFI system on VirtualBox To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1665329/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs