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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-04-2010, 08:40 AM
|
#1
|
|
LQ Newbie
Registered: Apr 2010
Posts: 8
Rep:
|
EXT4 data recovery
Last night I made the mistake of formatting my media drive. Before the format, it was ext4. then I formatted it to ext4 again because I wasn't paying attention to what I was doing(this mistake only gets made once). Now im looking for away to recover any/all of my data. The drive in question is 1tb. I have not written any new files to this drive. it is still in the same state as it was yesterday
|
|
|
|
06-04-2010, 09:06 AM
|
#2
|
|
Member
Registered: Apr 2010
Location: Belgium
Distribution: Archlinux
Posts: 51
Rep:
|
If your data is worth 80 bucks
(it's the first result google gave me, if you search I'm sure you can find free alternatives)
edit : or have a look at that : 5 of the best free linux data recovery tools
Last edited by onebuck; 11-30-2012 at 08:35 AM.
Reason: remove link
|
|
|
|
06-05-2010, 04:06 PM
|
#3
|
|
Member
Registered: Jan 2006
Location: England
Distribution: Arch
Posts: 118
Rep: 
|
You might be able to use PhotoRec to get some stuff
|
|
|
|
08-26-2010, 07:17 AM
|
#4
|
|
LQ Newbie
Registered: Jun 2010
Posts: 9
Rep:
|
Alternatively you can try the following links for Ext4 recovery
|
|
|
|
08-26-2010, 07:57 AM
|
#5
|
|
Member
Registered: Jul 2010
Distribution: Mageia-2,LFS-7.1
Posts: 368
Rep:
|
It can be very easy as long as you haven't done a lot of writing to the disk. Here are some steps:
- Make a image of your hard drive partitions with dd, example: dd if=/dev/sda1 of=/home/user/image
- Make a backup of the image and then only do forensics on the image, not on your hard drive because things can change, and be overwritten etc
- If you need to mount your image, mount it as read only!
- Use a forensics tool on the image, such as lazarus, or text you can sometimes recover with strings. There are other tools but I can't think of them right now, start with lazarus.
You will be surprised by how much you can recover with no problems. I will be back to check on your results.
|
|
|
|
08-26-2010, 01:28 PM
|
#6
|
|
Member
Registered: Jul 2010
Distribution: Mageia-2,LFS-7.1
Posts: 368
Rep:
|
Actually, I am not sure if Lazarus supports EXT4 or not. Give it a shot. Follow some of the other pointers that I gave though.
Try foremost also for recovery.
Last edited by CincinnatiKid; 08-26-2010 at 01:30 PM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:49 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|