Permanent Mount Devices/File System in Linux

Permanent Mount Devices/File System in Linux

How to mount Devices/File System in Linux

This guide only covers NTFS partitions, for other file systems you will need to change the commands or types as needed.


Mounting makes file systems, files, directories, devices, and special files available for use at a particular location. It is the only way a file system is made accessible.

The mount command instructs the operating system to attach a file system at a specified directory.

But when we use mount command to bind devices with our Linux system, it's only accessible till power on, if we power off the system we need to mount again.

If we want to mount permanent we have to add in FSTAB file.

Steps to Mount Permanent

  1. Identify universally unique identifier (UUID) of Device using following command:-
  1. blkid

  1. Open the fstab file to add UUID
  1. vim /etc/fstab
  1. Copy the UUID="E47293CC7293A1BA" & Type="ntfs" and add in fstab file as shown in fig2:-
  2. Use "i" to edit


  1. Use "esc" key to exit insert mode and type ":wq" to save and quit from file
  2. Now we don't need to mount again and again, system will automatically mount from "fstab" file.

    • Related Articles

    • How to Partition, Format, and Mount Secondary Drives in Linux - Manual Drive Configuration (MDC)

      Introduction This guide provides detailed instructions on how to manually configure secondary drives in a Linux system, including partitioning, formatting, and mounting the drives. Warning Performing these steps on an existing primary drive or a ...
    • Mount NTFS File System Flash Drive in Centos7.

      To Mount NTFS File System USB Drive/Pen Drive/Flash Drive execute following Commands: - Install NTFS Package. sudo yum install -y epel-release ntfs-3g Now mount Pen Drive. mkdir /mnt/pendrive sudo mount -t ntfs-3g /dev/sdd1 /mnt/pendrive Note: ...
    • What is Boot Process in Linux OS.

      Boot Process in Linux OS. Have you ever wondered what happens behind the scenes from the time you press the power button until the Linux login prompt appears? Press the power button on your system, and after few moments you see the Linux login ...
    • Backup, Snapshot, and Restore Linux installations using Timeshift

      If you mess up (or are going to mess up) some config files or drivers, it is always good to have a fallback point. The de-facto standard for doing this on Linux is Timeshift. Timeshift for Linux is an application that provides functionality similar ...
    • Setup FTP access to rocky linux 9.5 server using vsftpd

      Install vsftpd sudo dnf install vsftpd -y Enable and Start the vsftpd Service sudo systemctl enable vsftpd --now Verify the status: sudo systemctl status vsftpd Adjust Firewall Rules By default, the Rocky Linux firewall blocks FTP traffic. Allow it: ...