LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Mount Secondary EXT2 Drive (https://www.linuxquestions.org/questions/fedora-35/mount-secondary-ext2-drive-291197/)

StarSage 02-16-2005 09:30 PM

Mount Secondary EXT2 Drive
 
I have a secondary drive I've formatted into ext2 using Partition Magic
but I'm unable to figure out how to get this to mount.

I have a total of three drives on this computer, the primary (containing
FC3 install), the secondary (containing both WinXP/98 installs) and this
drive (containing ext2 and fat32 partitions)

I'm using KDE 3.3.1 and the list of hard drives in Konqueror doesn't
include this one, although the Hardware Browser (Gnome?) does show
the drive being listed as follows: dev/hdh hdh1/hdh6

Below is a copy of my fstab file. Would someone please be kind enough
to show me how to get linux to allow me to access this drive?

StarSage

# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup01/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/VolGroup01/LogVol01 swap swap defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/hdf /media/cdrom auto pamconsole,exec,noauto,fscontext=system_u:object_r:removable_t,managed 0 0
/dev/hdc /media/cdrecorder auto pamconsole,exec,noauto,fscontext=system_u:object_r:removable_t,managed 0 0
/dev/fd0 /media/floppy auto pamconsole,exec,noauto,fscontext=system_u:object_r:removable_t,managed 0 0

nonzero 02-16-2005 10:11 PM

mount -t ext2 (or vfat) /dev/hdh(a number) /mnt/(create a directory of your liking).
Which partitions are formatted as what?
Where do you want to mount them?
Have you seen man fstab-sync?

nz

masand 02-16-2005 10:11 PM

post the O/P of

fdisk -l

regards

jschiwal 02-16-2005 11:17 PM

It looks to me like you are using LVM. You could use the Fedora graphical partitioner program to set up the drives. The ext3 partition could be added to the home partition for example. That is the advantage of using LVM, being able to grow a partition by adding a new drive.

If you are the only user of the fat32 drive, you might want to use the 'uid=<your user name>' option to give you access. The fstype you use would be 'vfat'. You also need to indicate the umask mode you want, which can grant/deny other users access to the partition.

Please read through the 'man mount' and 'man fstab' pages for the other options available when mounting 'vfat' partitions.

Here is a LVM howto, but try to use the tools that FC3 provides first.
http://www.tldp.org/HOWTO/LVM-HOWTO/createlv.html


All times are GMT -5. The time now is 09:04 AM.