Linux Mount Examples

Here's a collection of Linux mount examples. I tend to forget these and have to search for examples on the Internet. This page will be updated regularly as I gather more mount examples. Note there are some example that use "-t auto". Most modern Linux distributions can recognize the type of the device automatically.

  • Mount an IDE hard drive partition - These are usually devices hda, hdb, hdc, etc.
          mount -t auto /dev/hda1 /mnt/point
  • Mount a SCSI or SATA hard drive partition - These are devices sda, sdb, sdc, etc.and stand for serial device. The newer SATA drives are serial devices. Also, I've noticed that the newest versions of the Linux kernels are assigning hard drives who were recognized as hda (or hdab, etc.) as sda.

          mount -t auto /dev/sda1 /mnt/point
  • Mount an IDE CDROM drive - These can be devices cdrom, hdc, etc. It depends on how the O/S recognizes the drive.

          mount -t iso9660 /dev/cdrom /mnt/point
  • Mount an ISO file

          mount -t iso9660 -o loop image.iso /mnt/point