-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
- -------- Forwarded Message --------
Subject: LVM/BTRFS on LUKS unreadable
Date: Mon, 17 Aug 2015 23:24:32 +0000
From: Autoboot <address@hidden>
To: address@hidden
Hello,
GRUB 2.02~beta2 as of commit afd0f21b2027310fda52b00ac1b964041d39a363
used as autoboot payload on a ThinkPad X201 here.
After setting up LVM on LUKS and writing random test files on the disk,
GRUB2 opens the disk but cannot read it's content at (crypto0).
Disk setup:
$ cryptsetup luksFormat /dev/sdb
$ cryptsetup open /dev/sdb test
$ pvcreate /dev/mapper/test
$ vgcreate test /dev/mapper/test
$ lvcreate test -L 50G -n root
$ mkfs.ext4 -L test_root /dev/mapper/test-root
$ mount /dev/mapper/test-root /mnt
$ dd if=/dev/urandom bs=1M count=20M of=/mnt/20M
GRUB Shell:
(all modules incl. lvm properly loaded)
$ cryptomount (ahci0)