How to mount new partition on Linux
Posted on 2004-08-13
I have been away from Linux for several years now and have forgotten most everything. Don't even have my books anymore. Nevertheless, I am administering a Linux server (kind of shows you how hard that is!! :)
In any case, I need to mount a partition and am not getting anywhere. I would like something like Disk Druid, but I read that it is only available during installation. So I created the new partition using Partition Magic from NT.
The OS is RedHat 8. Here is the current configuration (hdb is the one of interest):
120 GB hda:
Windows NT in first partition
30 GB hdb:
small NTFS partition
newly formatted ext3 partition on most of the disk--this is the one I want to mount
What I need to know is what I need to do to mount this partition. I have tried
mount -t ext3 /dev/hdX /var/local/Backup/mnt-hdb
where /dev/hdX refers to attempts at different numbers from 1 thru 3
and where /var/local/Backup/mnt-hdb is a newly created directory.
I always get an error message.
Eventually I would like to edit fstab so that this partition is auto-mounted. I am looking for the proper mount command and fstab entry.