Questions about mounting filesystems automatically, either at boot time or when plugging in

learn more… | top users | synonyms

2
votes
1answer
22 views

autofs fails with directories cross-mounted on server until root accesses them

When I try to access a directory which is cross-mounted on the nfs server, the result is an "Operation not permitted" error unless root has accessed the directory recently. If the directory is not ...
0
votes
0answers
12 views

Mount 2 drives as 1

I have a desktop system with a 128 GB SSD and a 1 TB HDD. I want to install Ubuntu on the SSD, but I want to 'combine' the 2 drives when the system start. I want the system to see the 2 drives as one....
0
votes
0answers
18 views

Automount encrypted drive in fstab

I have a internal hard disk that I want to mount. Standard methods to mount it once (click on the access-your-private-data, run ecryptfs-mount-private) did not work, so I managed to mount it manually ...
0
votes
1answer
42 views
+50

How to make external drive accessible to a user e.g. webservers user

I have a program which creates some log directories using root next to the directory the user has given as argument to the script. I later chown them to my webservers user. The problem is if all ...
6
votes
4answers
3k views

How to automount a partition on login?

I have my musics in another partition of the HD, and I would like that, on login, the partition to be auto-mounted, so I can just open the media player and listen to my music. Is there a way?
0
votes
1answer
20 views

Kubuntu 16.04: How to disable swap partition from auto-mounting?

I have 2 swap partitions on my drive, one for Kubuntu(/dev/sda7), the other for Kali Linux(/dev/sda9). After googling around for methods how to stop the Kali Linux swap partition from auto-mounting on ...
7
votes
2answers
11k views

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

I used auto-mount option in Ubuntu 14.04 for mounting my all drives at startup. All drives mounts automatically on startup except /dev/sda3. (Let me clarify that /dev/sda3 is ext4 file-system and ...
-1
votes
0answers
11 views

Ntfs partition not visible after installing Ubuntu

i installed Ubuntu 14 on my Satellite C50 notebook successfully but i cant see may previous D:/ partition for windows which is "/dev/sda4 * 344064000 976771071 316353536 7 HPFS/NTFS/exFAT" ...
1
vote
1answer
53 views

Ubuntu 16.04 no devices shown in nautilus

Since today all my devices stoped showing in nautilus sidebar. I still can do manual mount, but it's not very convenient. I also reinstalled autofs with sudo apt-get install --reinstall autofs but it ...
1
vote
1answer
437 views

Fstab doesn't mount with exec

I have an ext4 partition that I mount using the following fstab line UUID=41dec246-654d-4e35-9d4e-68150e40c5b0 /mnt/Data ext4 defaults,user 0 2 But then I realized that I can't ...
0
votes
1answer
47 views

Automount USB drive as /media/USERNAME/LABEL

Quick summary: How can I arrange for USB FAT32 thumb drives to be auto-mounted as /media/USER/LABEL, with non-root read/write permissions? (There are a lot of questions here about automounting USB ...
0
votes
1answer
35 views

Writing udev rule for fixed mount point for hotswap SATA devices (Ubuntu 14.04)

I have two SATA drive bays (hot-swap) and I want the first partition of the drives to be mounted to /media/disk01/ and /media/disk02/ ignoring all other partitions. The automounter should be turned ...
3
votes
1answer
4k views

Mount exFat drive on Ubuntu 13.04 not as root

I realised that Ubuntu 13.04 automatically mounts my internal drives which are some exFats automatically when I try to open them. Thats good. However, it is mounted as "root" and I want to mount it ...
0
votes
1answer
52 views

Disable external hard disk auto-open/autoplay at every startup!

I've already run this: gsettings set org.gnome.desktop.media-handling automount-open false and uncheck automount & automount-open in dconf-editor but problem remain. Edit: I run Ubuntu-Mate 16....
3
votes
3answers
444 views

Is there a command to “manually automount” an attached disk?

I have an extra hard drive which I use for backups. The label on its one and only partition is "backup". When I open nautilus and click on "backup" it mounds the drive in "/media/backup", and then ...
4
votes
3answers
8k views

Nautilus does not mount usb storage automatically

devices are recognized and can be mounted using mount command (see Ubuntu 12.04 stopped suddenly to recognize all usb storage.) but are not automatically mounted. using Ubuntu 12.04 on dell Lattitude ...
0
votes
0answers
21 views

Automount Removable NTFS Partition with Permissions

I have a USB drive with an NTFS partition. When I plug the drive in, it will be automatically mounted in /media/user/ (this is Ubuntu 14.04). I would like to use POSIX permissions so that I could ...
0
votes
0answers
27 views

Automount Windows network share only when particular network is available?

I need to sync a few folders on Ubuntu my laptop with a few folders on my Windows desktop. I'm currently manually mounting the Windows folders (NTFS filesystem) to mount points on my laptop's SSD. If ...
1
vote
2answers
184 views

pam_mount stopped working

This is how it worked: my Ubuntu workstations authenticate against Active Directory, and pam_mount mounts some CIFS directories on user logon. Now, for some reason, pam_mount stopped working and no ...
0
votes
0answers
204 views

Auto-Mount SD-card formatted as ext4 on ubuntu touch

I try to use an MicroSD card containing a chroot environment which I can break, e.g. by installing software, without damaging the OS on my bq Aquaris E4.5 Ubuntu Edition, however I can not let the ...
0
votes
1answer
167 views

How to create script for run sudo mount -a

I'm very very new for ubuntu. I have one raspberry with ubuntu-mate os. Now I got one problem with it. I edit fstab on /etc/fstab for mount share folder from windows server. It works fine after I do ...
0
votes
1answer
146 views

Automount in 16.04

I need automount for internal and external storages. On boot and on connect. For now I have to click in file manager to make it accessible which is weird for 2016! I know that only udev can be ...
2
votes
3answers
165 views

How to prevent Ubuntu from mounting a partition it finds?

Adding a static fstab record for a particular partition effectively prevents automatic mounting logic from handling it and this works great when I want the partition to actually be mounted (in a place ...
0
votes
1answer
27 views

Removing automounted USB device

I want a disk connected via usb to automatically mount (so that I don't have to open nautilus and mount the device before launching applications that access some files on the disk). Automounting works ...
0
votes
0answers
19 views

Automatically mount partitions of external HDD after login and not to look for them during startup [Ubuntu 14.04]

Currently, during startup the system tells me that : "The disk drive for /.../MyDrive is not ready yet or not present. Continue to wait, or press S to skip mounting or M for manual recovery." So I ...
30
votes
5answers
113k views

How to make partitions mount at startup in ubuntu 12.04

How do you make HDDs and partitions mount at startup with the ubuntu system? I always keep my media and data files on separate partitions - one 2tb HDD and a 400 odd gig partition. I have been ...
0
votes
1answer
345 views

How to make partitions mount at startup in Ubuntu gnome 16.04?

How do you make windows partitions mount at startup with the ubuntu system? I always keep my media and data files on windows partition.
0
votes
1answer
130 views

How to automatically mount drives after boot?

In http://askubuntu.com/a/119818/5032 qbi says: add noauto to your fstab: ... So the filesystem will not automatically mounted at startup. Furthermore you write a script which ...
0
votes
1answer
64 views

Drive fails to auto-mount at startup

I have a new laptop that's got both an SSD and an HDD. It's dual booting Windows and Ubuntu. The problem is that I can't seem to get Ubuntu to mount the ext4 partition of the large storage (HDD) drive....
3
votes
2answers
19k views

USB drive are not mounted automatically

My USB Drive is not mounted automatically but it has detected through lsusb. I also used dconf-Editor but it is not working. Every time I have to mount manually through Disk Utility.
0
votes
0answers
44 views

Where to mount user home directory with autofs

I was experimenting with autofs + ldap in the past on an Ubuntu server. The first time I attempted this I set the autofs settings to mount user directories to \home\ and as some of you know I lost all ...
0
votes
1answer
264 views

Ubuntu 16.04 LTS not automounting ZFS pool after reboot

I recently installed Ubuntu 16.04 LTS on my desktop and wanted to move my existing ZFS pool over. I did that by doing the following: $ sudo apt-get install zfsutils-linux $ sudo zfs mount -vO -a ...
0
votes
1answer
133 views

What has changed between 14.04 and 16.04 regarding fstab mount order?

My installation of Ubuntu 14.04 has an /etc/fstab which mounts one line at a time, and the order is important for my application. I am now trialling 16.04, and it seems entries in fstab are now ...
5
votes
2answers
9k views

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

I would like to stop Ubuntu from mounting my other (Windows) partitions automatically since I do not need it very often, I would like not to automount "System reserved" partition for Windows. There ...
0
votes
5answers
96 views

External drive mounts only as root

I'm having trouble with a USB drive. It used to automount just fine but for some reason those good old days are over. Not only does it not automount but mounting it as a regular user from Nautilus or ...
0
votes
1answer
90 views

How to automatically `sudo mount`?

I have a couple of shared directories on my NAS server that I want to automatically mount. Currently I have tried putting them in my .bashrc file but this means every time I open a terminal it will ...
1
vote
0answers
14 views

Disable automount for one particular drive

I know how to disable automount for all drives. But I want to disable automount for one particular drive only. How to do this? Version: Ubuntu 14.04.3 LTS
0
votes
1answer
21 views

Why is gconf-editor showing limited keys?

Running 14.04 Trusty (on chromebook chroot) and trying to get rid of volume mounting desktop icons. As per many articles, trying to use gconf-editor to change volumes_visible key but there's nothing ...
0
votes
1answer
51 views

x-systemd.automount does not work for ext4 on LVM LV

For following setup: $ lvcreate -L 2048G -n lv99 vg99 $ mkfs.ext4 /dev/mapper/vg99-lv99 $ blkid /dev/mapper/vg99-lv99 /dev/mapper/vg99-lv99: UUID="11111111-2222-3333-4444-555555555555" TYPE="ext4" ...
0
votes
1answer
41 views

Automount pendrive like Ubuntu Desktop in Ubuntu Server (15.10)

I use the Ubuntu Desktop on my PC and want my Ubuntu Server to automount USB media just like it does on my Desktop: plugin, a folder with same name as label appears in /media/ with the device mounted. ...
0
votes
0answers
14 views

How auto-mount an external Flash disk into a home folder

I have a flash disk where I put videos and I want to auto-mount this USB memory stick into the Videos folder when it's plugged to the computer.
4
votes
2answers
7k views

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

As of my current installation of Ubuntu 13.10 Unity, when i click on a drive in nautilus it get mounted in /media/username/mountedDrive i read that nautilus use udisks to do that. Basically i want to ...
10
votes
5answers
10k views

Securely automount encrypted drive at user login

An encrypted /home directory gets mounted automatically for me when I log in. I have a second internal hard drive that I've formatted and encrypted with Disk Utility. I want it to be automatically ...
9
votes
1answer
4k views

How to get permissions to execute programs from NTFS hard drive?

I have this problem: I'm used to compile and run .c files with CodeBlocks. If I do that from my Desktop (ext4 partition) it works without problems, but doing this from my secondary hard drive (NTFS ...
2
votes
3answers
233 views

Trouble automounting an SD card on Trusty

I need an SD card to be mounted unattended, as soon as it is inserted in its slot. Usual enough, but the prbm is it does not get mounted and I am missing why. In /etc/fstab: #Entry for /dev/...
0
votes
1answer
45 views

ubutnu 14.04.4-How to avoid automount of devices

I would like to know how does work the automount of all the devices at the startup of the system, and when I insert a new usb device. I have a live distro of ubuntu 14.04.4 (without any gui,so I can ...
0
votes
0answers
18 views

Symbolic link automount

I created a symbolic link on my desktop to a directory in a different partition. When I unmount the partition, clicking on the link won't automount the partition, but it will if I click the icon on ...
0
votes
0answers
24 views

Disable automount only for Nikon DSLR camera - Ubuntu

Can someone help me out with this issue. Did a search but couldnt find a thread that helped. I need to be able to disable automount for my Nikon DSLR only when its plugged into the USB, its got 2 SD ...
0
votes
2answers
179 views

How can I read SD card on ubuntu?

I read various topics here, but wasn't able to find solution for my problem. I have a sdcard reader on my dell v131 laptop with ubuntu 15.10 installed. I insert my sdcard to reader and cannot find it ...
0
votes
1answer
44 views

How did I mount my Windows partitions?

So, 2 months ago, I wanted to access my Windows partitions while my device is booted on Ubuntu. I had some other work, so I gave this work to my friend. He tried some things apparently. It shows the ...