Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-22-2004, 09:40 AM
|
#1
|
LQ Newbie
Registered: Jul 2003
Location: Atlanta, GA
Distribution: SuSE
Posts: 17
Rep:
|
Recover ext2 data after reformat??
Stupid enough. I accidently reformatted an ext2 partition to reiserfs.
I have made a copy by "dd", and grep some text data from the copy.
How can I recover almost all my data?
Is there a handy tool?
Thanks. recover ext2 data after format
|
|
|
08-10-2005, 12:53 AM
|
#2
|
LQ Newbie
Registered: Aug 2005
Location: Green Bay, WI
Posts: 10
Rep:
|
Ok, I kind of did the same thing, except I accidentally created a swap out of my my hda2 drive..I didn't actually reformat it though. Did you ever figure anything out?
I tried using r-linux, but it created a bunch of $Inode files on my winodws system, how do I convert that back?
Sample Files
-David
villusion@new.rr.com
|
|
|
08-26-2005, 03:24 PM
|
#3
|
Member
Registered: Aug 2003
Location: Trento, Italy
Distribution: Debian testing
Posts: 394
Rep:
|
The first thing to do imho is to restore partition type byte back to 0x83 using fdisk, but without reformatting!
If you didn't actually use the swap file (i.e. neither you nor init script run a swapon on it) you'll probably be able to recover the backup inode tables, mkswap only affects the very beginning of the partition. You should read these info/man pages: e2fsck, dumpe2fs, mke2fs (see -n option).
If you enabled the swap partition, then chances are most of your data has been overwritten several times, so any time spent would be wasted.
If the interested partition is a fat32, instead, you should probably google for a windows native recover app and cross your fingers...
Best wishes.
|
|
|
08-26-2005, 10:50 PM
|
#4
|
LQ Newbie
Registered: Aug 2005
Location: Green Bay, WI
Posts: 10
Rep:
|
I did try that, but when I remount I can only see a few files. I never did enable the swap file... I've saved the drive though in case I ever figure anything out.
Thanks for the response!
|
|
|
04-03-2006, 10:53 PM
|
#5
|
Member
Registered: Apr 2005
Location: Brazil
Distribution: SUSE 9.0 Pro, SUSE OSS 10.0, KDE 3.4.2
Posts: 156
Rep:
|
If you still have your HD.
Make this HD as slave.
Have a look at this:
http://www.linuxquestions.org/questi...d.php?t=428962
Good luck
|
|
|
All times are GMT -5. The time now is 10:03 PM.
|
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
|
|