Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 10-22-2007, 05:30 PM   #1
LQ Newbie
Registered: Apr 2007
Posts: 17

Rep: Reputation: 0
DM-Crypt USB... Accidentally changed filesystem. Can I get it back?

I have a USB encrypted with DM-Crypt / LUKS and formated to ext3. I plugged in a new USB and wanted to format it to FAT32 using Gparted, but accidentally "applied" FAT32 filesystem to the encrypted USB instead of the new one. I tried re-formating the filesystem back to ext3 but now when I try to issue: cryptsetup luksOpen /dev/sda1 and enter password, I get message saying "/dev/sda1 is not a LUKS partition".

Both USBs were unmounted at the time and the original USB was encrypted. Is there any way to decrypt it and get my files back? Thank you for the help.
Old 10-22-2007, 11:55 PM   #2
Registered: Jan 2006
Distribution: Debian Testing
Posts: 675

Rep: Reputation: 58
I'm afraid to say, no. Atleast that was my understanding.


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
Accidentally changed the permissions of /proc/, help restoring them please Th3James Linux - General 5 01-24-2006 03:24 AM
dm-crypt: Moving Encrypted Filesystem hamish Linux - Security 2 07-21-2005 02:57 AM
accidentally changed permissions on home folder Cinematography Linux - General 7 05-15-2005 04:32 AM
changed root's shell accidentally frankie_DJ Linux - Newbie 7 09-19-2004 11:28 PM
dm-crypt encrypted filesystem on a CD-ROM qwijibow Linux - General 0 09-14-2004 02:11 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 01:23 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration