not a valid LUKS device
Hi,
Recently, I was installing Ubuntu 13.10 and the installer appears to have changed something in the first sector of my home partition as described here:
https://bugs.launchpad.net/bugs/1169611
Now, when I try to open my encrypted partition I get the following error:
# sudo cryptsetup luksOpen /dev/ubuntu/home home_crypt
Device /dev/ubuntu/home is not a valid LUKS device
I don't have a backup of my header and would like to know if I still can have hope of recovering the luks partition or if I can re-encrypt it, backup the header and start a new life.
What is your opinion on this?
Thanks!
Hugo
Quoted 11 lines · Hugo
Hi,
Recently, I was installing Ubuntu 13.10 and the installer appears to have changed something in the first sector of my home partition as described here:
https://bugs.launchpad.net/bugs/1169611Now, when I try to open my encrypted partition I get the following error:
# sudo cryptsetup luksOpen /dev/ubuntu/home home_crypt
Quoted 7 lines
Device
/dev/ubuntu/homeis not a valid LUKS deviceI don't have a backup of my header and would like to know if I still can have hope of recovering the luks partition or if I can re-encrypt it, backup the header and start a new life.
What is your opinion on this?
Well, it is difficult to see what this bug really does, but if it really overwrites the first sector, then the salts in the LUKS header are gone and there is no way to recover from that without a header backup.
It seems Ubuntu still does not understand how to keep its fingers off existing LUKS partitions. I recommend you complain to them.
Arno
Signature · 7 lines
Arno Wagner, Dr. sc. techn., Dipl. Inform., Email: [email protected] GnuPG: ID: CB5D9718 FP: 12D6 C03B 1B30 33BB 13CF B774 E35C 5FA1 CB5D 9718 ---- There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult. --Tony Hoare
Quoted 6 lines · Arno Wagner
Quoted 1 line
What is your opinion on this?
Well, it is difficult to see what this bug really does, but if it really overwrites the first sector, then the salts in the LUKS header are gone and there is no way to recover from that without a header backup.
Sure, as expected. I will reformat that so.. :(
Quoted 4 lines
It seems Ubuntu still does not understand how to keep its fingers off existing LUKS partitions. I recommend you complain to them.
I am trying.. But as I understand, it is seen by them as low priority and who is interested in things out of the mainstream should achieve by themselves.
Thanks Arno!
Quoted 3 lines
Arno
Quoted 10 lines · Hugo
Quoted 6 lines · Arno Wagner
Quoted 1 line
What is your opinion on this?
Well, it is difficult to see what this bug really does, but if it really overwrites the first sector, then the salts in the LUKS header are gone and there is no way to recover from that without a header backup.
Sure, as expected. I will reformat that so.. :(
Quoted 1 line
Quoted 7 lines
Quoted 3 lines
It seems Ubuntu still does not understand how to keep its fingers off existing LUKS partitions. I recommend you complain to them.
I am trying.. But as I understand, it is seen by them as low priority and who is interested in things out of the mainstream should achieve by themselves.
Not nice :-/
Quoted 1 line
Thanks Arno!
No problem.
Arno
Signature · 7 lines
Arno Wagner, Dr. sc. techn., Dipl. Inform., Email: [email protected] GnuPG: ID: CB5D9718 FP: 12D6 C03B 1B30 33BB 13CF B774 E35C 5FA1 CB5D 9718 ---- There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult. --Tony Hoare