LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 06-01-2006, 09:24 AM   #1
kitcatcher
LQ Newbie
 
Registered: Sep 2004
Location: columbus, oh
Distribution: Slackware 10.2, College 2.5, Knoppix 4.0.2, Coyote Router
Posts: 11

Rep: Reputation: 0
How Do I Get Data From a Reformatted Drive?


I have a 200 GB partition on my system that is just for music files and other media.

I did an ubuntu install to a neighboring partition. I thought I was telling the installer simply to mount an existing partition and to type it as reiserfs (which I'm not sure was the correct type, but I was prepared to change it in fstab later if need be). Instead, I realized too late, I told the installer to *format* it as reiserfs.

The installer performed a quick format and I think just changed the fs records without overwriting any data.

I complicated the situation further by using qtparted to change the file system type to ext2 (which I think was the actual partition type before the change) This of course didn't work and the subsequent e2fsck said the partition was perfectly okay.

I then read about gpart and am currently running it with the -b and the -W options. It might even work, but I doubt it.

So can anyone help me or point me in the right direction to attempt to

1) look at the raw binary data on the disk,
2) recognize the mp3s that are on it, and
3) restore them either to that partition or a different one?
I can rip them again as they are all from CDs I own, but it took me months to do it the first time!

Thanks for any help!
 
Old 06-01-2006, 11:10 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
R-linux claims to be able to recover files in such a situation.
http://www.topshareware.com/R-Linux-...nload-3456.htm
 
Old 06-01-2006, 12:39 PM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
Use the Linux forensics tools to recover data.. one well known product is called TCT The Coroners Toolkit.. Here is also a list of Live CD's with forensics tools on them.

P.S. do not mount that drive RW in a live system until you recover the data you need.. the more you write tot he drive the less chance you have at recovering the data..


Live Forensics CD's
http://www.frozentech.com/content/li...ics&sort=&sm=1
 
Old 06-01-2006, 10:25 PM   #4
kitcatcher
LQ Newbie
 
Registered: Sep 2004
Location: columbus, oh
Distribution: Slackware 10.2, College 2.5, Knoppix 4.0.2, Coyote Router
Posts: 11

Original Poster
Rep: Reputation: 0
update: I was able to look at an old disk that used to be my primary Linux drive and found the fstab that used to mount this partition. Damn the luck - it was ext3 not ext2! Another post I read on LQ said it was near impossible to restore any data from an ext3 fs.

http://www.linuxquestions.org/questi...d.php?t=141740

So I think I'm going to scrap this for now, just repartition and reformat the drive, but then I'm going to recreate what I've done on a smaller throwaway drive and whittle away at the problem using these forensic tools you folks have pointed me toward. I'm going to learn this stuff!

Thanks for the help!
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
I reformatted my external hard drive and Linux does not see it. LinuxPadawan Linux - Hardware 3 04-05-2005 09:33 AM
Reformatted Data Recovery Korff Linux - Software 1 05-03-2004 09:29 PM
Used dd now, then reformatted drive - still shows 80% full! bluehz Linux - Hardware 3 03-15-2004 09:46 PM
Reformatted C drive, no more Lilo AlphaTrooper Mandriva 2 02-19-2004 02:05 PM
Recovering Data From A Freshly Reformatted Ext3 Partition johnleemk Linux - Hardware 1 02-04-2004 02:48 AM


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

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