How to add second drive to Linux Fedora

I have two running Fedora machines.

I need to remove the harddrive from one machine and connect it to other one.
Actually I did this, and machine recognize the second drive, but I can't access the files!

I did not used and mount or other command, I just set it as slave and restart the machine.

I can see the second drive in Fedora's GUI, but I can't access the files.

Hiow can i mount this second drive without repartitioning or loosing its data?

What are the Commands to do this in command prompt?

Who is Participating?
xberryConnect With a Mentor Commented:
Of course info about use of commands you get with

  man [your command]  

For instance:

  man mount
Of course, you'd have to mount your second drives Linux filesystem to the filesystem of your
first drive.

In order to find out which device name to use, as root type:

  fdisk -l

This should give you a summary of drives and partitions found on your machine
with their device names.

Create a directory where you'd like to have your disk mounted to:

  mkdir /mnt/disk2
Assuming your second harddisk is physically mounted to second IDE and resides on first partition, then
it should be reckognized as /dev/hdc1. Also you need to know the filesystem type
on second disk, assuming it's ext3, so this mount command should work:

  mount -t ext3 /dev/hdc1 /mnt/disk2

Accordingly, if you use Reiser filesystem:

  mount -t reiserfs /dev/hdc1 /mnt/disk2

If there is already an entry in /etc/fstab:

  mount -a /dev/hdc1 /mnt/disk2
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.