Quote
[root@linux ~]# fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 60801 488279610 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
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 60801 488384001 8e Linux LVM
That is the important one.
I am not sure how much you know about linux but I will try and give you a rough overview.
There are no drive letters under Linux. Instead, the root of the file-system, known as C:\ under Windows, is identified simply by a forward
slash (/). Each device is listed as a device in the /dev folder. All drives start with a "sd" or "hd" depending on their type. Yours start with the "sd". To differentiate
physical drives are letters denoting the actual
physical drives eg. the letters a,b,c. So that makes the first drive in your system "sda". Finally the partition number is added to drive you are looking at. So the first partition on drive "a" would look like (for you at least) "sda1".
Therefore it would be listed as a device as "/dev/sda1". The next
physical drive will be listed as "/dev/sdb" and with the partition included it would be listed as "/dev/sdb1". Note that "/dev/sda1" and "/dev/sdb1" are different, they are 2
physical drives. This is different than in Windows, where each partition or drive would be listed as a different drive letter. For example what would be "/dev/sda1" and "/dev/sda2" to linux, would be drives C: and D: to Windows, even though it is the same
physical drive. And what is "/dev/sda1" and "/dev/sdb1" to linux would also be drives C: and D: to Windows because they are two different drives. See how it works? With linux there is a distinction between partition and drive. Whereas with Windows there is no such distinction.
Now why did u need all of that?
With that information we can now interpret the results of fdisk -l much better.
/dev/sda1 * 1 13 104391 83 Linux
we know that /dev/sda1 is your
first drive and your
first partition.
/dev/sda2 14 60801 488279610 8e Linux LVM
we know that /dev/sda1 is your
first drive and your
second partition.
/dev/sdb1 * 1 60801 488384001 8e Linux LVM
we know that /dev/sda1 is your
second drive and your
first partition.
That is your second drive.
Now to mount it. This is the simple part. You should first try (do all of this in terminal or console from here on i will use the term BASH)
mount /dev/sdb1
(if your operating system requires sudo go ahead and use it if you need it.)
you will probably get something like
mount: can't find /dev/sdb2 in /etc/fstab or /etc/mtab
This is fine, because all it means is that the system does not know while folder to put this drive in.
Next in your BASH prompt type in:
mkdir /media/sdb2
or
mkdir /mnt/sdb2
(if your operating system requires sudo go ahead and use it if you need it.)
Depending on your operating system its different. If you have a /media folder then put it in there.
Finally type in:
mount /dev/sdb1 /media/sdb2
or
mount /dev/sdb1 /mnt/sdb2
(if your operating system requires sudo go ahead and use it if you need it.)
Finally navigate to to that folder on your drive, and you should see the contents of the drive in that folder.
I suggest you look at this free book:
Ubuntu Pocket Reference. It gives a fairly good tutorial of Linux, and while it is focused on Ubuntu, you can learn a lot from it.
hope this helps
~powerjuce
Edit: Added the link to book.