LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-09-2009, 08:49 AM   #1
faiselm
LQ Newbie
 
Registered: Mar 2009
Posts: 2

Rep: Reputation: 0
total newbie needs help


Hi All,

I was using windows xp when i got hit by a trojan and erased system files. as a result, my computer crashed completely. A friend suggested that I load linux on my hard drive and then I would be able to recover my files on the hdd. upon installing ubuntu 8.10 over the hdd, i found to my dismay that I had lost all my files and folders.

Is there any way to retrieve those files that were previously on the windows partition? note that the whole hdd is linux ...

hoping that there are some gurus who can give a dummy advice.
 
Old 03-09-2009, 08:51 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
My mistake--reopened

Last edited by pixellany; 03-09-2009 at 08:55 AM.
 
Old 03-09-2009, 09:00 AM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
You should use the live cd, instead of installing on the HD
If you installed linux to the HD, it has been formatted, so all data will be gone.
However, normally it would not delete the windows partiton, unless you asked for it during installation.
I would suggest to boot from a live cd, and take a look at the partitions on the HD
 
Old 03-09-2009, 09:05 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
First, find the friend and confiscate his "free advice and worth every penny" license........

Now you know that installing something (anything) to a hard drive will overwrite anything that is there. But that is not precisely correct, so there is hope......

In you case, you apparently let Ubuntu have the whole disk. First it set up a filesystem stucture, and then copied its files. Presumably, this did not fill the disk. In the space that is left, what you have is:
1. the new filesystem structure.
2. the remains of whatever files were there.

The most commonly recommended tools are "testdisk" and "photorec". (Both are by the same author---just Google "testdisk" and you'll find them. Since you have used the whole drive, you need to run these tools from another drive or from CD (Don't know if these particular tools come this way.)
One way to go is to simply install your drive in another computer.

If the data is valuable, you should clone the drive before playing with it---If it is REALLY valuable, you might be better off with a professional recovery service.
 
Old 03-09-2009, 09:08 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by repo View Post
You should use the live cd, instead of installing on the HD
If you installed linux to the HD, it has been formatted, so all data will be gone.
Not gone---hidden. Normally, "format" means "install filesytem". This writes structures to the drive, but does not erase all existing data.
 
Old 03-09-2009, 12:58 PM   #6
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
First try this:

http://www.linuxforums.org/forum/mis...ing-linux.html

If doesn't apply/help:

http://forums.techguy.org/windows-nt...r-how-fix.html

http://blog.taragana.com/index.php/a...linux-and-mac/

If while installing linux, you told the installation routine to not overwrite the windows partition, but somehow the grub bootloader has not installed a boot to windows option:

http://answers.yahoo.com/question/in...7214904AAHX7qW

Other tools:

http://www.stellarinfo.com/download.htm

Last edited by ehawk; 03-09-2009 at 01:04 PM.
 
  


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
I am a total newbie AshleyScott LinuxQuestions.org Member Intro 3 01-23-2007 07:08 AM
Help, Total newbie littleb Mandriva 10 06-04-2006 08:04 PM
a total newbie-here! lonestar17 Linux - Newbie 8 03-25-2006 09:47 PM
a total newbie-here! lonestar17 LinuxQuestions.org Member Intro 3 01-16-2006 04:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:56 PM.

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