Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-01-2006, 07:43 AM   #1
LQ Newbie
Registered: Sep 2006
Posts: 21

Rep: Reputation: 15
Recovering a hard drive using linux

Hey guys
i have a hard drive which has crashed and i hear you can use linux as a FTP server and extract sectors off of it to reclaim some of the lost data. how would i go about this ?
let me know
Old 10-01-2006, 09:30 AM   #2
Registered: May 2006
Distribution: Debian
Posts: 613

Rep: Reputation: 98
I don't know about using Linux as an FTP server but you might be able to access the hard drive by booting a live CD. These are listed on

Live CDs boot entirely from the CD-rom and leave the hard drive totally intact,

Something like Knoppix or Kanotix will probably do the trick.
Old 10-01-2006, 04:23 PM   #3
LQ Newbie
Registered: Sep 2006
Posts: 21

Original Poster
Rep: Reputation: 15

as a live disk you can see your hard drive ? and if so what folders (steps) would i need to take in order to get those files out ...i'm assuming once you find them you can either e-mail them or save them to CD rom no ? i'm a newbie as the forum implies so any help would be appreciated
Old 10-01-2006, 05:48 PM   #4
LQ Veteran
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 85
A Live CD is basically a complete Linux system that runs entirely off a bootable CD, and will not affect any data that's on the hard drive. Live CD's are excellent tools to let people get a taste of running Linux, but without having to actually install it. A Live CD will not write any data to your hard drive, and so you can pop in the CD and be running Linux, then go back to your regular operating system by just removing the CD.

So, as a very basic description, if you wish to try to recover data from a faulty disk drive, one thing you could try would be to boot up a Live CD (such as Knoppix), then copy important files to a USB pendrive (for example). Obviously if your hard drive is failing then that may likely affect your ability to recover specific files. Along those lines there is a popular utility called foremost that can be very helpful in a data recovery operation

Lastly, I would point out that the only files you really would need to recover would be in your /home directory. There's no point in spending the time trying to recover any system files because they can be restored by simply reinstalling your distro. Good luck with it
Old 10-02-2006, 08:23 PM   #5
Registered: Dec 2003
Location: Columbus, OH USA
Distribution: Debian Knoppix Kanotix Sidux
Posts: 73

Rep: Reputation: 15
kanotix livecd can burn cd-r's using k3b, if you have 2 optical drives (one for the kanotix cd and one to burn with) so you can put you important files on a burned cd if you don't have a usb stick sitting around.

or if you are lucky enough to already be running kanotix on another working computer, and the computer with the faulty hd can still kind of run, and you had the foresight to install ssh on it, you can start the ssh server by typing "/etc/init.d/ssh start" and then on your working computer, using krusader, into the address bar type: "fish://root@<faulty computer's ip address>" and just drag the files over to your good drive.

that makes a lot of assumptions though.

then there's always the "take out the hard drive and attach it to another computer" method, which might actually be easier.
Old 10-03-2006, 09:17 AM   #6
LQ Newbie
Registered: Sep 2006
Posts: 21

Original Poster
Rep: Reputation: 15

Well this is for a friends computer it's mostly his music files totalling more than 180 gigs and 4 years worth of created music so cd roms would be tedious at best. i told him to put his drive as slave and use berry linux off the cd rom (btw i love berry linux) then just use a 10/100 cable and transfer the files through a network to another computer i haven't heard back from him so i'm assuming it worked. I also gave him the link for Formost so between the two hopefully something positive came from it.
thanks for all the help guys any other ideas would be great just in case.
this is a great website!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 NTFS partition off repartitioned hard drive jhayden Linux - Hardware 3 08-30-2004 10:51 AM
recovering an ntfs drive with linux kinasz Linux - General 4 07-08-2004 07:37 AM
Recovering Hard Drive files CycloLink Linux - Hardware 6 01-29-2004 07:59 PM
Recovering data from a failed hard drive. 2damncommon Member Success Stories 0 10-03-2003 11:16 PM
recovering a fat 32 hard drive kingswood76 Linux - General 13 07-26-2002 08:29 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:26 AM.

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