Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [automount]

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

Filter by
Sorted by
Tagged with
-3 votes
0 answers
50 views

Auto mount unprotected network drive

I have an unprotected(no password authentication required) network drive that I would like to map at start-up on Ubuntu desktop. I am manually mapping the drive to /mnt/drive, using the command sudo ...
SwIthers's user avatar
0 votes
1 answer
38 views

Ubuntu 22.04 - Nautilus - SMB mounts showing up twice on sidebar

I have an ubuntu 22.04 system (gobsmack) that has mounts to an SMB share \foosmb with three shares: alphashare, betashare, deltashare When I mount the foosmb shares on gobsmack, the entries for alpha/...
lonstar's user avatar
  • 123
0 votes
0 answers
31 views

Automount encrypted Luks USB device when connected

how can I automount an encrypted USB device (e.g. USB stick) via key file, when connected. What I did so far It works during boot time. The device will be encrypted via keyfile and mounted in /mnt/usb,...
Gusiph's user avatar
  • 1
1 vote
0 answers
52 views

How to automatically mount a removable USB device in a Docker Desktop Linux container

Problem: I want to run a Linux container via Docker Desktop, and have a removable device (e.g. USB stick) automatically mount within the container, when it's inserted. Up until now, I've been using ...
Andrew Fielden's user avatar
0 votes
1 answer
75 views

zfs drive (not root) not automounting on boot

I run ubuntu 24.04 and formatted a drive with zfs and it works as expected. But it is not mounted automatically on bootup. Sometimes it does and sometimes not. If i boot up another distro och boot ...
Bengt-Ake Varg's user avatar
0 votes
0 answers
42 views

Both SSDs are very slow

I have two SSD on my notebook as shown here. My first SSD (ADATA SX8200PNP (42AATCTE)) is formatted with ext4 and ntfs and mounted with the options errors=remount-ro The result from running hdparm is: ...
Camps's user avatar
  • 181
3 votes
0 answers
72 views

Automount duplicates all mountpoints DOZENS of times

Coming from arch, I am using Ubuntu for a side project, and the automount behaviour is driving me insane. I have two internal hard drives, one with the system on it and a 640G one mounted at /media/...
Betta George's user avatar
0 votes
1 answer
771 views

How to automatically mount a hard drive at runtime in Ubuntu 22.04 server

I found many solutions online, but each had specific errors or downsides, that made them unconvenient. I want: On an Ubuntu 22.04 server, connect hard drive at runtime, not only boot, via sata and ...
Hyrikan's user avatar
  • 49
0 votes
0 answers
77 views

automount a partition of a USB stick in a persistent live linux made with mkusb

How to automount a partition of a USB stick at /media/lubuntu/name every time the stick is plugged into the PC when the /etc/fstab file is empty on every new boot? I assume this is because I'm running ...
andrej's user avatar
  • 59
0 votes
0 answers
417 views

How to automatically unlock on boot a Ubuntu encrypted boot disk drive?

Please, there is any way to easily auto unlock encrypted boot disk on Ubuntu, as we have using bitlocker on Windows? I saw this process, but I don't think that it will work (seems that I am not using ...
Ivan Carlos's user avatar
0 votes
0 answers
138 views

Mount filesystem for a specific user at user login

I want to mount 2 existing ext4 filesystems for a specific user when the user logs in and ensure that they are dismounted when the user logs off. I am running on Ubuntu 22.04. The suggestions that I ...
Jonathan's user avatar
  • 1,320
0 votes
0 answers
27 views

Nautilus: Automatically mount a bitlocked drived upon login

In Nautilus, when I click on "Other locations" then "Encrypted Drive", it gets unlocked and appears as a mounted drive in the list. I would like that to be done automatically when ...
fffred's user avatar
  • 131
1 vote
0 answers
30 views

using xubuntu linux, I created a udev rule to capture adding sdc-z* and mount in a directory, but gets mounted again in /media/user as well

I have written a shell script that is called by a udev rule when a new usb device is added and the partition matches /dev/sd[c-z]* . The shell script does get called, and my shell script mounts it in ...
Jr rbb's user avatar
  • 11
0 votes
1 answer
1k views

How to set up disk automount in Ubuntu Server

I'm setting up a small home server consisting of a Raspberry with Ubuntu server. Specifically, I installed Ubuntu 23.10 (GNU/Linux 6.5.0-1007-raspi aarch64) I'm currently manually mounting every ...
Pinguto's user avatar
  • 169
0 votes
1 answer
596 views

Added new drive but it's stuck as "read only file system"

Bought a new drive. Expected it would be easy to install... Shouldn't need to use commands for something every day users should be able to complete, so I followed this GUI guide: https://www.zdnet.com/...
rare77's user avatar
  • 101
0 votes
0 answers
143 views

Ubuntu Server 22.04 unmounting usb external drive

I have a thin client PC, running Ubuntu Server 22.04 with Jellyfin and Samba on it. As the machine have not much internal storage, I am using 8 TB external USB drive. I've set OS to automount the ...
Методи Шотлеков's user avatar
0 votes
0 answers
46 views

root fs remounted automatically with USB drive plugged in

Hi experts and fellows, Im running Ubuntu 22.04.3 on an ODROID N2+ SBC from 128GB MMC and having an issue with remounted root filesystem when plugging in an USB Drive. Situation "boot" is ...
prior_philip's user avatar
2 votes
0 answers
297 views

unable to make an external USB 4TB exfat SSD drive user-writeable after manually mounting it

I went through every question & answer about mounting external exfat drive on "Ask Ubuntu", but none of them is of any help to my situation. Hope that someone can help me out. I am ...
kowloon's user avatar
  • 21
3 votes
0 answers
227 views

Stop automount of new loop device on Ubuntu 22.04

When creating a new loop device with udisksctl (command below), I want Ubuntu to only create the device without mounting it automatically. How do I do this on Ubuntu 22.04, and why did this work on ...
TSG's user avatar
  • 141
1 vote
1 answer
81 views

Cannot auto mount a CIFS device

I am trying to mount a USB device (acting like a NAS) onto my Ubuntu (20.04) server. Running the below works fine via ssh sudo mount -t cifs //192.168.1.1/"Music (at BackupNAS)"/CD /media/...
Ditusade's user avatar
0 votes
0 answers
50 views

Why does system asks for encryption passphrase the INACTIVE user when mounting encrypted external drive?

When I am the only user logged to my laptop (XFCE session), mounting encrypted portable HDD works as expected: I connect HDD to USB port. A window asking for encryption passphrase pops up. I enter ...
abukaj's user avatar
  • 475
0 votes
1 answer
184 views

Can't Mount SSD (where windows and my files are located) Need to Save Files from there

I need to save some files from my personal computer but most of them are under windows user folder. With USB, I plugged in try ubuntu and can see my HDD but I can't access my SSD (where all files I ...
Jeredriq Demas's user avatar
1 vote
1 answer
669 views

Mount specific removable media with mount options by default

I run Ubuntu Mate 22.04 and I have a USB mass storage device (aka USB-Stick) that is formatted with btrfs. I know it's partition UUID and label and I want it specifically to be mounted with specific ...
FalcoGer's user avatar
  • 885
0 votes
0 answers
45 views

Persistent accessibility to a local network shared folder on Ubuntu

How can I ensure persistent accessibility to a local network shared folder located at /run/user/1001/gvfs/afp-volume:host=test.local,user=anonymous,volume=Public/Shared/Test on my Ubuntu 23.04 machine?...
Abdulhamid's user avatar
6 votes
2 answers
814 views

Avoid adding numbers to USB disks partition label/UUID when mount point exists under /media/user

I'm using Ubuntu 23.04 and I'm assuming that Ubuntu is using autofs to auto mount. I'm unfamiliar with autofs configuration. When I connect my labeled external drive(s) via usb, they automatically ...
YMOZ's user avatar
  • 125
0 votes
1 answer
80 views

Red icon for automounted disk / partition in nautilus (why?)

i've recently reinstalled ubuntu a few times because i had issues with nvidia drivers. But after a recent reinstall, i now have a red icon in nautilus for a partition i enabled automount for via the ...
Flavelius's user avatar
1 vote
0 answers
3k views

How can I auto mount a SSD on boot

I have 3 NVME M2 internal ssd's in my system, only the main SSD auto mounts. The other 2 I have to manually right click on them and choose mount for my gaming program Lutris to access it. How can I ...
Monkeyknife's user avatar
0 votes
2 answers
421 views

How to disable on lubuntu 22.04 the opening of the browse window when a USB device is automounted?

I'm working with lubuntu 22.04. When I insert an USB device into one of the USB port of the system the device is automatically mounted and a files browse window is open on the screen. I need to ...
User051209's user avatar
0 votes
1 answer
400 views

Unable to auto mount a data disk from /etc/fstab but mounts with mount -a command

Here are the commands I ran: ~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 63.3M 1 loop /snap/core20/1852 loop1 7:1 0 49.9M 1 loop /snap/snapd/18596 loop2 7:2 ...
Iliko's user avatar
  • 11
0 votes
0 answers
137 views

SSD appears in BIOS but it doesn't appear in the terminal

I have a brand new Ubuntu PC with three SSDs connected and they are shown in the BIOS. However only two of them are shown in the terminal. Running udisksctl status I get: MODEL ...
Lorenzo Mogicato's user avatar
1 vote
0 answers
23 views

KDE Plasma 5 thrashes while charging an Android device by USB

Plasma 5.24.7, Ubuntu Studio 22.04. My Android tablet that I use as a performance controller was a bit low on battery, so I plugged it into an open port on my USB hub and selected "charge only&...
jamshark70's user avatar
1 vote
0 answers
197 views

How exactly kernel, udev and DBus mount external devices?

I'm trying to understand how exactly SDcard unmounting/ejecting works in Ubuntu to debug context of this issue: https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1980080 Looked this thread getting ...
nusch's user avatar
  • 41
0 votes
1 answer
2k views

How to mount NFS share automatically via WiFi?

I'm trying to mount a local network NFS share on a laptop connected via WiFi. The NFS server is set up correctly as far as I'm aware and it's possible to connect to it manually with: sudo mount -t ...
Prototype700's user avatar
0 votes
0 answers
23 views

How to mount drives at bootup as RW [duplicate]

I am using Xubuntu 22.10. It automatically mounts my drives in explorer when I click on them but my backup software needs them permanently mounted so it can read the changes and I can move files to ...
andy's user avatar
  • 1
0 votes
1 answer
611 views

exfat card became read-only after automounting with GNOME Disks, and I cannot change permission even as root after that

I am running Ubuntu MATE 22.04 on a Chromebook. Due to the limited internal memory of a Chromebook, I am using a 128 GB USB drive for storage. This drive is formatted as exfat, so that it can be used ...
Archisman Panigrahi's user avatar
0 votes
1 answer
967 views

How do I prevent auto mount for one of my external hdds in Ubuntu 22.04

For one of my external hard drives, I want to prevent Ubuntu 22.04 to automount it. Is there any way?
KJA's user avatar
  • 107
0 votes
1 answer
45 views

I upgraded to Kubuntu 22.04 LTS but boots only when my external drive is plugged in. Why?

I just upgraded my machine from 20.04 to 22.04. Everything works, except for this strange behavior. I have this external HDD which contains just backup of my computer, but it needs to remain plugged ...
The Meditation Center's user avatar
0 votes
0 answers
735 views

Kubuntu/Plasma: How to force immediate mount of removable media before login or instead, refresh desktop shortcuts after delayed mounting

I initially installed Ubuntu, then installed kubuntu-desktop and switched to Plasma. However, initially, my removable drives no longer auto-mounted on (automatic) login. So I went to settings and ...
mo FEAR's user avatar
  • 141
1 vote
0 answers
192 views

Mounting Share Folder on desktop in linux

When I mount the share folder, why appear 3 folder.What is wrong I setting.
Salai Robin's user avatar
0 votes
1 answer
216 views

Automount CIFS share permission issue

Having issues setting Write access when mounting a CIFS mount. Ubuntu Server/Client. Details are in the paste. I tried to provide as much info that I could think, but please let me know if you need ...
synthetiq's user avatar
  • 163
0 votes
1 answer
198 views

Certain apps cannot "see" a drive mounted at /projects, but mainstream linux apps are fine

I have a second HDD set up that automounts to /projects (a linux-nonstandard location but one used by some CAD tools). Point being to make the design self contained and transportable. Basic Linux apps ...
dick_freebird's user avatar
2 votes
0 answers
237 views

Thunderbolt 1 array - mac mini

I have an install of Ubuntu server on a mac mini (late 2012) that I'm trying to get a thunderbolt disk array to work on. I'm running Ubuntu server 22.10, kernel 5.19.0-23 Formatted the drives as a ...
YoungOldGuy42's user avatar
0 votes
1 answer
12k views

Mount Network Drive Permanently in Ubuntu 22.04.1 LTS

I want to mount a LAN Network Drive that I can access from Files/Nautilus as soon as I login to my Ubuntu desktop. I can do this manually with the following command: sudo mount -t cifs -o user=user,...
Alvaro_Malva's user avatar
0 votes
1 answer
3k views

How to Mount a Samba Share on Ubuntu 20.04 server for Raspberry Pi 4/400

I have been trying very hard to mount a samba share. The following works well in all x86-based Ubuntu 20.04. But it fails to mount in Raspberry Pi based Ubuntu 20.04. //192.168.1.5/Media /mnt/smb ...
Mr. Z's user avatar
  • 5
0 votes
1 answer
157 views

OS rescan disk after DD write command

When I executed "dd if=/dev/zero of=/dev/sda bs=1M count=1" (sda is a SATA device), when the command was done. And the OS will rescan the disk, looks like try to scan the partition ...
Billy Chiu's user avatar
0 votes
0 answers
226 views

ZFS pool doesn't automount at boot - Ubuntu 18.04 LTS

I have Ubuntu 18.04.6 server installed on a PC, and a zpool striped named frnl composed of 2 HDDs of 2TB each. My problem is that recently the zpool isn't automounted at boot, it needs to run alex@...
Free's user avatar
  • 41
0 votes
1 answer
404 views

2nd HDD mounted, but as read only ntfs

first hard drive has ubuntu partition and windows partition. But mainly I'm using ubuntu. 2nd drive is nearly blank, and has just the single partition with free space. I was trying to move some ...
Jon Grah's user avatar
  • 101
0 votes
1 answer
508 views

Invalid value for IMPORT (invalid substitution type)

On Ubuntu server 22.04 I'm geting next errors: Jul 29 06:23:54 can1 systemd-udevd[384]: /etc/udev/rules.d/99-digitalocean-automount.rules:11 Invalid value "/bin/sh -c 'echo TMP_MOUNT_DIR=$(mktemp ...
JanezKranjski's user avatar
2 votes
0 answers
2k views

Xubuntu 22.04 - mtd device must be supplied (device name is empty)? [duplicate]

I have installed Xubuntu in dual boot with Windows 8.1 on my laptop Acer aspire VN7. All works pretty well but I have these messages after the post : [ 10.238730] mtd device must be supplied (device ...
jojolafertasse's user avatar
0 votes
1 answer
343 views

Disabling automount in ubuntu 20.04

I have installed dconf-editor and checked the top two boxes to disable automount and automount-run, but it does not do the trick. All partitions are still mounted on plug in. This is annoying. Is the ...
edscott's user avatar

1
2 3 4 5
15