Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-21-2011, 08:00 AM   #1
LQ Newbie
Registered: Jun 2011
Posts: 4

Rep: Reputation: Disabled
Luks decryption.

I used to have Redhat Linux version 5 with home folder encrypted with LUKS using cryptsetup. Then my FS got corrupted stating /home/homevg not found while bootup. I tried to recover it using recovery option from Redhat installation CD but it didn't work. Then I installed Ubuntu Operating system parallel to Redhat. To recover the data of previous version of linux I tried:

cryptsetup luksOpen /dev/sda2 sda2

But nothing is happening.
Please help, how to decrypt that data?
Old 06-21-2011, 08:29 AM   #2
LQ Newbie
Registered: Jun 2011
Distribution: Debian
Posts: 27

Rep: Reputation: 14
Hi Kriti,

Did you mount the partition? What you did is simply unlock it. After that you have to mount the partition to a location in order for you to access the data.

As an example:
sudo mount /dev/mapper/sda2 /mnt/old_drive
Make sure you create the old_drive, or any other mount location before you execute the mount command.
Old 06-23-2011, 04:16 AM   #3
LQ Newbie
Registered: Jun 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hey kyrO,

Actually the problem isn't with mounting device. Device is properly mount and upto /home folder there is no problem.
After that the encrypted files in /home are not accessible.
I need a solution to decrypt those files.

Help please.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] LUKS decryption fails in Dolphin gargamel Slackware 12 05-01-2011 03:57 AM
[SOLVED] Gpg decryption ZAMO Linux - General 6 07-22-2010 08:01 AM
Decryption Of Code balakumarthirukonda Linux - Security 1 01-23-2006 01:54 PM
decryption Program ilnli Programming 9 08-04-2004 03:04 AM
anyone good with decryption watashiwaotaku7 General 12 11-30-2003 02:42 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration