0

I mistakenly picked the wrong disk volume with GParted and chose either the "Create partition table" or "Partition->new" (not sure).

I realized the error before applying the change and exited GParted. I had an error message explaining me the disk was going to be invisible from the disk browser (or something like that) until I reboot my Linux. What I did.

My disk is not visible anymore from the disk browser after a reboot. This disk is a data volume with no boot sector and no operating system: only data.

This disk was formatted with an ext4 partition and encrypted with cryptsetup in luks format.

Is there a way to undo this partition creation that seems to overwrite my old encrypted partition?

0

If you have overwritten the LUKS header there is not much you can do, but you can run through some of the commands in one of my own questions, to see if that's the case: LUKS encrypted device gone missing

Also try sudo cryptsetup luksDump <your device> to see if the header is still there.

  • Thanks for your help. I finally used a backup disk to get my data back and didn't try your solutions. – Nitseg Nov 8 '15 at 10:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.