Ubuntu This forum is for the discussion of Ubuntu Linux. |
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-24-2007, 05:16 PM
|
#1
|
Member
Registered: Sep 2004
Posts: 34
Rep:
|
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
|
|
|
04-24-2007, 05:20 PM
|
#2
|
Senior Member
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472
Rep: 
|
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.
|
|
|
04-24-2007, 07:40 PM
|
#3
|
LQ Newbie
Registered: Jan 2005
Distribution: Kubuntu 6.10
Posts: 14
Rep:
|
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.
|
|
|
04-25-2007, 06:18 PM
|
#4
|
Member
Registered: Sep 2004
Posts: 34
Original Poster
Rep:
|
yeah, I'm thinking of using testdisk to solve this, I'll post my results in a bit.
|
|
|
04-25-2007, 09:52 PM
|
#5
|
Member
Registered: Sep 2004
Posts: 34
Original Poster
Rep:
|
yeah, it doesn't seem to work, maybe I'm using testdisk wrong
does anyone have any ideas?
|
|
|
04-25-2007, 10:40 PM
|
#6
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
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
|
|
|
All times are GMT -5. The time now is 04:27 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
|
|