offset option not honored in scripts/local-top/cryptroot

Bug #382496 reported by Robstarusa
6
This bug affects 1 person
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.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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.