Comment 12 for bug 428435

Revision history for this message
Martin Pitt (pitti) wrote : Re: external harddrive (luks encrypted) will not mount automatically

buzz, thanks!

Would it be possible for you to get an image of the first 100 kB of data of this partition? This will contain your encrypted LUKS password and possibly some remainders of file system metadata from the old ext4, so please don't do it if you have potentially sensitive data there. I won't be able to decrypt it, of course, but I'm interested in putting the image on an USB stick and see if I can reproduce the problem, so that blkid can be fixed properly.

  sudo dd if=/dev/sdb1 of=/tmp/ext4-luks.img bs=1K count=100

(It might not actually be /dev/sdb1 if you have other USB drives attached, though).

Alternatively, if you have a proposed patch for blkid, that's appreciated as well, of course. :-)