LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-12-2013, 10:49 AM   #1
markmb
Member
 
Registered: Jul 2011
Location: Spain
Distribution: Crunchbang
Posts: 55

Rep: Reputation: 3
Not wanted dd of liveUSB


Hello

I needed a liveUSB, and I used de dd command. By mistake, I changed the letter of the device, and it started to write over a 2 TB external HDD formatted in ext3. When I realized and stopped it, it had written 100 Mb and the HDD was not well detected

I'd like to recover the info in the HDD, it's not really important (I would have made a backup if so), bud I'd like to.

Then, do you know how to recover data from a EXT3 system, that has been dd with a liveCD iso?

Thanks in advance
 
Old 01-12-2013, 11:54 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,740

Rep: Reputation: 298Reputation: 298Reputation: 298
There are a pair of utilities called testdisk and photorec which may be useful in recovering data.

You can find out more here.
 
Old 01-12-2013, 12:52 PM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Gentoo
Posts: 15,364
Blog Entries: 2

Rep: Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981
The parts that are overwritten are in fact unrecoverable, but Testdisk may be able to restore at least the partition table. Of course the filesystem in the first partition will be damged, but you can use Photorec to recover files and maybe fsck to at least restore parts of the file-system.
 
Old 01-16-2013, 01:43 PM   #4
markmb
Member
 
Registered: Jul 2011
Location: Spain
Distribution: Crunchbang
Posts: 55

Original Poster
Rep: Reputation: 3
It took a full day working, but I could recover a lot of things. Thank you for your answers!
 
  


Reply


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to edit initrd to fit your liveUSB - liveUSB preparation (openSUSE and others) deckoff Linux - General 7 01-08-2012 02:58 AM
LiveUSB Setarkos Linux - Newbie 4 06-04-2011 04:01 AM
liveusb multiboot vdemuth Slackware 6 04-27-2011 05:38 AM
LiveUSB failure tonguebuster Solaris / OpenSolaris 2 12-16-2010 07:58 AM
4bak liveUSB alisou Linux - Distributions 8 03-12-2009 05:58 PM


All times are GMT -5. The time now is 07:33 PM.

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