[pkg-cryptsetup-devel] Bug#664463: More Info

Harald Dunkel harri at afaics.de
Fri Jun 8 17:47:35 UTC 2012


Sorry to say, but the virtual disk of the bug report doesn't exist
anymore, so I had to reproduce the bug. This gives us new UUIDs.

See attachment. The screenshot shows /dev/disk/by-uuid and blkid
before the initrd is created. Please note that all the /dev/mapper/*
entries cannot be found in /dev/disk/by-uuid .

udev is version 175-3.1


Here is more information about the disk layout and the install
procedure:

/dev/vda is the target block device. /dev/vda1 is supposed to
become the unencrypted /boot partition holding kernel and initrd,
/dev/vda2 the encrypted block device for LVM.

/dev/vdb is the USB stick used to boot the PC for running
the install script. /dev/vdb1 is just a FreeDOS file system
(not important here). /dev/vdb2 is the live filesystem to be
cloned at run time to the target block device. This is Wheezy.

/dev/mapper/pv00 is the physical volume created on the encrypted
block device.

"vg00" is the volume group to access pv00.

/dev/mapper/vg00-* are logical volumes to install Linux, to
provide swap and user disk space.

After initializing /dev/mapper/vg00-root is mounted to /mnt, and
/dev/vda1 is mounted to /mnt/boot.  The running Linux is cloned
from / to /mnt using

	rsync -SHax --exclude lost+found /. /mnt/.

After that /dev, /dev/pts, proc and /sys are mounted (using --bind)
from / to /mnt, and mkinitramfs is called in a chroot /mnt.


As written before, this script works fine in Squeeze, but not in
Wheezy.


Hope this helps. Please mail

Harri

-------------- next part --------------
A non-text attachment was scrubbed...
Name: console2.png
Type: image/png
Size: 9897 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20120608/70464d5b/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20120608/70464d5b/attachment.pgp>


More information about the pkg-cryptsetup-devel mailing list