Linux Mint - Free and powerful

Wednesday, 16 July 2014

When your /dev/mapper encrypted disk is corrupt after a hang do this rather



















sudo cryptsetup -r luksOpen /dev/sdb1 crypthome

sudo] password

Enter passphrase for /dev/sdb1: 

sudo mount /dev/mapper/crypthome /romount

mount: block device /dev/mapper/crypthome is write-protected, mounting read-only

cd /romount



Now copy your important data!



Once done you can remount and use fsck.ext4. I recommend using the -y flag if you know it is in a bad state and your important data is recovered.



Not fun when it happens though :-(

0 comments :

Post a Comment

Thank you for taking the time to comment. Your opinion is important and of value and we appreciate the positive feedback! If you are "Negative Nancy" then please do us, and humanity, a favor, and piss off.

Total Pageviews

Google+ Followers

Pages

Blog Archive

Popular Posts

Recent Comments

Rays Twitter feed

Ads

Web sites come and go and information is lost and therefore some pages are archived. @rayd123. Powered by Blogger.