grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: LVM/BTRFS on LUKS unreadable


From: Andrei Borzenkov
Subject: Re: Fwd: LVM/BTRFS on LUKS unreadable
Date: Sun, 13 Sep 2015 20:15:42 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0

26.08.2015 20:39, Klemens Nanni пишет:
-----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)

I pushed fix that properly strips parenthesis from device name. Otherwise use

cryptomount ahci0

it works.

Thank you for report!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]