Solved

How to recover files deleted on a NTFS partition with rm -r -f

Posted on 2010-09-07
5
559 Views
Last Modified: 2013-12-16
Hello,

by mystake,while I was under Linux,I've started to delete the Windows installation files located on the NTFS partition. I've issued these commands :

mount -t auto /dev/sda1 /mnt/sda1
cd /dev/sda1
rm -r -f Windows

but not the whole Windows folder has been deleted,because I stopped after some time. Anyway Windows now is unabled to boot. How can I recover the deleted files under the Windows folder ? Thanks.
0
Comment
Question by:marietto2008
5 Comments
 
LVL 65

Accepted Solution

by:
rockiroads earned 350 total points
ID: 33624555
well there are windows tools to help recover like getdataback and recuva (free) but looks like u need something for linux unless u can use that windows disk as a secondary/external disk on another windows pc
0
 
LVL 65

Expert Comment

by:rockiroads
ID: 33624566
0
 
LVL 87

Assisted Solution

by:rindi
rindi earned 150 total points
ID: 33624675
No, you don't need linux tools. Just connect the PC to another PC running windows and use getdataback like has been mentioned earlier (http://runtime.com).

But, it'll be a lot of work. With getdataback and all other recovery tools, you must copy the files you want to recover from the "bad Disk" to another HD. This is a safety precaution as these tools are usually used to recover data from bad HD's, and it's never a good idea to write to such HD's or change anything on them.

This means that after you have copied the data from the "deleted" drive to your backup drive, you'll have to copy it back to the recovered HD. It is quite possible you miss something or do something wrong in the process, and windows will still not work properly after that. So in my point of view it is probably easier and much faster to reinstall windows on that HD from scratch.
0
 
LVL 46

Expert Comment

by:noxcho
ID: 33626024
Even if you recover the deleted folders using some Undelete or Recover tools you still need portion of luck to get the Windows bootable.
You can reinstall Windows and if there are no important data you need to recover then reinstallation would be the quickest track for you.
0
 
LVL 2

Author Closing Comment

by:marietto2008
ID: 33627166
Windows installation seriously damaged. Getdataback is a very good tool (every1 must buy it),but I had to reinstall Windows from scratch.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Throughout my career I’ve read many articles and performed due diligence on recovering VM’s that broke on the XenServer platform. From my experience and perspective it seems to be an ample amount of confusion as to a good base method to start with. …
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now