LinuxQuestions.org
Review your favorite Linux distribution.
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 02-11-2010, 10:50 PM   #1
djrobg
LQ Newbie
 
Registered: Feb 2010
Posts: 1

Rep: Reputation: 0
Data Recovery on HDD


This is my last resort! Please help!
I installed Fedora 10 on a pc I built from a barebones package, I have had no problems over the past couple months until recently. When I start up the pc the OS lags on a black screen with the cursor blinking. I have searched forums but I guess since I am a newbie I am still lost in the translations. What I am trying to do is save my files that are on the pc to a DVD-RW or my external hard drive before I have to reinstall the software again.

My questions are as follows:
How can I locate the files on the hard drive? When I have the bootable cd-rom inserted I am unable to locate the HDD.

How can I transfer my files using the command line prompt?

Finally, is it possible just to upgrade to the latest Fedora without losing my files and going through the data recovery process head ache?
Or can I reinstall the OS and not lose my files?

Any assistance will be greatfully appreciated.
 
Old 02-11-2010, 11:17 PM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
You should be able to upgrade to a newer version. But I have not done that with Fedora. I have upgraded Ubuntu Jaunty to Karmic without data loss. So it should be true to Fedora as well. But you should first try and backup your data.
You can use Live Ubuntu to boot into your machine and locate files. Once your Live Ubuntu is up, you should find your disk in Places menu. But it is assumed that your hard drive is not bad or broken. If it has hardware fault then I guess you should get it replaced.
 
Old 02-11-2010, 11:21 PM   #3
worm5252
Member
 
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567

Rep: Reputation: 57
Well chances are you will lose your data if you reinstall as the installer will format the partitions. It is possible to reinstall and not format the partition is your data provided it is currently partitioned to have your file on their own partition. I am going to assume that the drive is 1 big partition and that this is not an option.

In the event that you have your drive partitioned as 1 big partition you best option is booting from a LiveCD. I have not used Fedora since Fedora Core 3 so I am way out of date. I don't know if Fedora comes on a LiveCD or not. If it doesn't just download a copy of the Ubuntu install cd, I know it is a LiveCD.

1.) Boot from the Live CD.
2.) Create a folder to mount your hard drive to
3.) Mount your hard drive to the newly created folder. (Your hard drive will not automatically be mounted by the LiveCD unless you run an installer. You will have to manually do this. Depending on the type of hard drive the identifier may be different. Now days most home build computers use SATA hard drives which are designated as /dev/sda, /dev/sdb, etc. If you only have 1 hard drive and it is 1 partition then you would mount /dev/sda1.
Code:
mount /dev/sda1 /path/to/newly/created/folder
You may also need to use the -t option and specify the file system type. I do not know what you are currently using but default I think when you install is either ext3 or ext4.

Once you have your drive mounted to the folder you can browse the folder to view the hard drive.

Another option is to run fsck on your hard drive to repair any errors on it.
Code:
fsck /dev/sda1
**you will need root access to do all of this. I am not sure if this is given by default in a Fedora LiveCD, but in ubuntu you will put sudo before all commands. example: sudo fsck /dev/sda1
 
  


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
Data recovery from a formatted hdd drsa2 Linux - General 2 02-10-2010 02:57 PM
HDD partition recovery - HDD works but no partitions are accessible? stevod333 Linux - Software 6 10-01-2009 05:24 AM
Data recovery on HDD TwinsDad9901 Linux - Hardware 4 08-30-2009 12:09 PM
hdd recovery program that let you choose which data to getback? frenchn00b Linux - Newbie 2 07-21-2007 06:26 AM
LXer: Linux Data Recovery on Windows - Is possible through Disk Doctors Linux Recovery Software LXer Syndicated Linux News 0 10-22-2006 12:21 PM

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

All times are GMT -5. The time now is 01:55 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