DiagonalArg
May 9th, 2014, 05:46 AM
Hey all - I prepared my disk & did an install of 14.04, but it fails on reboot @busybox. I tried repairs using chroot, but that fails at grub-probe. I'd be grateful for help on either step.
First, I prepared the disk and installed:
Two logical volumes: boot & crypt. The latter is used for LUKS
crypt, unlocked, contains a different volume group with two logical volumes: swap & root.
Installed using ext4 for boot and btrfs for root.
On reboot, at busybox I found cryptsetup didn't even exist in the initramfs. Looking at things with the live-USB, there wasn't a crypttab. So, I did a chroot into the failing system, created a crypttab, and tried to do:
update-grub
update-initramfs
but update-grub returns a lot of:
File descriptor 4 ... leaked on vgs invocation ... /usr/sbin/grub-probe
followed by:
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map
Here, /dev/sdb is my USB stick. Hmmm.... I'm finding intimations on the web that some of this stuff is related to problems with putting Grub into a logical volume (https://bugs.archlinux.org/task/36349) (but Grub is new enough so that shouldn't be an issue). There are maybe also obscure problems with grub-probe finding the root device (http://edoceo.com/notabene/grub-probe-error-cannot-find-device-for-root).
Questions:
How can I get the installer to recognized that it's installing into an unlocked encrypted disk?
What is going on with grub-probe, and how do I fix it?
Thx/
First, I prepared the disk and installed:
Two logical volumes: boot & crypt. The latter is used for LUKS
crypt, unlocked, contains a different volume group with two logical volumes: swap & root.
Installed using ext4 for boot and btrfs for root.
On reboot, at busybox I found cryptsetup didn't even exist in the initramfs. Looking at things with the live-USB, there wasn't a crypttab. So, I did a chroot into the failing system, created a crypttab, and tried to do:
update-grub
update-initramfs
but update-grub returns a lot of:
File descriptor 4 ... leaked on vgs invocation ... /usr/sbin/grub-probe
followed by:
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map
Here, /dev/sdb is my USB stick. Hmmm.... I'm finding intimations on the web that some of this stuff is related to problems with putting Grub into a logical volume (https://bugs.archlinux.org/task/36349) (but Grub is new enough so that shouldn't be an issue). There are maybe also obscure problems with grub-probe finding the root device (http://edoceo.com/notabene/grub-probe-error-cannot-find-device-for-root).
Questions:
How can I get the installer to recognized that it's installing into an unlocked encrypted disk?
What is going on with grub-probe, and how do I fix it?
Thx/