88 votes
Accepted

This location could not be displayed. You do not have the permissions necessary to view the contents of"Shared_Folder"

You have to add yourself to the shared folders group in the Ubuntu guest. sudo adduser $USER vboxsf Guest OS needs to be restarted after this.
44 votes

CIFS mount through fstab not mounting at boot

If _netdev doesn't work, try this option instead: x-systemd.automount It works by mounting the drive at first access. To test the automount, unmount your share if it's currently mounted: sudo umount /...
  • 441
43 votes

How can I launch a systemd service at startup before another systemd service starts?

The reason you are having this problem is because you are using After= while you also need Requires= or Wants=. There are 3 main properties for managing dependencies. I'll try to briefly explain the ...
  • 12.1k
41 votes

How to configure a NFS mounting in fstab?

A typical /etc/fstab entry for a NFS mount looks like as follows: 192.168.0.216:/mnt/HDD1 /media/freenas/ nfs defaults 0 0 The options you supply looks pretty much default, but you can ...
  • 6,053
32 votes
Accepted

Fstab doesn't mount with exec

Change that line to UUID=41dec246-654d-4e35-9d4e-68150e40c5b0 /mnt/Data ext4 rw,suid,dev,auto,user,async,exec 0 2 The position of exec is important, since user also applies noexec. ...
  • 3,370
30 votes
Accepted

Automount when clicking on disks in GUI file manager suddenly stopped working in Ubuntu. ("Unable to mount...Not authorized to perform operation.")

(Chrome Remote Desktop seems to be a problem for a lot of things! It will also block you from being an admin to operate your own printer!) Solved. For my particular case the problem was Chrome Remote ...
27 votes

How to mount partition permanently?

Use Disks utility. Select the disk, then click Additional partition options icon. Choose Edit Mount Options from drop-down menu.
  • 393
24 votes

How to mount drive in /media/userName/ like nautilus does using udisks

The accepted answer does not really answer the question, namely how to mount and unmount hard drives using udisks like Nautilus does when clicking on a disk. The command you are looking for is ...
  • 4,654
24 votes

Automount in 16.04

You can do this in the Disks application, it is preinstalled, search in the dash and open it. Now click the partition on the left and under the diagram in the center click the little cog icon Now ...
  • 18.1k
24 votes
Accepted

Ownership/permission problem with automounting exfat drive

Automount exfat with user permissions When specifying the auto option, the devices gets automatically mounted at boot time with root-permissions. The proper options for exfat are described in the ...
  • 3,670
22 votes

x-systemd.automount & CIFS shares in fstab

systemd was introduced in ubuntu 15.04. After adding x-systemd.automount to an fstab line, you need to run: sudo systemctl daemon-reload and then one, or both, of the following: sudo systemctl ...
21 votes

How to automount NTFS partitions?

Ubuntu 20.04 and later Open nautilus and create a new folder, I suggest in the home folder. Open the Disks application. Select the partition you want to automount and then click on Additional ...
  • 413
20 votes
Accepted

How do I disable the auto-mounting of internal drives in Ubuntu or Kubuntu 18.04

The Auto-mounting of disks in Debian-based Linux distros (and perhaps others) comes from a service called udisks2. Disabling this service will prevent any disk from automatically being mounted, while ...
  • 481
19 votes
Accepted

Ubuntu mounts external ntfs drive as read-only?

This is a common question and has been answered numerous times in AskUbuntu (for example, here). In short, you probably have fast boot turned on in Windows, which is why Linux will only mount it in ...
16 votes

CIFS mount through fstab not mounting at boot

I am using the Raspbian-Stretch build dated 2017-09-07 and experienced the same issue. However, I was able to overcome this by going into raspi-config and under the Boot Options menu, I enabled the "...
  • 161
11 votes

External drive mounts only as root

you need to add user option to your fstab (/etc/fstab) like this /dev/sdc1 /media/sdc1 vfat uid=1000,noauto,user 0 0 /dev/sdd1 /media/sdd1 vfat uid=1000,noauto,user ...
  • 1,355
11 votes

External drive mounts only as root

Ok, I got it. All of the above did not work but I noticed that /media/username was also out of bounds, which was really weird as as was logged in as username. I guess it all has to do with changing ...
10 votes

How can I prevent Ubuntu from mounting particular partitions/devices?

Just use gnome-disks facility in Ubuntu. Type this in your terminal:- user@user-X550LD:~$ gnome-disks Easy to use. Click on any partition and select the "settings" cog wheel down at the bottom near ...
10 votes

auto mount NFS via autonfs

To mount NFS shares we need to install nfs-common: sudo apt-get install nfs-common To save us from retyping this after every reboot we add the following line to /etc/fstab: <nfs-server-IP>:/ ...
  • 924
9 votes

How to mount a NTFS partition in /etc/fstab?

You can use ntfs-config GUI utility to mount NTFS partitions in fstab. ntfs-3g driver is required to provide full read-write support for the NTFS partition and gksu to run NTFS Configuration GUI with ...
9 votes
Accepted

Unable to mount usb error

Well, either your USB drive has died, or the filesystem needs to be repaired. You can try to repair it from Linux with: sudo ntfsfix /dev/sdb1 And if that doesn't work, you'll have to run chkdsk on ...
9 votes

Is it better to use UUID or PARTUUID to automount HDD with fstab?

If you use the PARTUID, you need to indicate that in fstab by starting the line with PARTUUID= rather than UUID. In the example you give, the system looks for an UUID, not a PARTUID, and indeed did ...
  • 78.1k
8 votes

Ubuntu 14.04 LTS - Automount CD/DVD to /media

Welp... I solved my own problem. sudo mkdir /media/cdrom0 And, add the following line to fstab: /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0 Everything returns to normal. ...
7 votes
Accepted

Securely automount encrypted drive at user login

You no longer need the solutions above. Prerequisites: an Ubuntu 14.04 LTS install an encrypted home directory (see https://help.ubuntu.com/community/EncryptedHome) a desire to automatically mount a ...
  • 94
7 votes

How to mount a NTFS partition in /etc/fstab?

I use the following that I find correctly gives me permissions upon mount (NTFS drive from a dual-boot system setup): Edit /etc/fstab: UUIDs can be found in /dev/disk/by-uuid/ (usually map to /dev/...
  • 656
7 votes

Fails to auto-mount device & Error mounting system managed device(Ubuntu 14.04)

As @Jos suggested, this is the bug Bug #1012081: util-linux needs updating to 2.24.2 and can be fixed by adding comment= in front of x-gvfs-show.
  • 277
7 votes

External drive mounts only as root

Try this: Unplugg the usb Open a terminal:Press Ctrl+Alt+T Run it: exec sudo -i mkdir /media/Elements chown -R -v sarah:sarah /media/Elements chmod -Rf 777 /media/Elements
  • 14.8k
6 votes

How to make partitions mount at startup?

use fstab echo '/dev/[VolumeGroup]/[VolumeName] [custom-directory] ext4 defaults 0 2' >> /etc/fstab Example: echo '/dev/hdd/hdd /mnt/hdd ext4 defaults 0 2' >> /etc/fstab echo '/dev/ssd/...
  • 161
6 votes

CIFS mount through fstab not mounting at boot

Using forward slashes (/) did NOT fix it for me. Also, adding the option _netdev to my /etc/fstab entry did NOT fix it for me. What I have done to fix this problem (on my Pi3) is modify /etc/rc.local ...
6 votes
Accepted

x-systemd.automount & CIFS shares in fstab

Ubuntu doesn't use systemd, so x-systemd.automount won't work. I guess it is just interpreted as an invalid mount option. If you want to have your CIFS share mounted on-demand have a look at this: ...
  • 76

Only top scored, non community-wiki answers of a minimum length are eligible