Encrypted Volume on partition x and Later Deletion?

During the installation process (of Debian Etch 4.0r3 amd64), one is given the option of creating encrypted volumes. If I created a 4th partition on the disk and set it to be an encrypted volume, after installation can I delete (ie remove) that partition? When the partition is being created (during installation), there is a statement that is displayed that states (and I paraphrase) that no further changes can be made to the partition after configuration of the encrypted volume is completed. I'm assuming after installation you can delete the partition with the encrypted volume if desired without adversely effecting any of the other partitions on the disk (say using fdisk). Is this the case? I can imagine hardware that might prevent such deletion, but it's hard to imagine it being put into practice.

I'm also assuming the encryption impacts only the partition to which it is applied.

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: Encrypted Volume on partition x and Later Deletion?

I did a quick search, and Ubuntu (based on Debian) uses dm-crypt, partman, and partman-crypto for it's install-time drive encryption. I would imagine this is what Debian uses as well. Maybe read up on partman-crypto for more insight. If there is nothing on the partition yet anyways, maybe just try it, then go back and format it and see what happens.

Re: Encrypted Volume on partition x and Later Deletion?

Of course you can delete that partition. What you can't do is:
1. resize the partition
2. relocate the partition

And of course if you have data on such a partition, you need to mount it and transfer the data before destroying the partition.

Syndicate content