Welcome to the most active Linux Forum on the web.
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, 06: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-23-2007, 12:55 AM   #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 04:24 AM
dm-crypt: Moving Encrypted Filesystem hamish Linux - Security 2 07-21-2005 03:57 AM
accidentally changed permissions on home folder Cinematography Linux - General 7 05-15-2005 05:32 AM
changed root's shell accidentally frankie_DJ Linux - Newbie 7 09-20-2004 12:28 AM
dm-crypt encrypted filesystem on a CD-ROM qwijibow Linux - General 0 09-14-2004 03:11 PM

All times are GMT -5. The time now is 12:35 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration