Questions tagged [mount]
Questions about mounting filesystems, such as those on internal drives or on CDs, DVDs, external hard drives or USB flash drives, or about using the `mount` command.
7,233
questions
1
vote
0
answers
16
views
linux running a script on a mounted fritz-Box share result in "bad interpreter" in ubuntu 22.04, works on 18.04 (other shares work)
A script like:
#!/usr/bin/env bash
...
or
#!/usr/bin/env python3
...
will result in (german):
-bash: /mnt/Fritz-USB/FritzUSB/t.sh: /usr/bin/env: Defekter Interpreter: Eingabe-/Ausgabefehler
...
0
votes
0
answers
14
views
My external HDD not mounting and not being seen
So a few months back I was using my Toshiba 1Tb external HDD and when I was done I unmounted it before taking 'Safely Remove Drive'. Not thirty minutes later when I went to reconnect it, it wouldn't ...
0
votes
0
answers
26
views
I want to use toilet to modify hook_function [closed]
I need to use toilet to modify hook_function,when I use hook than result can produce colorful output.
Appreciate your response. Thanks in advance.
#include <stdio.h>
typedef long (*syscall_fn_t)(...
-1
votes
1
answer
51
views
Most of my hard drive is inaccessible, full storage, cannot install anything. /dev/sda2 825G 7.8G 775G 1% / [duplicate]
when trying to update my machine or install anything, I get an error of no space left.
alex@servercomputer:~$ sudo apt install lvm2
Reading package lists... Error!
E: Write error - write (28: No space ...
-1
votes
1
answer
31
views
Can't access www-data directory as a root user on my nfs share
I have an nfs share mounted on my server, who acts as storage for my Nextcloud instance. As usual the directory is owned by the www-data user. After a restart of my docker containers, there were ...
-1
votes
1
answer
21
views
How to fix fstab entry to mount a partition?
On ubuntu 22.04.4 I am trying to mount a partition as read/write. The following command seems to work:
sudo mount -o rw,user,uid=1000,umask=007,exec /dev/nvme0n1p4 /media/Work/
but I want to add it ...
-1
votes
0
answers
13
views
How to mount/format fat32 partition so that I can WRITE on them? [duplicate]
I am trying to format a partition /dev/nvme0n1p4 as fat32 on ~/Work so that I can WRITE on it. But when I try to write e.g.
touch Work/test.tst
I get an error
touch: cannot touch 'Work/test.tst': ...
0
votes
1
answer
31
views
Show Disks in Nautilus sidebar
On a fresh installation of Ubuntu 23.10, my other drives do not appear in "Files" sidebar. I would like my mounted drive to appear their like in Dolphin.
I made some research, but nothing ...
0
votes
1
answer
57
views
I couldn't mount my external ssd (ntfs) to my ubuntu 22.04.4 LTS
I tried something, but it's not working. For me, the sudo fdisk -l command gives me this output:
... loop devices removed from output ...
Disk /dev/nvme0n1: 238.47 GiB, 256060514304 bytes, 500118192 ...
0
votes
0
answers
27
views
Auto Mount virtiofs
So I have a KVM of Ubuntu 22.04.4 LTS running on my Server. The base operating system is Open Media Vault 6 (Debian-based). I have 2 file systems I am passing through to the KVM, I can mount them ...
0
votes
0
answers
38
views
Unresponsive storage ssd
I have a ssd with very important data in my workstation.
It has a ext4 and a ntfs partition.
This morning, the ext4 partition (sda1) didn't mount, and the filesystem was listed as "unknown" ...
-1
votes
0
answers
27
views
gio mount password with special characters
I want mount using well-known way
gio mount smb://<user>:<password>@<server>/<share>/
In my case
gio mount "smb://WORKGROUP;myuser:+B@e}F)q8tra@@192.168.1.199/"
I ...
1
vote
0
answers
17
views
How to recover a deleted LUKS partition
I have created a LUKS encrypted pen drive with the gnome-disks tool, but a time ago I have accidentally formatted the disk, losing the partition.
I tried to recuperate the partition stored on sda1 ...
1
vote
1
answer
81
views
the folder content could not be displayed input/output error
I'm new to Linux and I have Ubuntu Budgie (Ubuntu 22.04.4 LTS) (Budgie version: 10.6.1) (OS Type: 64-bit)
I have this ntfs type HDD:
I checked its file system:
I saw that it's not damaged:
but when ...
0
votes
1
answer
51
views
Ubuntu 22.04 on Raspberry Pi: /var/cache/fontconfig Gets Created Before /var Is Mounted
I'm running Ubuntu 22.04 (Jammy Jellyfish, ARM64) on a Raspberry Pi. After imaging the Pi's SSD, I re-partitioned the drive and mirrored the contents of /var onto the new partition (verified), renamed ...
3
votes
1
answer
150
views
sudo apt-get upgrade errors
I get the following errors when running the apt-get upgrade:
dpkg: error processing package nfs-common (--remove)
cannot remove /sbin/umount.nfs4: Bad message
E: Sub-process /usr/bin/dpkg returned an ...
0
votes
0
answers
46
views
Disconnected Network Drive while connecting to windows using samba
We are facing an issue when we are trying to auto-mount a Samba share drive on a Windows EC2 instance. However, when we manually mount it or run the PowerShell script manually, it connects ...
0
votes
0
answers
44
views
Mount file system which is a SQL Server filestream
We've got a web app (.NET 8.0) which uses the File API to save and load files from a SQL Server's FileTable. In practice, this means that the web app can rely on a "virtual" share to load ...
0
votes
1
answer
31
views
Docker Relocate to external USB SSD Problem
Ubuntu 20.04.5 LTS
Docker version 24.0.2
I am trying to relocate the /var/lib/docker directory to my USB SSD flash drive to save memory on the internal storage, however, I am having difficulty doing ...
0
votes
1
answer
39
views
Setting timeshift backup to harddrive, getting "Device not found" error
I'm trying to set the backup location for timeshift to a new external hard drive I just bought.
I formatted the drive w/ an ext4 filesystem w/ the command:
sudo mkfs.ext4 /dev/sde
I then ran the ...
1
vote
1
answer
71
views
Can't see files/dirs within a USB drive, within WSL?
I have a redirected USB drive from a Windows 11 PC into an RDP Windows 10 guest (mounted as drive J:) running WSL; when I view drive J: in Windows Explorer in that guest I see all of it's files; ...
-1
votes
0
answers
21
views
Mount Permission denied
I have an Ubuntu Desktop client machine ( with version 22.04 ) where I have to receive mappings from an RedHat 8.9 server
My RedHat server is configured with Samba to share folder. The export file is ...
0
votes
0
answers
25
views
Flash drive Partitions not showing in Amd64 Ubuntu 20.4 -but displays in Arm64 Ubuntu
I’m having difficulty accessing a USB flash drive on my Ubuntu 20.4 virtual machine.
I can access it on my Arm64 Ubuntu 18.4 Embedded computer. The blkid command reports /dev/sda2, along with the ...
0
votes
0
answers
29
views
Protect system disk from attaching to another machine
I have a device (Raspberry PI 3, Orange PI 5) with SSD as main disk, running under Ubuntu 22.04.
This device should be autonome, i.e. autimatically reboot and autorun some services.
There is some ...
0
votes
1
answer
25
views
Long (40s+) kernel boot time (probably swap mount issue?)
I have messed with swap and now i think i have a mount timeout during boot, but I can't find the reason. What I did was to switch to a swapfile, but i decided to move back to separate partition for ...
-1
votes
0
answers
46
views
mounted NTFS volumes becomes unaccessable seemingly at random, with error: Transport Endpoint not connected
I have 2 NTFS volumes mounted on my Ubuntu system, they had to be NTFS because they are a shared volume with my Windows 11 dual boot. On boot up, the mounted volumes would function just fine. However, ...
0
votes
0
answers
56
views
Unmounting partiton on shutdown shows failure
I have the following in /etc/fstab:
LABEL=cloudimg-rootfs / ext4 discard,errors=remount-ro 0 1
UUID=8ff508b8-3975-4ef9-acc1-8ea7aeec56dc /home ext4 defaults ...
1
vote
1
answer
61
views
Mounting Drives
The last time I touched Unix of any flavor it was Solaris, so please forgive me. I'm am so very rusty.
I decided to build a home lab and get back into things. I've built, destroyed, and rebuilt my ...
0
votes
1
answer
58
views
Fresh installation of 20.04 makes three partitions - right?
Now to get to the bottom of my problems mentioned in another thread, I decided to install 20.04 anew. In order to not produce problems from the start on, I let the installation program do as it wished ...
0
votes
0
answers
34
views
SSD emergency mode [duplicate]
I tried to boot after mounting a new SSD.
You are in emergency mode.
0
votes
0
answers
85
views
I seem to have completely messed up my filesystem
Ubuntu 22.04 on a lenovo ThinkPad W520. I #think# I have an external disc mounted on /media/claus and the terminal finds it. In my sidepane though the "500 GB Volume" symbol that should ...
1
vote
1
answer
120
views
Unable to mount external drive without repairing
I have a 256GB Integral USB drive that I use with my Ubuntu 23.10 installation. However, every time I plug this drive into my PC, Ubuntu fails to mount it - trying to access the drive's contents ...
0
votes
0
answers
130
views
Mounting /tmp with noexec option in Ubuntu 22.04.3 LTS
I have set up the Ubuntu VM (Ubuntu 22.04.3 LTS) with the following options for /tmp: So that under /tmp, no execution is allowed.
cat /etc/fstab for /tmp:
/dev/mapper/ubuntu--vg-tmp--lv /tmp ...
-1
votes
1
answer
59
views
Unknown error while mounting an external USB device
I have installed Ubuntu 22.04.4 LTS on my laptop. I was copying some folders from an external USB device into my Windows virtual machine. The process stuck unexpectedly, the mouse was blocked as well ...
-1
votes
0
answers
62
views
Flash drive won't mount on Ubuntu, NTFS corruption issue with IO error
To make a long story short I have a flash drive device that I have wiped out, and now it would not mount onto my linux system. I had written a program that has flipped all of the bits inside the ...
0
votes
1
answer
85
views
Ubuntu network mounts intermittently stop working
As the title says, some of the mounts work all the time, and some I need to do a restart for them to work. They always show they're mounted on my GUI but they do not work. Like I said, a restart ...
3
votes
2
answers
251
views
unable to mount external drive from cron (using udisksctl)
GOAL
I'd like to mount an external drive using cron for automatic backups, preferably with udisksctl.
PROBLEM
udisksctl mount -b /dev/sdXY works fine from the command line or shell script, but when I ...
0
votes
0
answers
56
views
Kubuntu 23.10, Unable to access Windows partition, mounting error
Using a laptop with secure boot enabled and dual booting. I've turned off fast startup on Windows control panel and fast boot on bios, and to be sure I also deactivated PXE boot (if I'm not wrong, it ...
0
votes
0
answers
183
views
Mounting Synology NAS with NFSv4 in Ubuntu 22.04
I'd been using Debian for ages, but had hardware issues where certain devices (mostly audio devices) never worked. I switched to Ubuntu 22.04 recently and set up my user with the same uid and gid as ...
1
vote
0
answers
135
views
Lubuntu: devmon mounts an USB drive to two different directories, one of which is inaccessible
I have formatted a 2TB Kingston SSD USB drive in EXT4 filesystem and copied data on computer A (Ubuntu). Now I want to use this drive on computer B (Lubuntu).
But it showed that the drive was mounted ...
1
vote
0
answers
105
views
systemd: Failed to start Remount Root and Kernel File Systems
I was trying to get Proton for Steam working. After a long time search tech forums I found a comment which said that Proton had to be formatted to EXT4, which led me down a rabbit hole to a post on ...
0
votes
0
answers
54
views
Having trouble with a USB drive data corruption
I was given a new 15 TB USB drive and was going to use it to store a lot of my files. I formatted it NTFS so I can take it between my Ubuntu (desktop) and Win 11 (laptop) machines as I have a lot of ...
0
votes
0
answers
37
views
Support for go file watchers with directly mounted CIFS shares
I am currently working with cifs-utils to manage CIFS shares in a Unix environment, specifically within Docker containers (ubuntu docker host). I am exploring the possibility of integrating a file ...
4
votes
4
answers
659
views
Systemd does not see external drive partition when running ExecStart command
I am trying to run calibre-server at startup. Here is an example of the service content
[Unit]
Description=calibre Content server
After=network.target
[Service]
Type=simple
User=root
Group=root
...
0
votes
1
answer
97
views
External USB SSD disk fails to mount at boot
I have two external drives attached to my Ubuntu Server 22.04.3. My /etc/fstab includes, among other things, the following two lines for the two drives:
/dev/disk/by-uuid/d7dbea69-0332-4d12-b905-...
0
votes
0
answers
29
views
Mounting usb device by hardware port using autofs under Ubuntu via executable map
I am trying to mount a usb storage device, plugged at a specific port of my pc to a defined location under Ubuntu. Its supposed to mount every device which was plugged at exactly this port to there ...
0
votes
0
answers
71
views
unable to access location ssd
I have three different drives on my PC and when trying to open one of the SSD's it gives me this error message
Unable to access location
Error mounting /dev/sdc1 at /media/milly/Large:
wrong fs type, ...
0
votes
1
answer
92
views
Cannot mout old NAS on Ubuntu 22.04
I have an old NAS, a Synology CS407, which I want to mount on my Ubuntu server running Ubuntu 22.04.3 LTS.
However, I cannot succeed in mounting it.
I have tried mounting it with NFS and SMB/CIFS, but ...
0
votes
2
answers
189
views
Host and fstab file messed up after try to change swap size
I was trying to increase the swap size of my Ubuntu. I, naïve, followed the steps of this answer:
Check the swap that is in use:
sudo swapon -s
If swap partition(s) are found:
sudo swapoff -a
sudo ...
0
votes
0
answers
43
views
xrdp can't mount drives after update
I recently updated xrdp after setting up Ubuntu pro. Now I can't mount any drives when I'm remoted into my Ubuntu machine using xorgxrdp
ii xorgxrdp 1:0.2.17-1build1 amd64 Remote Desktop Protocol (RDP)...