I may have lost my encrypted partition
Hi, I have a serious problem, and I hope you can help me out.
I had my /home partition encrypted: /dev/sda3 was an encrypted LVM volume (dm-crypt, LUKS) containing an ext3 filesystem that I used to mount under /home
I reinstalled my Ubuntu using the text-mode installer... I did a clean reinstall: I formated /dev/sda2 (the root partition, unencrypted) and I set /dev/sda3 to be used as a physical volume for encryption. I didn't "touch" the contents of the /dev/sda3 volume.
I assumed the installer would ask for the password for /dev/sda3 and then would allow me to mount without formatting the resulting /dev/mapper/sda3_crypt ext3 partition.
It did not. The installer asked me for new passwords for /dev/sda3... I put the same password I had before, but now... the data inside the volume is no longer an ext3 partition...
I don't know why...
Thanks and I wish you a happy new year!
This is just a guess but might it have encrypted your encrypted partition? If so, I guess you'll have to do something like (of the top of my head):
boot your system and enter your (first) LUKS passphrase
# dd if=/dev/mapper/sda3 of=/someOtherPlace/enc.iso
# cryptsetup luksOpen /someOtherPlace/enc.iso
# mount -o loop -t ext3 /dev/mapper/enc.iso /mnt
purely theoretical, please check before you make things worst.
... or I'm completely wrong and you can restore all your data from your backup... right?
Well... that was my first assumption. So I did this:
If anyone has any other idea, please write it here...
I had a similar problem. Using fsck to check the disk for errors fixed it for me.
|All times are GMT -5. The time now is 07:16 AM.|