[Bug 382496] [NEW] offset option not honored in scripts/local-top/cryptroot

Robstarusa rob at naseca.net
Mon Jun 1 17:50:10 UTC 2009


Public bug reported:

Hello,

I recently went to move my lvm2 (/ & swap) to an SSD (sda)

After creating a normal ext3 /boot and then creating (with cryptsetup)
an encrypted /dev/sda2, I proceeded to create lvm2 with volume group
'vtx' volume names 'slash' and 'swap'.

I then dd'ed my old / to the new slash and the old swap to the new swap.
No issues.

After rebooting, when jaunty asks for the password for the encrypted
partition, it does not accept it.

I created the crypted partition with an offset of 2048 (1MB) to be
inside a multiple of the block erase size of my SSD.

Upon taking the initrd.img-2.6.28-11-generic apart that I created, there
is nothing in the scripts/local-top/cryptroot to accept the offset
parameter that I created the crypted partition with!

This makes the system unbootable.

** Affects: initramfs-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
offset option not honored in scripts/local-top/cryptroot 
https://bugs.launchpad.net/bugs/382496
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to initramfs-tools in ubuntu.




More information about the kernel-bugs mailing list