I successfully installed 18.3 into a LUKS partition on the second disk (sdb) with these partitions (among others):
- sdb1 boot
- sdb4 LUKS
Code: Select all
$ mount /dev/mapper/vg-lvroot1 /mnt $ mount /dev/sdb1 /mnt/boot $ mount --bind /dev /mnt/dev $ mount --bind /dev/pts /mnt/dev/pts $ mount --bind /proc /mnt/proc $ mount --bind /sys /mnt/sys $ chroot /mnt $ echo "sdb4_crypt UUID=$(blkid -s UUID -o value /dev/sdb4) none luks" >/etc/crypttab $ update-initramfs -u $ grub-install /dev/sdb $ grub-install --recheck /dev/sdb $ update-grub
What did I do wrong? I have used this procedure many times on my first disk (I have another 18.3 install into a separate boot partition using a different LVM root partition inside LUKS, with no problem), but something seems to be wrong when I do this with my second disk.
Are sda and sdb getting switched when I select my second disk to boot from?
I should add that my intention is that eventually, once I have my 18.3 install properly configured, I will switch from 17.2 on my first disk to 18.3 on my second disk as my default distribution and perhaps remove the first disk from my system.