I have an external drive with two partitions - one encrypted, the other not so. I'd like to move all the data to the encrypted partition, and then resize it to take up the whole drive.
If I use gparted on a truecrypt-encrypted partition, will that destroy the data?
Otherwise I have to decrypt, merge, resize and then re-encrypt.
Gparted only knows about physical disks - a Truecrypt parition won't even show up in Gparted, unless perhaps the whole partition has been specified as a Truecrypt partition. Certainly containers don't appear.
There is no way to resize an exisiting truecrypt parition (there was a convoluted method that worked prior to version 6.3, but it no longer works in recent versions).
I think your only option is to move your data to another volume, format your drive and Truecrypt it, then copy your data on to the newly created Truecrypt drive.
I am aware that this question is 2 years old now but there is a simple solution and others might ask the same question, so here is what I did:
=> you are done. Depending on your filesystem you can even re-mount your filesystem before resizing it
Assuming you created the Truecrypt volume by formatting it and not in-place encrypting the data, you can achieve you goal like this (gparted is not an option):
A more detailed guide is available which will also explain what to do for in-place encrypted partition hosted volumes.
Last I heard support for encrypted partitions in GParted was being developed, but no working code had been released. As such, while you can probably get away with moving the partition, or possibly even allocating it more space (provided you stick the more space onto the end and not the beginning) There is no way for GParted to resize the filesystem inside it, so the additional space won't be usable. You might be able to add the space on, and then mount the partition and resize the FS from there, but I'm not sure. I will test it when I get some free time and post back if I can make it work.
Your best bet is probably to decrypt it, shuffle your data around, and re-encrypt it.