Questions tagged [mount]

Mount is the process of making available to the computer a new file system device, like a disk drive or a network share.

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

Mounting of drive from script

I have this code: echo "Mount External Backup @ $externalBackupDrivePath" for uuid in /dev/disk/by-uuid/*; do if [[ "$uuid" =~ $externalBackupDriveID ]]; then if [...
yegnal's user avatar
  • 31
0 votes
1 answer
70 views

Linux to Windows - smbclient works fine but mount.cifs does not

I am using a Ubuntu 22.04 guest in Hyper-V in Windows 11. I have created a file share and shared it for a local user ("shareuser"). I am trying to automatically mount it with cifs and ...
kaidentity's user avatar
1 vote
0 answers
27 views

mount ignores user option at drvfs mount point

In WSL2 I've configured in /etc/fstab a drvfs mount point to be mountable by an ordinary (non-root) user: F: /mnt/f drvfs rw,noatime,dirsync,noauto,exec,umask=...
vect's user avatar
  • 255
1 vote
0 answers
54 views

How to Safely Copy Entire Ubuntu Root Directory to Different Drive and use it as system drive via SSH?

I'm currently maintaining a remote Ubuntu server with two drives: one SSD and one HDD. The HDD is currently mounted at /, serving as the system drive, while the SSD is empty and mounted at /mnt/nvme. ...
dzwiedzn7's user avatar
0 votes
1 answer
23 views

How can I split from /dev/nvme0n1p3 to /dev/nvme0n1p2

I only have one disk, an SSD on my laptop. My disk status is as shown above. The /dev/nvme0n1p2 disk part (mounted at /) is too small. I plan to move 42GB from /dev/nvme0n1p3 to /dev/nvme0n1p2, but /...
monstar's user avatar
  • 133
2 votes
0 answers
32 views

Read Only folder alias in Windows

I have a folder I would like to create a read only alias of to prevent tools from modifying the original contents in any way. The original should be kept in "pristine" condition so ...
dana44's user avatar
  • 21
0 votes
1 answer
72 views

SSHFS over multiple connections through a gateway

I have to mount a directory from a machine which can only be accessed through an SSH connection within another SSH gateway that I have to connect first. I want to use SSHFS for mounting, is it ...
kiwo's user avatar
  • 1
1 vote
1 answer
32 views

Why is an incorrect size reported on multi-partition USB flash drive?

I'm creating a custom Linux installer which uses two partitions on a 4GB USB flash drive: an EFI partition for booting and a data partition for installer files. The size reported by df is unexpected. ...
Danny's user avatar
  • 191
0 votes
2 answers
112 views

How can fstab direct linux to mount the root directory if /etc/fstab is in the same partition as the the root directory?

How can fstab direct linux to mount the root directory if /etc/fstab is in the same partition as the the root directory? Does the operating system partition (typically mounted at /boot) have some sort ...
John's user avatar
  • 21
0 votes
0 answers
20 views

Virtual machine isn't recognizing file changes when altered on host machine unless "ls -l" is triggered

I am seeing a weird issue on a virtual machine running on a server of mine. I set up a little test scenario below that illustrates the symptoms of what I am experiencing and I can't figure out what ...
97WaterPolo's user avatar
0 votes
0 answers
16 views

Streamlining Bind Mounting for User Folders between Windows 10 and MX Linux 23.2

I've successfully configured a shared partition between Windows 10 and MX Linux 23.2, ensuring strict mapping of user accounts in both operating systems. Steps such as creating the ntfs-formatted ...
roymustang's user avatar
0 votes
0 answers
108 views

Speed up btrfs check --init-extent-tree

I recently accidentally mounted a btrfs filesystem read-write without knowing a different kernel that also had it mounted read-write was hibernated. When I resumed the hibernated kernel, it mounted ...
wallefan's user avatar
  • 137
1 vote
1 answer
173 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-...
bagratte's user avatar
0 votes
0 answers
64 views

How can I mount network drives consistently in macOS?

The issue is that I have a shared drive with 3 partitions on my router. The router insists on exporting a drive letter ("G", "H" and "I") instead of partition names. The ...
Bruce's user avatar
  • 191
0 votes
1 answer
34 views

Adding extra hard disk to an Ubuntu machine

I have installed a hard disk to my ubuntu machine Filesystem 1K-blocks Used Available Use% Mounted on tmpfs 1634316 1512 1632804 1% /run /dev/sdb3 959783984 ...
Rosie Smith's user avatar
0 votes
0 answers
157 views

Windows 11 iso file fails to mount

I downloaded the latest windows 11 ISO from Microsoft. I verified that: the SHA256 checksum matches the ISO is unblocked The ISO is not sparse. Trying to mount through Windows Explorer results in ...
Nicolas Holthaus's user avatar
0 votes
0 answers
51 views

"Unreadable" CDs in MacOS Sonoma

I have some commercial CDs, such as the CD that came with my Nikon Camera. My Mac claims they are unreadble by this computer (Macbook Air running Sonoma with a Origbelie USB DVD (R/RW) drive.) Yet I ...
drpj's user avatar
  • 31
0 votes
0 answers
104 views

Bcachefs remove device without mounting, or mount with device offline

Using bcachefs (Arch Linux 6.7.2), how can I remove a non-existent device without the device being present? The X-problem is: I've added a test drive to my daily drive using bcachefs device add I ...
Hykilpikonna's user avatar
0 votes
0 answers
70 views

How to mount a Synology NAS to keep permissions and modification dates?

Which is the best protocol to use to mount a recent Synology NAS (DS1522+) as root in Ubuntu 22.04 to then add a folder for each user and be able to run a cron job to cancel all files older than a ...
Antonello's user avatar
  • 151
0 votes
0 answers
14 views

rsnapshot backup fails with cryptomator mounted volume

I have rsnapshot (on macos) setup for my backups and in the config file one of the locations I am trying to back up is a Volume mounted by Cryptomator. Relevant line in config file: backup /Users/...
christopher.online's user avatar
0 votes
1 answer
268 views

VMware mount shared folder in specific folder on linux guest

I would like to mount a VMware shared folder to a location other than the default. The default mount path for shared folders in linux guest as of VMware Workstation 15 (2023) is: /mnt/hfgs/[...
hatalmasalma's user avatar
0 votes
1 answer
56 views

Having issues mounting raw disk image in OSX

I have received this disk image from a embedded linux device. I need to mount the image and check some files on it. This is what I have tried so far: > hdiutil attach -nomount ~/Downloads/dskimg....
somerandomusername's user avatar
1 vote
0 answers
20 views

Why is my LVM volume showing as being mounted multiple times?

Just noticed a weird thing in the output of lsblk: It shows that it’s mounted multiple times for each physical volume. It doesn’t seem to be causing any issues. But I’m very curious why it’s doing ...
Dani's user avatar
  • 11
0 votes
0 answers
64 views

Grub4dos UEFI error - Cannot mount selected partition

I am using Grub4dos for UEFI (release 2023-10-16) to boot ISO files in partition named "STORING". The type of HDD is GPT as in the below picture The file MENU.LST is Grub4dos for UEFI ...
dunhill_'s user avatar
0 votes
0 answers
71 views

EndeavourOS/Arch Linux broken after power off. NVMe drive not detected by any method

After a forced power off, my system looks broken. The OS was installed in a BTRFS system. Booting EndeavourOS normally will hang with: “A start job is running for /dev/disk/by-uuid/…” (forever) cat /...
GuedesBF's user avatar
  • 123
2 votes
0 answers
42 views

Wait for USB mount before starting NFS server on a Raspberry Pi Zero 2 (zero2w) with Raspbian?

I have Raspberry Pi Zero 2 (zero2w) with Raspbian x32 installed and attached USB SSD drive which main purpose is to act as a network (image) backup server for several other devices (all Raspberry Pis -...
h45h3ncryp73d's user avatar
2 votes
1 answer
358 views

Mount EFI system partition at directory

I already know that mountvol <Drive Letter>: /S will mount the computer's EFI system partition—how it knows which one is the one that was used to boot the computer, I have no idea—at <Drive ...
Melab's user avatar
  • 1,101
2 votes
1 answer
360 views

How to mount BTRFS partition multiple times both using the same space allocation?

I’m new to BTRFS and am wondering if it’s possible to share the space of a single partition but mount it under multiple mount points? For example, I have a 1 TiB partition and want to share the same ...
Joe J's user avatar
  • 518
0 votes
0 answers
155 views

How to properly unmount a bind mount?

In order to create a chroot, I often do something like: mount --bind /dev ./dev But when I try to unmount ./dev, it sometimes attempts to unmount/redirect to /dev instead. How to tell I want to ...
user2284570's user avatar
  • 1,823
0 votes
0 answers
41 views

Trouble mounting SquashFS filesystem from TP-Link Deco M5 router firmware

Question I am new to reverse engineering and trying to retrieve the file system of a TP-Link Deco M5 router from its firmware. I have successfully extracted the SquashFS filesystem from the firmware ...
Its Anonymous Place's user avatar
0 votes
1 answer
105 views

Recover a USB mount from disconnect - reconnect

I'm using an m2 SSD in a USB C enclosure as a root partition on Linux. Despite trying different enclosure brand, there are always some rare disconnection (when moving the cable for example). A quick ...
Congelli501's user avatar
1 vote
0 answers
98 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
  • 439
1 vote
1 answer
455 views

How to mount hard drive (physical disk) which is a part of LVM in Ubuntu Server 22.04?

Newly installed Ubuntu 22.04 to a server. The logical volume is already mounted (by default) to / during installation of 22.04 to a Dell server. When I try to mount the "mapper" (to anywhere ...
b_a_k's user avatar
  • 11
1 vote
1 answer
257 views

USB drive detected as a char device (not block device) on Linux?

I have a Kingston's DataTraveler SE9 (8G, SerialNumber: 0014785448B4BCA13728002A), and I myself am running Pop!_OS, and I can't seem to figure out why it's not being detected. Not in a Windows system ...
zombiesauce's user avatar
0 votes
1 answer
60 views

Cygwin64 | mount: Invalid argument

I am trying to do simple operation using my USB flash card and Cygwin64: mkdir /tmp/sdb mount /dev/sdb1 /tmp/sdb And get following error: mount: /tmp/sdb: Invalid argument How to resolve this ...
Angelika's user avatar
1 vote
1 answer
102 views

Linux: how to suppress listing loop devices when using mount command?

Is there a way to prevent including loop devices when using mount command on its own in order to list existing mounts? When there are dozens of loopback devices it's tedious having to sift through the ...
ccpizza's user avatar
  • 7,763
0 votes
1 answer
191 views

Mounting an HFS + External Drive

I have a Windows computer at home, and a company sent me an external HDD formatted as HFS+. It doesn't read on my Windows machine. I'm planning to use a software called Paragon to access the files, ...
Rui Barbosa's user avatar
0 votes
0 answers
113 views

Samba share pointing to a mounted drive on raspberry Pi has no more free space but there's plenty

I hope this is the right place to get some help as I believe this to be an issue with Samba or more likely my configuration / mount that is used by it. Short background story: I have a raspberry pi ...
Veron's user avatar
  • 1
0 votes
0 answers
218 views

USB Flash Drive Mounting and Unmounting Issues in linux

I'm seeking assistance as I delve into learning the Linux file system, and I've encountered a specific issue regarding the mounting and unmounting of a pendrive. Upon initially inserting the pendrive ...
Subham Rai's user avatar
2 votes
0 answers
69 views

Why are file permissions "delayed" when mounting NTFS drives from WSL?

I am mounting a Windows/NTFS drive in WSL: sudo mount -t drvfs F: /mnt/f -o uid=1000,gid=1000,fmask=177,dmask=077 I then check the permissions of an arbitrary file in the newly mounted filesystem: $ ...
René Nyffenegger's user avatar
1 vote
0 answers
36 views

What steps are needed to safely create a unix setuid binary that can mount removable drives without privilege escalation

The steps I can think of for a setuid binary that is willing to mount drives on arbitrary paths specified by normal users: the binary must check whether /sys/block/DEV/removable=1 the binary must ...
Zorf's user avatar
  • 331
0 votes
0 answers
105 views

Mount but exclude one subfolder?

I have a Synology NAS in which I use the following command at NAS startup to create a symlink, which works fine: mount --bind "/volume1/SourceFolder" "/volume1/SymlinkFolder" Now I ...
Ahmad's user avatar
  • 787
0 votes
0 answers
157 views

Debian: mounting cifs shares starts to early or timeouts at boot

I am on debian bookworm and have the following entries in my /etc/fstab; at random, one of these SMB / CIFS shares are not mounted with an error of -112. I think this has to do with the fact that the ...
tkhobbes's user avatar
  • 101
0 votes
0 answers
38 views

How can I mount the Hololens 2 filesystem via WiFi to access its files?

I have some files I need to extract from the Hololens 2. I can individually download them from the Developer Portal, but I would like to be able to access the internal storage using Linux so that I ...
icedwater's user avatar
  • 147
0 votes
0 answers
32 views

Is this the right mounting screws of my Dell Inspiron 531S?

I'm refurbishing a 2008 era Dell Inspiron 531S. It did not come with a hard drive, so I have had to guess at the correct screws to get one to mount. The mechanism uses the screws themselves as sleds, ...
Zhro's user avatar
  • 877
0 votes
0 answers
107 views

Can't mount, open or list external HDD

I can't format my hard drive. I think I have formatted it with EXT4 some months ago and secured it with LUKS. dmesg gives me this: [ 105.101317] usb 2-1: new SuperSpeed Gen 1 USB device number 4 ...
otto's user avatar
  • 111
2 votes
0 answers
84 views

broken bind mount: files not present and "Please use `keyctl unlink`"

I have a bind mount in fstab which makes certain files visible within the filesystem of a snap application (MuseScore) /path/to/real/files /home/me/MuseScore3Development/Scores none defaults,bind,...
spraff's user avatar
  • 2,118
0 votes
0 answers
288 views

Mount a 2nd SMB Share Drive from Local Windows PC to Ubuntu 22.04.03

Today is the first day of my 38 years on this planet that I am using Linux. So please be patient with me. I have successfully followed a series of steps to mount a share folder from my Windows Desktop,...
MartyCH85's user avatar
0 votes
1 answer
70 views

Ubuntu Server keep logging me as root after mount

I keep logging in as root@mymachinename and not as my user mmg@mymachinename I'm not sure why. Backstory: I tried to mount a shared folder following [this guide] (https://gist.github.com/estorgio/...
vmk's user avatar
  • 1
1 vote
2 answers
333 views

Install a new HDD in the same file directory as the old HDD

I have a 1TB computer on Unix that is full mounted at /. I have installed a new 10TB HDD and mounted it at /hdd . I would like to know if I could still write in /home/usr and have the storage used ...
tristanguerand's user avatar

1
2 3 4 5
49