Questions tagged [automount]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
87 views

Why does a new VHDX remain mounted after rebooting - and how can I restore that behaviour after dismounting it once?

I noticed every time after I created a new VHDX (usually Dev Drive) under Windows 11 (23H2) it stays mounted after rebooting. That is, until I dismount that VHDX once. Even re-mounting it afterwards ...
CodeSmile's user avatar
  • 429
1 vote
0 answers
168 views

Make systemd's network automount to conditionally require or bind to openvpn unit

I have a server, say, at my home, let's call it nas.local, so when I'm away, I can make an OpenVPN connection to the home network, and then mount some directories from my nas server: my "client&...
smitsyn's user avatar
  • 131
0 votes
0 answers
1k views

Automatic unlock of LUKS external data drive when plugged in

I have set up LUKS for an external USB HDD with two protectors: a passphrase and a file key. I would like to automatically both unlock the drive and automount when the drive is plugged in. I've set up ...
simon's user avatar
  • 447
4 votes
1 answer
6k views

How best to mount a drive in WSL as a shared drive?

I'm trying to simplify/automate my development environment in Windows, I have a lot of shell files I run on both Windows and the Linux subsystem, I've recently taken to editing my /etc/wsl.conf to ...
Gdfelt's user avatar
  • 43
1 vote
1 answer
428 views

Automount using UUID and fstab does not mount automatically after reboot

I have a Debian 10 in which I have one external ntfs drive. I have modified my /etc/fstab file to allow auto mounting of the drive liek the following: UUID="45DA303C05C96FEF" /media/...
Pat. ANDRIA's user avatar
1 vote
1 answer
2k views

How to stop Linux from auto-mounting USB drives?

I am trying to move my main desktop from a tower system to a NUC. Both tower and NUC are running Linux Mint (v19.3 and v20.1). The tower had an external toaster-drive socket into which I could plug a ...
Jeff Dege's user avatar
  • 500
0 votes
1 answer
2k views

Auto-mounting usb drive to certain dirrectory arch linux

I've been using arch for a while, and use udisks with udiskie to automount my usb drives. I have one usb drive that I store my code on, and often have to go to in the terminal. don't like having to ...
bobsfriend12's user avatar
0 votes
1 answer
1k views

Overriding udisks2 /media/$USER/mount with custom fixed mount point for specific volume, under Debian Buster

I am using Debian Buster, 10.7, and I am relatively new to udev/udisks2/systemd and have been making a effort to get to know them better and have learned quite a lot, though I cannot seem to figure ...
Vanfan64's user avatar
0 votes
1 answer
44 views

USB mount directory remains after power loss

How can I prevent, or clean up (in an unprivileged way), the USB mount directories that remain after a power loss? Here I'm inserting my USB stick: There are no other USB sticks present, and I ...
Mark Jeronimus's user avatar
1 vote
1 answer
752 views

Ubuntu 20.04 - gui app for easily mount usb drive

I am trying to connect a memory card reader by usb and i am very lazy to do it manually. Considering that this is a quite basic operation, is there a GUI app that I can use to mount the usb drive ...
vladimir.gorea's user avatar
2 votes
1 answer
427 views

How USB automount works internally in ubuntu 18.04?

I just want to understand how USB automount works in Ubuntu especially in 18.04. When an USB drive is connected to USB port what all things happen and what utilities or scripts or udev rules(probably) ...
Raxesh Oriya's user avatar
0 votes
1 answer
660 views

AMD RaidXpert2 / Ryzen (X570) - Windows 10 - How to automount array?

The problem is very simple. If you use RAIDXpert2 - so AMD's in-built RAID utility - the array will NOT auto-mount after a reboot. On each reboot I have to open the RAIDXpert2 utility, click Disk ->...
Apache's user avatar
  • 16.2k
0 votes
1 answer
2k views

Disable automount of removable media in GNOME/Nautilus

Using GNOME 3, how can I disable automounting removable media and if possible, do so using the drive ID?
cloudcalvin's user avatar
2 votes
0 answers
414 views

How to auto-mount a bitlocker-encrypted vhdx on a network share as soon as it is available?

I have a VHDX file on a (samba) network share I'd like to automatically mount that VHDX file (including entering the bitlocker key) whenever I join the network that contains that file. How can I ...
matthias_buehlmann's user avatar
0 votes
0 answers
260 views

Setting NOEXEC for all removable drives

I am using fedora 30 and I would like to prevent removable drives from being mounted with executable permissions. From my research I have found that Nautilus handles the auto-mounting(using Gnome on ...
techimperial's user avatar
1 vote
1 answer
4k views

macOS Catalina automount (net drives) broken

I'm currently running a beta of Catalina on a macbook. Which by the way if you intend to try, save yourself lots of pain and wait for official release, it's as buggy as can be. Security and permission ...
I'm a TI calculator's user avatar
2 votes
1 answer
2k views

Changing file permissions after mounting with fstab

I want to mount a drive with following default permissions: files: -rw-r--r-- folders: drwxr-xr-x owned by default user/group (1000) Which lead me to this fstab entry: UUID=XXX /media/drive ntfs ...
Chayze's user avatar
  • 78
0 votes
1 answer
158 views

Windows automount drive by label

Is there any way to automount windows drives (volumes) by label on an ntfs folder? I would like to have something similar to what is done in most linux distros (assign a folder as a mountpoint ...
bruno's user avatar
  • 1
3 votes
1 answer
2k views

MacOS - Map network drive on boot

On my mac I'd like to move my home directory to a Synology NAS. I'm unable to figure out how to mount the NAS drive on boot up. My workaround is to use a local user to auto-mount the drive, but that ...
Sriram Swaminarayan's user avatar
0 votes
1 answer
192 views

How do I automount luks encrypted external HD?

I have an external HD encrypted with luks. I would like it to automount on my home computer (using a key file stored at my $HOME directory) any time I plug it in (not necessarily at boot time) and ask ...
Rsevero's user avatar
  • 11
0 votes
1 answer
141 views

Why is writing on auto mounted partition not possible?

Despite it has rw option. An extraction of fstab: /dev/disk/by-uuid/0109cc2c-414c-42dc-8a99-3ffe529020fe /mnt/0109cc2c-414c-42dc-8a99-3ffe529020fe auto rw,exec,noatime,x-gvfs-show 0 0 This entry was ...
Asklep's user avatar
  • 127
0 votes
2 answers
122 views

MS Office DVD failing to mount

I'm at a small charity installing MS Office on several Windows 10 laptops (they already have Office installed on most of their PCs and apparently have a site license, although nobody knows who ...
ezekiel's user avatar
  • 337
0 votes
1 answer
139 views

Trigger file copy upon device insertion (without depending on systemd)

I would like to automatically have some files form a storage device copied upon its insertion. I am looking to use one and the same method on both systems which use systemd and systems using init ...
TheChymera's user avatar
1 vote
1 answer
570 views

autofs mounts in parent directory

For many years I have a problem with autofs, now. I thought there was a bug in the autofs version in my repository. Unfortunately, even after several system as well as distribution upgrades covering ...
Chickenmarkus's user avatar
11 votes
6 answers
29k views

Win 10 Linux Subsystem: Auto-mount network drives

I have no problems mounting a network drive W: with the following command: sudo mount -t drvfs W: /mnt/htdocs In /proc/mounts the corresponding line then is: W: /mnt/htdocs drvfs rw,relatime 0 0 ...
Michael Bolli's user avatar
20 votes
2 answers
14k views

Automounting USB drives on a headless systemd linux box

Approaches to auto-mounting devices in Linux keep changing, and googling returns quite a few solutions with various degrees of applicability for modern systemd-based boxes. The following approaches ...
ccpizza's user avatar
  • 7,763
1 vote
1 answer
1k views

USB drive with multiple partitions on Windows 10 - 1703

This concerns an issue with an USB flash drive on Windows 10 - 1703 (occuring on both, Home and Prof) The USB drive has a DOS partition table, the first (primary) partition is type 07 and formatted ...
damian's user avatar
  • 11
1 vote
0 answers
979 views

USB auto passthrough to KVM

I feel like there should be an answer for this but everything I have tried seems to land me in the same boat. I am trying to use a single USB port on my computer that gets a USB -> microSD card reader ...
DevinM's user avatar
  • 141
1 vote
1 answer
226 views

Automounting a virtualBox partition on RHEL - EmergencyMode at Boot

Question referenced: My virtualbox fstab will not auto-mount on reboot? I am trying to mount a vboxsf partition on RHEL7 at startup. mount -t vboxsf share /home/user/Windows works fine after i ...
ArunMKumar's user avatar
1 vote
0 answers
754 views

autofs cifs mount(s) hang / become momentarily unreachable

I use autofs on my Fedora 25 desktop in order to access some cifs mounts on my work network. /etc/auto.master: /home/user/work/mountpoint /etc/auto.custom --timeout=43200 --ghost /etc/auto.custom: ...
ktopaz's user avatar
  • 11
19 votes
8 answers
37k views

How to prevent "Unable to open MTP device" popups from opening?

I often plug my Android device into the USB drive simply for charging purposes with no intention to use the filesystem (and with the screen off or with the USB settings in "charging only" mode, either ...
Michael Aaron Safyan's user avatar
4 votes
1 answer
5k views

USB automount fail "Not Authorized"

USB automount worked well for several month but after some updates Nautilus displays . With these commands it works well : aubin@Breizh-Atao:~$ sudo fdisk -l [...] Disk /dev/sdf: 15.6 GB, ...
Aubin's user avatar
  • 194
2 votes
1 answer
8k views

How to Identify automount mount path

I need to know all the mount points monitored by autofs/automount. I came across "automount -m" to dumpmaps and "/etc/init.d/autofs status" in the older versions. But these commands doesn't work ...
user12345's user avatar
  • 121
1 vote
1 answer
2k views

How do I tell Windows to keep internal disks offline?

I don't want Windows to bring disks that are internal online automatically. Windows To Go has such a feature that can be set via an XML file; however, it requires jumping through a lot of hoops, ...
user541686's user avatar
  • 23.9k
1 vote
0 answers
447 views

autofsldap mounts /home, but not /share

I am pulling my hair out trying to make a client PC mount a /share folder automatically via autofsldap. Interestingly, mounting the /home directories works perfectly. The syslog contains no attempts ...
knipknap's user avatar
  • 121
0 votes
1 answer
664 views

automount usb on raspbian gives weird name to mount

My usb stick gets an ugly and very long name when automounted in raspbian. I would like to change 2 things here. 1st I want to get rid of that long name and have something like /media/usb 2nd, I'...
maxim's user avatar
  • 116
1 vote
0 answers
1k views

OS X: mount_nfs & automount behave differently

I have an OS X El Capitan computer and a Linux Mint NFS server, both attached to the same OS X El Capitan Open-Directory Server. The exports of the server look like this: /Volumes/PDISK2 10.0.0.0/16(...
iAdjunct's user avatar
  • 1,652
32 votes
2 answers
51k views

What is the noauto mount flag for?

Entries in fstab exist ONLY to specify things to mount at system boot or manually with mount -a, right? But I was reading up on the noauto mount flag, which apparently makes corresponding fstab ...
ACK_stoverflow's user avatar
1 vote
2 answers
3k views

Mount USB flash drive via command line as it would be mounted automatically after the stick pluged in under Linux

When you insert a flash stick into USB port the following happens: The file system of each USB drive partition is detected automatically Partitions are mounted automatically to a temporary path like /...
humkins's user avatar
  • 215
0 votes
2 answers
1k views

How I can properly auto-mount a drive using fstab?

On a raspberry pi, I can mount an external USB HDD via both sudo mount /dev/sda1 /media/sda1 and sudo mount -a. However, I can't seem to achieve the same effect inside fstab and a reboot. That file ...
Rick's user avatar
  • 295
1 vote
2 answers
9k views

Autofs 770 mount point permission

In /etc/auto.sshfs I write this: -fstype=fuse,uid=worker,gid=workers,rw,allow_other [etc other options] Then it correctly sets the mount point permissions to worker:workers when it mounts ...
user avatar
0 votes
1 answer
117 views

Strange transport layer port number during nfs conversation

I use autofs to mount nfs shares, autofses part works well, I can reach the leaf folders, but when I try to access that folder the following packet exchange takes place and my shell stacks, it drops [...
Edik Mkoyan's user avatar
2 votes
0 answers
891 views

Automount Shared Folder in VirtualBox 5.0.2/VBoxManage Intern Procedure

First I wondered, that I found nothing to the topic. Maybe I’m not so good searching? However, following command creates a new Shared Folder in VBoxManage: .\VboxManage.exe sharedfolder add <...
h0ch5tr4355's user avatar
  • 1,003
3 votes
1 answer
1k views

Remove static automount folder in Mac OS X 10.10.3

I have a strange apparently unused automount with nfs configured which I cannot remove. Probably, I mis-configured something when trying to set up LDAP or Kerberos a long while ago. Nothing special ...
Thomas's user avatar
  • 201
2 votes
2 answers
7k views

Windows Spanned Disk (LDM) automount

Every time i startup the server with 2x2tb raid harddrive i need to call the following methods to mount: ldmtool create all mount /dev/mapper/ldm_vol_SPONS_SERVER-Dg0_Volume1 /media/data Which is ...
Spons's user avatar
  • 105
1 vote
1 answer
1k views

autofs NFS mount directory hung

I have a problem when executing "df -h" command it hungs, I know since there is a unreachable/not responding NFS path this is causing the hung. All my scripts dependent of df -h is also piling up ...
Praveen M's user avatar
2 votes
1 answer
292 views

Trying to auto-mount a VHD from microSD results in Error 0x80004005

I was following the instructions from this question down to the last detail, however on my Surface Pro 3, all I get when looking at Task Scheduling is an unknown error everytime I boot up my Tablet. ...
dschib's user avatar
  • 21
1 vote
2 answers
8k views

Cannot write to any USB device mounted via Thunar file manager. Can only read as “root?”

I'm using Debian testing with XFCE as Desktop Environment and Thunar as filemanager. I've an issue regarding the mounting of USB mass storages such as USB flash drive. When I plug in the USB flash ...
Gilberto T.'s user avatar
4 votes
1 answer
6k views

Windows To Go - prevent internal disks from going online

I created Windows To Go from Windows 8.1 Pro according to these manual http://www.howtogeek.com/196817/how-to-create-a-windows-to-go-usb-drive-without-the-enterprise-edition/. But host PC disks are ...
Lluser's user avatar
  • 356
6 votes
2 answers
13k views

How to use /etc/fstab and/or automount with sshfs on OSX?

I'm attempting to automount a directory from a remote Ubuntu machine on my Mavericks Mac. SSHFS works perfectly when mounted manually, in many different ways. The standard sshfs mount works great: ...
Adam's user avatar
  • 212