Solved with while true; do grep -q GRUB_ENABLE_CRYPTODISK /target/etc/default/grub ; if [ -f /target/etc/default/grub -a "$?" != "0" ]; then echo GRUB_ENABLE_CRYPTODISK=y >> /target/etc/default/grub; echo added; fi; sleep 1s; done;
let's see if it boots! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1518293 Title: XPS13 9350 install failed cryptsetup lvm2 grub-install fails on /dev/nvme0n1 because CRYPTODISK is not enabled in /etc/default/grub To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1518293/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs