#566497 install: Please support reusing existing crypt-lvm partitions

#566497#5
Date:
2010-01-23 15:58:20 UTC
From:
To:
Please support reusing existing encrypted LVM partitions. User may wish
to keep her old encrypted LVM partitions and maybe only overwrite some
of the partitions. Currently this does not seem to be possible and user
needs to backup all her data to some other disk before reinstalling
encrypted Debian system.

#566497#12
Date:
2010-08-28 22:37:19 UTC
From:
To:
I second this wish. I'm triple-booting Debian Lenny(13G), Debian
Squeeze(13G) and Ubuntu Karmic(20G),
all on the same encrypted LVM.

I currently use Qemu to create install to a Qemu image file from which I
copy the install logical
volume, but I have to use a different LVM volume name to access them at
the same time as my "real"
LVM volume.

Figuring out which files to change to create an initrd.img that decrypts
the real volume with the
real LVM group name is proving difficult, and currently the initrd.img
created by the resulting
real partition is producing invalid images.

#566497#17
Date:
2011-04-16 01:46:44 UTC
From:
To:
many thanks for debian-installer!

i wanted to set up multiple version of debian on an existing LVM volume group
on an existing encrypted partition, but unfortunately debian-installer didn't
seem to support re-using an already existing encrypted partition.

maybe i could manually fiddle around and make sure the encrypted volume and LVM
volume group was activated before the disk partitioning kicks in, but i
couldn't figure that out.

i could manually install with debootstrap and such, but that's no fun.

live well,
  vagrant

#566497#22
Date:
2011-04-16 06:05:48 UTC
From:
To:
reassign 566497 partman-crypto
forcemerge 566497 451535
thanks


Quoting Vagrant Cascadian (vagrant@debian.org):

Well, it's an often asked feature. What we need....is someone digging
up in partman-crypto and implementing this..:-)

Reassigning this bug report ((even of old) to partman-crypto and
merging. Please note that #451535 points to a method which has been
reported to be working.