I would recommend you make a backup of the /etc/fstab file before making any modifications, which can be helpful if anything goes wrong. Roll up your sleeves and open a terminal window.Īs you know, to automount the physical drive or network drive, you need to add a line in the /etc/fstab file, which will handle the nitty-gritty of the mounting drive. Now you will see a conventional way to automount a drive without installing any utility. CLI Method for automount diskĪbove you have seen the graphical way to mount a drive. That’s all for automounting through the Graphical (GUI) method, and now you will see a CLI way to automount drive. Click on play to mount Disk is mounted successfully From here, you can mount your drive or partitions. Once you authenticate successfully, you will get back to the main screen.
Under my system hood, I have a single SSD disk that has multiple partitions.Įnter the password to modify /etc/fstab file Once you open the disk utility, it will show you multiple disks only if you have attached them to your system.
$ sudo pacman -S gnome-disk-utility // ArchLinux/EndeavourOS Manipulate Mount optionsĪfter the installation, run gnome disk utility or search for “disk” in the App Drawer.
$ sudo dnf install gnome-disk-utility // AlmaLinux/RockyLinux/RHEL To install gnome-disk-utility, pass the following command accordingly to Linux distributions: $ sudo apt install gnome-disk-utility // Debian/Ubuntu Based Distrbutions
Another desktop environment, like KDE, XFCE, etc., needs to be installed. This tool is preinstalled with Ubuntu as a gnome desktop environment. Install Gnome Disk Utilityįirst and foremost, you need to install gnome-disk-utility, which is the best tool for this purpose.
This method is highly recommended if you are new to the Linux environment because an unintended modification to /etc/fstab can boot your system into rescue or maintenance mode, which can be overwhelming for you right now to get a rescue. First, I’ll go through the GUI steps because this will be convenient for neophyte users because unintended modification of /etc/fstab can break down your system.Īfter that, you will see the second method, where we will modify /etc/fstab.