Fedora Linux Support Community & Resources Center
  #1  
Old 2nd June 2009, 11:00 AM
perfectpol7 Offline
Registered User
 
Join Date: Mar 2009
Posts: 27
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
  #2  
Old 2nd June 2009, 11:17 AM
sideways Offline
Retired User
 
Join Date: Oct 2004
Location: London, UK
Posts: 4,999
Can you boot a livecd? If so you should then run 'fdisk -l' (as root) and see if the partition is recognised.

If so, you can try mounting it from the live session and copy files to usb disk.
Reply With Quote
  #3  
Old 2nd June 2009, 11:33 AM
perfectpol7 Offline
Registered User
 
Join Date: Mar 2009
Posts: 27
How exactly or what should i do by booting with a livecd not getting it right here

the results of the fdisk -l code is

Disk /dev/sda:160.0 GB 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0006cd12

Device Boot Start End Block Id System
/dev/sda1 * 1 25 200781 83 Linux
/dev/sda2 26 19457 156087540 8e linux LVM

Disk /dev/sdb: 500.1 GB 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00092b15

Device Boot Start End Block Id System
/dev/sdb1 * 1 60802 488386583+ 8e Linux LVM

Disk /dev/sdc: 500.1 GB 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00081343

Device Boot Start End Block Id System
/dev/sdc1 * 1 60802 488386583+ 8e Linux LVM

Disk /dev/sdd: 500.1 GB 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xdd17c7f1

Device Boot Start End Block Id System
/dev/sdd 1 60801 488384001 83 Linux

the external harddrive is /dev/sdd. Need to copy the contents in the /dev/sda1 to the external harddrive

Last edited by perfectpol7; 2nd June 2009 at 01:43 PM. Reason: adding more information
Reply With Quote
  #4  
Old 2nd June 2009, 03:15 PM
sideways Offline
Retired User
 
Join Date: Oct 2004
Location: London, UK
Posts: 4,999
Actually, it's probably /dev/sda2 you need to recover from, /dev/sda1 is /boot partition.

Change to root and run vgscan

Code:
su -
vgscan
Because you have LVM partitions on the two 500GB disks (sdb and sdc) you should be careful to identify the correct one on /dev/sda2, you can use vgdisplay to check its size (~160GB).

Assuming it's VolGroup00, then activate with

Code:
vgchange -ay VolGroup00
(If there's a clash of names then you can activate using -u UUID)

Now you should see logical volumes in /dev/VolGroup00/ , you probably want LogVol00 (in Fedora 11 it may be 'lv_root')

Code:
mkdir /mnt/recover
mount /dev/VolGroup00/LogVol00 /mnt/recover
and your files should be accesible in /mnt/recover
Reply With Quote
Reply

Tags
data, harddrive, recover

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Recover data from LVA partition latinos2005 Using Fedora 8 14th August 2007 10:23 PM
recover data from a usb disk knutjorgen Hardware & Laptops 2 13th July 2007 06:52 AM
Recover Data... mugs Using Fedora 12 24th November 2005 05:40 PM


Current GMT-time: 21:22 (Friday, 24-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Alaca - Jaciara - Kuala Lumpur Travel Photos on Instagram