I am sick of always having to google for the process of adding a drive to the fstab using text editor.

Is there a way to add say a CIFS samba share to the fstab with a Ubuntu GUI? Like Windows' map network path functionality.

migrated from serverfault.com Jun 10 '17 at 5:08

This question came from our site for system and network administrators.

  • 2
    Open /etc/fstab in your favorite editor, duplicate one of the entries for another CIFS partition, edit the address of the remote machine and the mount point, and save. Problem solved. – Satō Katsura Jun 10 '17 at 7:51
  • 1
    Not what i was asking for. thanks though. – Nicholas DiPiazza Jun 10 '17 at 12:21

On Ubuntu you can edit your fstab using the gnome-disk-utility. From the terminal run gnome-disks or type Disks from the dash. Select the disk then the partition, from the Option menu select Edit Mount Options.

  • No this does not work. Using Gnome Disks utility, I tried using change to the auto-mount switch and check-boxes to auto-mount instead. It does not change anything in fstab. Also root password is not passed. When I manually mount the drives, it asks for the root password. That has to be passed along and well anyhow it is a failure. Also looking at fstab after changes reveal that nothing was added or removed. I am using MX-16 Linux, but it appears to be the same for most any Linux. – Ken Nov 23 '17 at 23:32
  • 3
    If your password entry dialog is less-than-functional, you can run the utility as root from the terminal by issuing sudo gnome-disk-utility. This will bypass the broken GUI password prompt. – Mioriin Nov 24 '17 at 9:34

KDE Partition Manager is an alternative to gnome-disk-utility , it can be installed on Ubuntu and debian based distro.

file, disk and partition management for KDE

Partition Manager is a utility program to help you manage the disk devices, partitions and file systems on your computer. It allows you to easily create, copy, move, delete, resize without losing data, backup and restore partitions.

Partition Manager supports a large number of file systems, including ext2/3/4, reiserfs, NTFS, FAT16/32, jfs, xfs and more. Note that to gain support for a specific file system other than ext2/3/4, you should install the corresponding suggested package.

Partition Manager is based on libparted (like gparted) and makes use of the KDE libraries for its user interface.

To install KDE Partition Manager:

sudo apt install partitionmanager
  • 1
    In my opinion, the interface of KDE Partition Manager is more accessible than Gnome Disks. I have some notions of system administration. In practice, I edit the fstab file because it is more efficient but using a graphical interface may be useful: tasks organized, data provided... (e.g. Webmin). – Fólkvangr Dec 14 '18 at 14:05

Not the answer you're looking for? Browse other questions tagged or ask your own question.