Solved

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

Posted on 2010-09-07
5
565 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 88

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 47

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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to use question mark (?) in filename with html 25 100
AWS EC2 HTTP & HTTPS 2 78
CentOS 7 Linux for HP DL380 G4 32Bits 7 79
Krita v3 Linux Mint/Ubuntu 16.04 9 19
Finally comes the third version of VMware Virtual SAN, whose name is 6.1, and comes loaded with new features many of which really are excellent and even surprising.
In this article we have discussed the manual scenarios to recover data from Windows 10 through some backup and recovery tools which are offered by it.
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
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…

733 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