LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 04-24-2007, 05:16 PM   #1
herve2001
Member
 
Registered: Sep 2004
Posts: 34

Rep: Reputation: 15
Recovering windows files from linux


Hi,

I recently formatted my windows hard drive and installed Ubuntu over it. Unfortunately I had some very important files that got removed. I'm looking for a way to recover those files (ntfs) from linux (which got installed over windows). I did a search on the forums and Google/linux and I couldn't find any software that will restore ntfs files from Linux.

Any help is appreciated,

Thanks
 
Old 04-24-2007, 05:20 PM   #2
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472
Blog Entries: 1

Rep: Reputation: 128Reputation: 128
I am not sure, but I looked at Distrowatch's search option for recovery tools. There may be some tools there that will help you, I just don't know about whether or not they will work as you installed Ubuntu over it.
 
Old 04-24-2007, 07:40 PM   #3
gw90se
LQ Newbie
 
Registered: Jan 2005
Distribution: Kubuntu 6.10
Posts: 14

Rep: Reputation: 0
I'm not sure, either. But since you change the drive type, I would not place much hope in it. Hope you can, though. I know how it is to lose important files.
 
Old 04-25-2007, 06:18 PM   #4
herve2001
Member
 
Registered: Sep 2004
Posts: 34

Original Poster
Rep: Reputation: 15
yeah, I'm thinking of using testdisk to solve this, I'll post my results in a bit.
 
Old 04-25-2007, 09:52 PM   #5
herve2001
Member
 
Registered: Sep 2004
Posts: 34

Original Poster
Rep: Reputation: 15
yeah, it doesn't seem to work, maybe I'm using testdisk wrong

does anyone have any ideas?
 
Old 04-25-2007, 10:40 PM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You probably should create a backup image of the harddrive. You will need to find a utility that can scan the entire image for the file even though the disk is now formatted differently. And this will only work if the files were written to areas of the drive that haven't been overwritten.

You could maybe search the drive of the image of the drive for the 'magic bytes' that indicate the beginning of the file, and then try to use dd to copy that portion out and save it on another partition.

The file command uses these magic numbers to analyse what a file is based on the content of the file and not the extension. There is a text database of these magic patterns in /usr/share/file/magic
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Recovering files from reformatted FAT in linux ensa Linux - General 6 07-22-2007 04:25 PM
Recovering windows xp after installing MANDRIVA LINUX ns_linux Linux - Newbie 2 03-09-2007 10:19 AM
Recovering Windows XP with Linux? Jykke Linux - General 6 01-04-2007 08:06 AM
LXer: Linux saves the day by recovering data in Windows servers LXer Syndicated Linux News 0 10-12-2006 09:21 PM
New Wiki article: recovering Linux after re-installing Windows sundialsvcs Linux - Newbie 3 01-16-2006 01:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 01:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration