Linux Mounting Partitions

Most Linux distribution include auto mounting for different file system types. Specific distributions, you need to mound some file systems your self. The following commands will allow you to mount different file system types.

To list all partitions attached to the system, use the following commands.

fdisk -l

First thing, create a mount point for this new file system.

mkdir /media/drive

You can create this folder anywhere on the system. Most distributions mount all drives to /media.

Mounting FAT or FAT32:

mount -t vfat /dev/sdb1 /media/drive/

Mounting NTFS:

mount -t ntfs-3g /dev/sdb1 /media/drive/

Un-mounting the drive:

umount /media/drive/