Help - Search - Members - Calendar
Full Version: Accessing Other Linux Drives
Linuxhelp > Support > Technical Support
Hi. Ive just installed mandrake 9.1 as a second os on my home pc. Now I have a second hdd on my machine containing my old redhat installation, but I cant work out what drive name to mount in mandrake so i can access all my movies and tunes! Any ideas? I thought it would be: mount /dev/hdb /mnt/rh9 or something
First you need to create a directory to mount it in (/mnt/rh9 is fine):

mkdir /mnt/rh9

Next you need to know the exact partiton (not just the drive) that the rh9 stuff is on ... assuming that /dev/hdb is the drive (that would be the Primary IDE channel, slave drive ... Primary IDE master is /dev/hda, Secondary IDE Master is /dev/hdc, Secondary IDE Slave is /dev/hdd), do the command:

fdisk -l /dev/hdb

you will get a partition list like this:
[root@CentOS-31 root]# fdisk -l

Disk /dev/hdb: 73.4 GB, 73407868928 bytes
255 heads, 63 sectors/track, 8924 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot    Start     End    Blocks       Id  System
/dev/hdb1   *         1        17    136521       83  Linux
/dev/hdb2            18       148   1052257     82  Linux swap
/dev/hdb3           149      2106  15727635  83  Linux

In my case, hdb1 is the boot partition ... hdb2 is swap ... hdb3 is the root partition that has all the stuff in it.

So if that is the case, the command would be:

mount /dev/hdb3 /mnt/rh9
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.