LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-16-2010, 04:33 AM   #1
bootneck
LQ Newbie
 
Registered: Jun 2006
Posts: 7

Rep: Reputation: 0
Reading from Hard Disk


Hi,

I'm a pensioner working on a very tight budget.

My old PC recently gave up the ghost and having got second machine need to extract information from the original machines HD. Both the old and replacement machines run (or ran) on FC12.

If I install the old PC's HD into the replacement machine as a second HD will I be able to get at and read the files it holds?.
 
Old 10-16-2010, 05:05 AM   #2
ArisBoch
LQ Newbie
 
Registered: Oct 2010
Posts: 15

Rep: Reputation: 0
You should have no problem retrieving your data from the old hard drive. Just set it as slave and mount it in FC12.

Use sudo fdisk -l to see what device it is, then just make a directory and mount it. EG: mkdir /media/slave_drive then: mount -t (filesystem) /dev/(device) /media/slave_drive
 
Old 10-16-2010, 06:30 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
I assume you installed Fedora using the defaults which means the disks are formatted with a LVM partition. You can verify by via the GUI LVM manager or by examining the output of the console command fdisk command:
fdisk -l (That is a small L and you must be root)

If you are using LVM then it is a little more complicated to mount the old drive then a regular partition as suggested in the previous post. As indicated in the link you will need to change the volume group name before it can be mounted on your new computer.

http://fedoraproject.org/wiki/JohnBabich/Mount_LVM
 
Old 10-17-2010, 10:45 AM   #4
bootneck
LQ Newbie
 
Registered: Jun 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by michaelk View Post
I assume you installed Fedora using the defaults which means the disks are formatted with a LVM partition. You can verify by via the GUI LVM manager or by examining the output of the console command fdisk command:
fdisk -l (That is a small L and you must be root)

If you are using LVM then it is a little more complicated to mount the old drive then a regular partition as suggested in the previous post. As indicated in the link you will need to change the volume group name before it can be mounted on your new computer.

http://fedoraproject.org/wiki/JohnBabich/Mount_LVM
Many thanks to both for your help.
 
  


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
Hard disk: not reading partitions or not readable? F*SH Linux - Hardware 2 05-03-2010 09:18 AM
Reading ISO image from hard disk ..!!!! sunil.amperayani Linux - Desktop 2 10-12-2009 08:21 AM
Find out what hard disk is reading/writing to newbuyer17 Linux - General 9 05-22-2008 01:49 AM
the system is hung reading the hard disk dissident_goodchild Ubuntu 4 04-30-2007 04:41 AM
Reading raw hard disk sectors villie Programming 4 05-13-2004 12:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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