FC7 locate mounted drives

Mikkel L. Ellertson mikkel at infinity-ltd.com
Mon Nov 12 14:27:44 UTC 2007


Timothy Payne wrote:
> It seems FC does not want me to find the drives as root in Gnome, or
> it's really I don't know what I'm doing.  I just can't find the end
> where these are really mounted at /mnt is empty but /map says it has the
> room of one of partitions and no listing. I'm stuck.  Ideas?
> 
> [root at fedora ~]# mount
> /dev/sda2 on / type ext3 (rw)
> proc on /proc type proc (rw)
> sysfs on /sys type sysfs (rw)
> devpts on /dev/pts type devpts (rw,gid=5,mode=620)
> /dev/sda1 on /boot type ext3 (rw)
> tmpfs on /dev/shm type tmpfs (rw)
> none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
> sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
> nfsd on /proc/fs/nfsd type nfsd (rw)
> [root at fedora ~]#
> [root at fedora ~]# fdisk -l
> 
> Disk /dev/sda: 10.8 GB, 10800857088 bytes
> 255 heads, 63 sectors/track, 1313 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sda1   *           1          10       80293+  83  Linux
> /dev/sda2              24        1313    10361925   83  Linux
> /dev/sda3              11          23      104422+  82  Linux swap /
> Solari
> 
> Partition table entries are not in disk order
> 
> Disk /dev/sdb: 164.6 GB, 164696555520 bytes
> 255 heads, 63 sectors/track, 20023 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sdb1               1           5       40131   83  Linux
> /dev/sdb2   *          14       20023   160730325   8e  Linux LVM
> 
> Disk /dev/sdc: 164.6 GB, 164696555520 bytes
> 255 heads, 63 sectors/track, 20023 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sdc1   *           1        7266    58364113+   7  HPFS/NTFS
> /dev/sdc2            7267       20023   102470602+  83  Linux
> 
I am not sure I understand your question. I suspect that you want to
access the partitions on sdb and sdc. If that is the case, you will
need entries in /etc/fstab for them, or you will need to mount them
by hand, as root. Right now, you have partitions on sda mounted:

/dev/sda2 if mounted as /
/dev/sda1 is mounted on /boot

It looks like sdb is another Linux installation, with /boot on the
first partition, and everything else in a LVM volume in partition 2.

At a guess, I would say that sdc is either a Windows install with a
Linux data partition.

Now, mounting the first partition of sdb, and the partitions of sdc
are probably going to be easy. Mounting the stuff inside the LVM
volume group is a bit harder. For example, you could mount the
HPFS/NTFS partition using something like:

mkdir /mnt/windows
mount -t ntfs-3g /dev/sdc1 /mnt/windows

You could mount the Linux partition on the same drive using
something like:

mkdir /mnt/sdc2
mount /dev/sdc2 /mnt/sdc2

Now, the /mnt/windows and /mnt/sdc2 directories only need to be
created the first time, and can be and name you want. They also do
not have to be /mnt/<something> if there is someplace you would
rather have them show up. For example, I have a partition mounted on
/backup on one machine, and one mounted on /shared on another
machine. On my laptop, I have a partition that I share between
Windows and Linux that has my music mounted on /media/music.

Now, as far as mounting hte LVM volume, I will leave that to someone
else, or at least until I have more coffee in me.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20071112/5c821171/attachment-0001.sig>


More information about the fedora-list mailing list