Relevant line from UbiquitSyslog.txt:
Nov  9 05:12:46 ubuntu ubiquity: grub-install: error: attempt to install to 
encrypted disk without cryptodisk enabled. Set `GRUB_ENABLE_CRYPTODISK=1' in 
file `/etc/default/grub'..

I had a LUKS partition opened and had set up LVM lvs inside it. After
fixing GRUB manually, the system still wouldn't boot. Ubiquity didn't
create an /etc/crypttab so the system wasn't bootable. After creating a
crypttab, I had to rebuild the initramfses. The whole encrypted root
thing is underdocumented and pretty hard to get right.

In addition, it was happy to install without a /boot partition selected,
but grub-install won't work that way with an encrypted root.

** Package changed: grub-installer (Ubuntu) => ubiquity (Ubuntu)

** Summary changed:

- installer fails to install grub on uefi system
+ installer fails to install grub with encrypted root fs

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1514303

Title:
  installer fails to install grub with encrypted root fs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1514303/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to