All Questions
758 questions
0
votes
0
answers
15
views
Declaring a bind mount in systemd-controlled initrd and persisting systemd attributes for the mount into the system
I know my title is a little bit convoluted so let me explain what I'm doing here in more detail. I am using a ephemeral root setup on my machine, essentially meaning that my / mount is a tmpfs and ...
1
vote
1
answer
33
views
Failed to umount directory from my RAID1 device (device busy)
I have a system that has 1x SSD and 2x 4TB HDD working under software RAID1. (I'm currently upgrading from Linux Mint 20 to 22, another topic regarding that issue)
On my RAID1 I have LUKS encrypted ...
1
vote
1
answer
36
views
No ability to delete files on sftp mounted by sshfs
I mounted sftp dir via sshfs like:
cat <sensitive_data> | sshfs -o password_stdin,allow_other,default_permissions,uid=0,gid=0 $USER@$HOSTNAME: $MOUNT_DIR -oauto_cache,reconnect
And the problem ...
0
votes
0
answers
47
views
Linux filesystem remapping
I have an ssd drive and a internal HD one. I want OS pointing to the home located in internal HD and working files Downloads, Music, Videos, Templates, Documentos etc., locatein the HD. My /etc/fstab ...
0
votes
1
answer
30
views
Changing Filemodes of Mounts in Linux
I was trying to use an USB-stick in Linux and it didn't go as expected:
I had already created a mountpoint (/mnt), found the device of the newly inserted USB-stick (/dev/sdb1) and mounted it:
# ls -l /...
0
votes
1
answer
49
views
Can not change ISCSI disk mount point to other directory
Problem: I can not change ISCSI disk mount point to other directory.
Currently I have ISCSI disk mounted to /iscsi2
I would like to change it to /iscsi
I changed /iscsi2 to /iscsi in /etc/fstab, but ...
0
votes
0
answers
218
views
gio mount: volume doesn't implement mount
Like many other posts, gio mount for me results in volume doesn't implement mount. I've followed just about every SE post for instantiating a dbus session prior to mounting but end up with the same ...
2
votes
2
answers
88
views
How can I mount this special disk? (.vmdk format, bootable but cound not mount...)
I got a virtual disk from a CyberSecurity vendor, I want to check the files on it.
When I set my virtual machine boot from this disk, it can normally boot.
I want to check the files on it, so I attach ...
3
votes
2
answers
1k
views
How shall I find the device of a phone's storage so that I can mount it in Linux?
I plugged an Android (HarmonyOS 2.0.0) phone into a Linux laptop using USB connection. I want to mount the storage of the phone in Linux, so that I can transfer files between the phone and the laptop. ...
0
votes
2
answers
50
views
Rename mounted home directory
I have the following situation, where I have a folder /new_home, and a mount in etc/fstab:
/new_home /home none bind 0 0
So that means that /home does exist, and is a mount point, and /new_home is a ...
0
votes
0
answers
110
views
Mount BTRFS drive with equivalent to 022 umask?
I feel like I really ought to be able to figure this out, and it's a bit embarrassing to admit that I can't, but...
I have a Mint 21 server running Plex Media Server, and my media drive is a 12TB ...
1
vote
0
answers
44
views
Create two separate mount points with different subfolders for the same /dev/sda1 device
I created three mount points for the /dev/sda1 device :
admin_pri@mypc:/opt$ findmnt | grep sda1
├─/opt/pacbio_data /dev/sda1 ext4 ...
0
votes
1
answer
357
views
Cannot mount WD Elements external drive, unsure if corrupted or fixable
I finished doing regular backup of data via borg into my WD Elements external hard drive, and left it plugged in. The spinning sound persisted for a while, then suddenly stopped.
Tried to access drive,...
3
votes
0
answers
106
views
Why can't root bypass permissions in an ID-mapped mount?
Why does global root (root in the initial user namespace) not have the ability to read all files regardless of permission when ID-mapped mounts (see "ID-mapped mounts" under man 2 ...
0
votes
1
answer
86
views
What will happen when i mount several different devices on the same mountpoint? [duplicate]
I am learning the mount command and I am curious about what happens when I mount multiple devices to the same mount point?
#like this,what will happen?
mount /dev/sda1 /mnt
mount /dev/sda2 /mnt
mount /...
1
vote
1
answer
163
views
How do I rescue an encrypted LUKS partition after failed shrink
I had an encrypted ext4 partition on a Samsung T7 1TB USB drive. It was LUKS (I believe this may be called a LUKS container?) The partition was 850GB. It had about 130GB in use. I also had an ...
1
vote
1
answer
93
views
Linux mount and save changes to RAM (while not changing the underlying file system)
I am looking for a way to discard any changes written to a filesystem.
Currently, I am mounting a file system with mount -o ro. If programs write to it, an error will be raised. I would like to change ...
1
vote
0
answers
589
views
External drive doesn't mount
I was transferring a file from my external hard drive to a USB device on my laptop, which runs Arch Linux with the KDE desktop environment. After the transfer reached 30%, I paused it and put my ...
5
votes
3
answers
1k
views
What's the difference between mounting a drive with rw and chmod +rw?
I know that mounting a drive with "rw" would mount the file system as read/write, but what does that even mean? What's the difference between setting read and write via chmod?
0
votes
0
answers
65
views
Cannot mount partitions from image
I have a dd image of an old SSD. It's been sitting on an external HDD for a while, but I have previously been able to mount the image and its partitions. Now, for some reason, I can only mount the EFI ...
0
votes
0
answers
339
views
NFS mount from Synology NAS, gives permission denied
I am currently trying to use a Synology NAS to handle storage through NFS for some other computers. My current problem is that I get permissions denied, whenever I try to read or write to the NFS ...
4
votes
1
answer
831
views
Is it possible to disable symlinks when mounting a partition?
I have an embedded system development setup which is supposed to restrict users from accessing any system folders.
On a USB stick I created a symlink to "/" (root folder) and when I click on ...
0
votes
1
answer
6k
views
What could be causing my computer to boot in emergency mode?
I haven't had any issues with booting up until I recently moved to a new house. Upon setting it up again, I get the following when booting up:
You are in emergency mode. After logging in, type "...
0
votes
1
answer
600
views
Mounting a macOS disk image in Linux
I have a disk image of an SSD drive with macOS with a partition containing an HFS+ filesystem and I want to mount it in Linux. How could it be achieved?
0
votes
1
answer
644
views
Can't Change Permission in Mounted Drive
Hello im new using Ubuntu.
I try to change permission from directory in mounted drive but always back to root or user while run command 'chmod'.
i already try this command :
sudo mount -t ntfs -o ...
0
votes
0
answers
2k
views
how to fix this location could not be displayed error on Ubuntu
I'm pretty new to Linux, and I have 2 normal NTFS partitions everything was working fine and I can easily mount and use both portions from Ubuntu Linux. but one day I was deleting a huge file from one ...
0
votes
1
answer
70
views
How can I make a secondary drive not periodically unmount
I have a secondary internal hard drive that once in a while will unmount and require the sudo password to mount (in the Dolphin file manager). How can I make so it does not unmount even upon a restart ...
0
votes
1
answer
160
views
File Permissions inside mounted directories
i currently have a problem with permissions inside a mounted folder.
I mounted a folder from one server with cifs to another and everything works fine.(I also use gocryptfs)
The problem is that inside ...
0
votes
0
answers
162
views
Command needed to mount a LUKS partition on ubuntu
Ubuntu -
I need to mount my LUKS encrypted partitions in read only mode.
Have searched online, but no commands have worked.
$ lsblk
SDA 8:0 0 5.5T 0 disk
SDA1 8:1 0 1.4T 0 part
Partition name 253:0 1....
0
votes
0
answers
47
views
x86-64 Linux: Info on filesystem and type of a mounted partitions disappears
System x86-64 Slackware 15.0 based live Linux (Porteus 5.0.1)
At unpredictable times, info on filesystem and type of a mounted partitions disappears.
As normal user I see e.g. this:
rava@rava:/mnt/...
0
votes
0
answers
673
views
How to allow users to mount FUSE/exfat filesystems in fstab without root?
I have a filesystem listed in /etc/fstab and I'd like a normal user to be able to mount it.
Normally I would just add the users option and it will work, however it seems that if the filesystem is ...
0
votes
0
answers
50
views
Unable to mount from a script using shebang (kernel hardening related ?)
I stumbled across a really weird issue with mount. I'm unable to make sense out of it.
For some context, I wrote a Python script that aims to automount hot-pluggable USB devices, but this is not ...
1
vote
1
answer
2k
views
Mounting a VHDX ext4 partition in linux
I'm wondering how terrible an idea the following is or is not...
I want to share an ext4 fs between WSL2 and linux using a fixed-size .vhdx image created in windows (residing on NTFS partition). ...
0
votes
0
answers
172
views
ext4:disagress about version of symbol dquot_alloc,ext4:unknown symbol dquot_alloc(err -22)
I am customizing a Linux system and I am not sure why. I have entered the following interface:
0
votes
0
answers
55
views
How to check which "applications are keeping the volume busy" on Linux? [duplicate]
Sometimes after I read and write files in a USB connected to my linux desktop, then turn off all visible applications, wait for my USB to stop blinking, then attempt to eject the USB, I get a warning ...
0
votes
0
answers
853
views
BTRFS partition regularly becomes read-only
I have/home mounted on a btrfs partition and it regularly (after a few minutes) becomes mounted read only after which I need to reboot for it to become rw again. journalctl tell me the following:
$ ...
1
vote
0
answers
39
views
How to fake writes to certain folders [duplicate]
I'm building Docker containers using an executable installer that is not very configurable. It wants to install about 9GB of modules in various folders around the system, of which I actually need to ...
0
votes
1
answer
65
views
Newly created home in a secondary hard drive keeps unmounting after restart, fstab does not work [closed]
I have bought a new hard drive and moved my home there. I have followed this link: https://www.howtogeek.com/442101/how-to-move-your-linux-home-directory-to-another-hard-drive/.
But the new hard drive ...
1
vote
0
answers
22
views
What happens behind the file system when moving the source of a loop drive into its mountpoint?
I moved the source of a loop drive into its mountpoint and umount it. Then the source disappeared.
Note that after moving the source to its mountpoint (or other location), the source was shown as ...
0
votes
1
answer
118
views
Load kernel modulebusing qemu
I have a kernel module (ko) file that is designed for the aarch64 architecture. I'm currently attempting to use qemu on a non-aarch64 system to utilize this aarch64 kernel module for mounting a ...
1
vote
1
answer
603
views
Probabilistic (~50%) error on boot regarding "wrong fs type, bad option, bad superblock...missing codepage or helper program, or other error"
I've found a ton of posts on the internet regarding this error:
wrong fs type, bad option, bad superblock on /dev/xxx,missing codepage or helper program, or other error
Yet I have never found any case ...
3
votes
1
answer
6k
views
Why is NTFS has a dirty mark and why can't NTFS3 mount dirty NTFS partitions?
https://wiki.archlinux.org/title/NTFS#Unable_to_mount_with_ntfs3_with_partition_marked_dirty
When a NTFS partition is marked dirty, NTFS3 cannot mount this on linux
But NTFS-3G (and also Windows) can
...
0
votes
1
answer
180
views
How to hide file and directory under /sys in Linux?
I am working on an embedded Linux system (with kernel 5.10.24).
I am trying to disable sysfs from kernel, but I found some other stuffs relies on sysfs, so I have to enable sysfs in kernel build.
Now ...
1
vote
2
answers
926
views
USB Mass Storage device detected but no /dev/sdX?
I have a HDD that want to mount using a USB+power cable. When connecting, I see the message:
usb 1-2: New USB device found, idVendor=1f75, idProduct=0621, bcdDevice= 0.36
usb 1-2: New USB device ...
1
vote
1
answer
404
views
Discrepancies between /etc/fstab options and mounted options in Linux
I have this line in /etc/fstab:
UUID=9818D4D618D4B48A /mnt/Seriale ntfs3 defaults,noatime,nodiratime,nofail,async 0 0
And after mounting it and reading its options, I get:
rw,noatime,nodiratime,uid=0,...
1
vote
1
answer
455
views
How do I Undo the mount command on Linux Ubuntu and get my data back?
I ran a mount command that mounted the rootfs into my home directory I've hence lost all my data in the home directory. Is there a way to get the data back?
0
votes
1
answer
840
views
mount: mounting /dev/sda1 on /boot failed: invalid argument mount: mounting /dev/sda6 on /tmp/mount.PPWHGn failed:
After configuring the image using a generalized method, I successfully created a VM. Initially it was started. However, upon attempting to restart the VM or start it after stopping it, I encountered ...
1
vote
0
answers
183
views
How to use credentials from one auto mount in another auto mount?
How do I use a credentials file from one mount in a second mount so it will mount automatically on startup?
Here's my fstab.
1.2.3.4:/nfsroot/abc /mnt/abc nfs4 ...
//def/ghi /mnt/def/ cifs credentials=...
3
votes
1
answer
529
views
Can systemd-tmpfiles-setup be made to honor RequiresMountsFor?
I'm trying to use systemd-tmpfiles to manage files on the "temporary disk" of a Linux (CentOS Stream 8) VM on Azure. The systemd-tmpfiles configuration seems to be correct, as judged by ...
1
vote
0
answers
5k
views
Error: Partition(s) have been written, but we have been unable to inform the kernel of the change - Ubuntu 18.04.6
I'm running an Ubuntu VM in Azure and am unable to notify the OS of partition table changes.
az@prep-vm:~$ sudo parted /dev/sdb --script mklabel gpt mkpart xfspart xfs 0% 100%
az@prep-vm:~$ sudo ...