Questions tagged [automount]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 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 ...
user avatar
  • 408
0 votes
0 answers
11 views

Prevent USB Partition to be automount on EVERY WINDOWS device

I have USB stick and What I want to achieve is: Split the USB into 2 partitions Make First Partition bootable and install Multible ISO using YUMI Multiboot Make the Multiboot partition hidden from ...
user avatar
1 vote
1 answer
564 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 ...
user avatar
  • 13
0 votes
0 answers
29 views

5TB GPT drive doesn't automount in Windows

I have an external USB 3.0 GPT 5TB drive. I've tried diskpart (automount enable), fixing the part table, chkdsk /r, etc. The storage management doesn't give an option to assign a drive letter and ...
user avatar
1 vote
1 answer
103 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/...
user avatar
1 vote
1 answer
240 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 ...
user avatar
  • 440
0 votes
1 answer
522 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 ...
user avatar
0 votes
1 answer
242 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 ...
user avatar
0 votes
1 answer
28 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 ...
user avatar
1 vote
1 answer
307 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 ...
user avatar
2 votes
1 answer
99 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) ...
user avatar
0 votes
1 answer
282 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 ->...
user avatar
  • 15.7k
0 votes
1 answer
563 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?
user avatar
2 votes
0 answers
139 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 ...
user avatar
0 votes
0 answers
126 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 ...
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 ...
user avatar
1 vote
1 answer
890 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 ...
user avatar
  • 68
0 votes
1 answer
61 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 ...
user avatar
  • 1
3 votes
1 answer
934 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 ...
user avatar
0 votes
1 answer
105 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 ...
user avatar
  • 11
0 votes
1 answer
93 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 ...
user avatar
  • 129
0 votes
2 answers
117 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 ...
user avatar
  • 307
0 votes
1 answer
76 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 ...
user avatar
1 vote
1 answer
437 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 ...
user avatar
11 votes
6 answers
24k 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 ...
user avatar
18 votes
2 answers
11k 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 ...
user avatar
  • 6,900
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 ...
user avatar
  • 11
1 vote
0 answers
833 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 ...
user avatar
  • 121
1 vote
1 answer
216 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 ...
user avatar
1 vote
0 answers
558 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: ...
user avatar
  • 11
14 votes
7 answers
29k 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 ...
user avatar
4 votes
1 answer
4k 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, ...
user avatar
  • 194
2 votes
1 answer
6k 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 ...
user avatar
  • 121
1 vote
1 answer
1k 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, ...
user avatar
1 vote
0 answers
426 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 ...
user avatar
  • 121
0 votes
1 answer
436 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'...
user avatar
  • 110
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(...
user avatar
  • 1,602
26 votes
1 answer
35k 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 ...
user avatar
1 vote
2 answers
2k 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 /...
user avatar
  • 205
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 ...
user avatar
  • 275
1 vote
2 answers
8k 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
107 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 [...
user avatar
2 votes
0 answers
880 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 <...
user avatar
3 votes
1 answer
970 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 ...
user avatar
  • 191
2 votes
2 answers
6k 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 ...
user avatar
  • 105
1 vote
1 answer
998 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 ...
user avatar
2 votes
1 answer
277 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. ...
user avatar
  • 21
1 vote
2 answers
7k 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 ...
user avatar
3 votes
1 answer
3k 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 ...
user avatar
  • 316
4 votes
2 answers
11k 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: ...
user avatar
  • 172