Linux - SoftwareThis 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.
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?
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...
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.