Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 01-12-2013, 11:49 AM   #1
Registered: Jul 2011
Location: Spain
Distribution: Fedora
Posts: 61

Rep: Reputation: 3
Not wanted dd of liveUSB


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, 12:54 PM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,846

Rep: Reputation: 342Reputation: 342Reputation: 342Reputation: 342
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, 01:52 PM   #3
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 16,863
Blog Entries: 2

Rep: Reputation: 4673Reputation: 4673Reputation: 4673Reputation: 4673Reputation: 4673Reputation: 4673Reputation: 4673Reputation: 4673Reputation: 4673Reputation: 4673Reputation: 4673
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, 02:43 PM   #4
Registered: Jul 2011
Location: Spain
Distribution: Fedora
Posts: 61

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


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 03:58 AM
LiveUSB Setarkos Linux - Newbie 4 06-04-2011 05:01 AM
liveusb multiboot vdemuth Slackware 6 04-27-2011 06:38 AM
LiveUSB failure tonguebuster Solaris / OpenSolaris 2 12-16-2010 08:58 AM
4bak liveUSB alisou Linux - Distributions 8 03-12-2009 06:58 PM

All times are GMT -5. The time now is 06:03 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