offset option not honored in scripts/local-top/cryptroot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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.
This makes the system unbootable.