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.
 |
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. |
|
 |
08-12-2006, 04:25 PM
|
#1
|
|
LQ Newbie
Registered: Jun 2004
Distribution: Gentoo
Posts: 15
Rep:
|
Accidentally Formatted NTFS Partition... Looking to Recover Data
Hi,
I was trying to resize my NTFS partition and accidentally ended up reformatting the partition. I am now looking to recover that data.
I used ntfsresize and successfully shrunk the partition. I hit fdisk to delete and split the old partition into 2 new ones, but, after some results that struck me as odd, I opted to go for the GUI approach and play it safe. So, I loaded GParted and redid the partition structure. Unfortunately, when it redid the partition table, it also assumed that it had to reformat the two new partitions I made. This produced the undesired result of loosing the file allocation table on my NTFS partition. (I'm not a guru, but I'm reasonably sure that the root issue is that the FAT for the partition is dead, am I right?)
Now, this is not hugely critical to me. I keep all my data on a FAT32 partition and I don't think I've booted to Windows in the last few months. Worst case scenario, I just pop the install CD back in and spend an afternoon reinstalling things the next time I feel compelled to use Windows. However, I wouldn't mind recovering the partition because, for one, it's a good learning experience, and, for another, I don't want to waste an afternoon reinstalling.
So, are there any Linux utilities out there that can be used to reconstruct the FAT of an NTFS partition? I tried Google, but only ended up seeing a bunch of Windows-based results and, when trying to recover a Windows partition, it's somewhat difficult to boot into Windows to run a recovery app.
Thanks in advance.
|
|
|
|
08-13-2006, 08:50 AM
|
#2
|
|
Senior Member
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,426
Rep:
|
try testdisk
|
|
|
|
08-13-2006, 08:59 AM
|
#3
|
|
LQ Newbie
Registered: Jun 2004
Distribution: Gentoo
Posts: 15
Original Poster
Rep:
|
I looked at testdisk, but couldn't figure out how to make it do what I want it to do. Man pages and Google didn't help much.
How do I use testdisk?
|
|
|
|
08-13-2006, 08:59 AM
|
#4
|
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 11,220
|
Testdisk is designed for a different problem.
I don't like your chances ...
|
|
|
|
08-13-2006, 11:58 AM
|
#5
|
|
Senior Member
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,426
Rep:
|
You formatted a partition, and you are trying to get it back right? Here is what the developer of testdisk and photorec said to me in an email.
On Wed, 9 Aug 2006, Chris wrote:
> Should I be using testdisk instead?
If you have delete a partition or reformated a partition to
another filesystem type, yes
|
|
|
|
08-13-2006, 11:59 AM
|
#6
|
|
Senior Member
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,426
Rep:
|
You formatted a partition, and you are trying to get it back right? Here is what the developer of testdisk and photorec said to me in an email.
On Wed, 9 Aug 2006, Chris wrote:
> Should I be using testdisk instead?
If you have delete a partition or reformated a partition to
another filesystem type, yes
|
|
|
|
| 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 05:54 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
|
|