Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Technical

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 2nd June 2009, 17:09
perfectpol7 perfectpol7 is offline
Member
 
Join Date: Jan 2009
Posts: 79
Thanks: 3
Thanked 1 Time in 1 Post
Default How to recover data from harddrive

How do I recover data from a hard drive that has been install with fedora 10, should I slave it on another fedora pc. I failed to rescue it with Fedora DVD but there is information I need to retrieve from this harddrive. What are the procedures steps to take
Reply With Quote
Sponsored Links
  #2  
Old 3rd June 2009, 16:41
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

You can do this with a Live-CD, e.g. Knoppix.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 4th June 2009, 14:18
biandtlp biandtlp is offline
Junior Member
 
Join Date: Jun 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes, try with a live-cd and you'll be able to recover your data
Reply With Quote
  #4  
Old 4th June 2009, 18:33
perfectpol7 perfectpol7 is offline
Member
 
Join Date: Jan 2009
Posts: 79
Thanks: 3
Thanked 1 Time in 1 Post
Default

I have running knoppix version 5.3.1 but cannot find any pf my folders. There are 3 harddrive two with 500G and the with 160Gig. I can see sda1, sdd, sdc and sdd which is my external drive and on this I can browser and see my test folder.

How do I use this knoppix i tried to used find then specify my files and folders
Reply With Quote
  #5  
Old 5th June 2009, 13:27
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

Quote:
Originally Posted by perfectpol7 View Post
I can see sda1, sdd, sdc
When you click on these partitions, do they get mounted?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 9th June 2009, 12:07
perfectpol7 perfectpol7 is offline
Member
 
Join Date: Jan 2009
Posts: 79
Thanks: 3
Thanked 1 Time in 1 Post
Default

Yes, the one with the information I want is mounted. Only the /boot folder is the one that I can see on the desktop icon (/boot) whether with the knoppix or with it as a slaved on the other computer

the results of the vgscan
root@programming ]# vgscan
Reading all physical volumes. this may take a while...
Found a duplicate PV q3w4dbmVkgn85qqC2Scqk9b5kqboVMGJ using /dev/sdc2 not dev/sdb1

Found volume group "VolGroup" using metadata type lvm2
Found volume group "VolGroup" using metadata type lvm2

my data may be wrapped in the logical volumes of which cannot retrieve

Last edited by perfectpol7; 9th June 2009 at 12:32. Reason: adding more information
Reply With Quote
  #7  
Old 10th June 2009, 10:58
perfectpol7 perfectpol7 is offline
Member
 
Join Date: Jan 2009
Posts: 79
Thanks: 3
Thanked 1 Time in 1 Post
Default

Now am able to go to the command prompt, if i use code locate (folder name) i can see the folder path. How do I copy these folder to external harddrive, the external harddrive is /dev/sdd1 and the data i want to retrieve is on disk /dev/sda. When i used cp /dev/sda1/home/Administrator/User Data/Info /dev/sdd1/New Folder.
I am getting this error message cp:target '/dev/sdd1/New folder' is not a directory.

How do I copy the home directory files to the usb external drive
Reply With Quote
  #8  
Old 10th June 2009, 16:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

You must mount the source and target hard drives first with the mount command, e.g. as follows:

Code:
mkdir /mnt/sda1
mkdir /mnt/sdd1
mount /dev/sda1 /mnt/sda1
mount /dev/sdd1 /mnt/sdd1
Afterwards you can copy files from /mnt/sda1 to /mnt/sdd1.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 11th June 2009, 09:42
perfectpol7 perfectpol7 is offline
Member
 
Join Date: Jan 2009
Posts: 79
Thanks: 3
Thanked 1 Time in 1 Post
Default

when i entered the above codes had this error messages:
root@servergra]# mkdir /mnts/sda1
mkdir:cannot create directory '/mnt/sda1': Read-only file system
root@servergra]# mkdir /mnts/usb
mkdir:cannot create directory '/mnt/usb': Read-only file system
root@servergra]# mkdir /dev/sdd1
mkdir:cannot create directory '/dev/sdd1': Read-only file system

then the mount code return that the mount /mnt/sda1 does not exist.
What should I do to have the /dev/sdd1 and sda1 the write access or to get rid of this "Read-only file system" so that I can create a directory
Reply With Quote
  #10  
Old 11th June 2009, 17:19
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
 
Default

Try to mount it in another directory, e.g.
Code:
mkdir /home/sda1
mount /dev/sda1 /home/sda1
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to recover data from harddrive perfectpol7 Technical 2 2nd June 2009 17:17
how to recover deleted data from LVM on top of RAID 5 SoftDux Technical 0 7th February 2008 13:53
how to recover deleted data from a database Ovidiu Server Operation 2 19th October 2007 17:29
Help with Bluetooth PAND josto HOWTO-Related Questions 1 7th August 2007 20:53
On: Recover Data From RAID1 LVM Partitions With Knoppix Linux LiveCD saracen HOWTO-Related Questions 1 11th May 2007 09:57


All times are GMT +2. The time now is 15:34.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.