Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I lost my Windows Vista while installing Ubuntu. Few people suggested me to use Photorec to recover the data. I already installed testdisk. The place where I am confused is: I attached an external drive, got an icon on the the desktop, but I am not able to run the exe file which unlocks the drive. The drive is showing up under "media" with permissions drwx------. My question is even if I am not able to unlock it, am I safe to proceed to back up data onto this drive?

share|improve this question
1  
1) What model and manufacturer is the drive? 2) What do you expect the executable to do? 3) What happens when you try to run the executable? –  ændrük Oct 23 '10 at 18:09
    
Hi Aendruk, Sorry for replying this late. Its a Western Digital Passport 250 gb. Its resolved for now, I had to attach the HD to windows machine, remove security settings and then it worked fine. –  t3ch Nov 4 '10 at 20:06
add comment

1 Answer 1

up vote 2 down vote accepted

If the drive is formated with a Linux format (ext3, ext4) you will need rights to move files to it. That may be the issue. From the look of the permissions you showed that appears to be the case. I would personally do the following:

In Terminal 1. sudo su 2. cd 3. mkdir recovery 4. chown recovery 5. exit

You can now run your photorec program to recover data from the external drive. Please be aware that this data will not be named with the old names and you will have to take some time sorting the data.

Here is an excellent page on what to do after you run photorec so that it is easier to find the files you need.

http://www.cgsecurity.org/wiki/After_Using_PhotoRec

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.