Skip to main content

All Questions

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

No partitions visible on external hard drive

I'm trying to rescue data from Linux installation on old laptop. It was dual-booted with windows. I know there is at least 1 ntfs partition and 1 ext4. I can boot Windows on the old laptop, but linux ...
Dekakaruk's user avatar
  • 101
0 votes
1 answer
449 views

resetting usb bus to allow device mount after usbguard service stop

in RHEL 8.9, there is a holdover problem with usbguard. For example: usbguard active with rules.conf having just allow with-interface one-of { 03:*:* 09:*:* } to allow human interface devices (kybds/...
ron's user avatar
  • 7,762
1 vote
1 answer
258 views

Mounting a USB drive on a synology system: "operation permitted for root only" although sudo was used

I want to mount a USB drive on my NAS synology Following those tutorials: https://askubuntu.com/questions/37767/how-to-access-a-usb-flash-drive-from-the-terminal https://linuxconfig.org/howto-mount-...
ecjb's user avatar
  • 465
0 votes
0 answers
290 views

new USB stick: backup GPT table corrupt, primary appears OK

Kubuntu - I can't mount/partition a new USB-stick [1] The sudo fdisk -l output is: The backup GPT table is corrupt, but the primary appears OK, so that will be used. Disk /dev/sdb: 61 TiB, ...
Joan DoeT's user avatar
0 votes
1 answer
247 views

Is my brand new USB SSD defective?

I've had a few times this problem in the past few days (but not in the previous weeks and I haven't changed anything besiders package updates) in a Debian 12 system (kernel 6.1 - haven't tried 6.6) ...
golimar's user avatar
  • 447
1 vote
1 answer
2k views

OpenBSD USB install; how to mount usb and find file sets:

During an OpenBSD install from USB, if one has reached the Pathname to the sets? prompt and the USB stick is not mounted, how does one find the usb device name, mount the usb drive and direct the ...
Lee's user avatar
  • 539
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 ...
Luis A. Florit's user avatar
1 vote
0 answers
678 views

Can't mount USB drive On Fedora 37

I was working on creating Linux From Scratch and suddenly I can no longer mount my USB drive. When I sudo mount /dev/sdf2 /mnt I get an error kernel: JBD2: Invalid checksum recovering data. Here's ...
jedi's user avatar
  • 469
1 vote
1 answer
93 views

How can I make a /media mounted USB Dongle a /mnt mounted USB Dongle?

I am trying to make /dev/sda a /dev/mmcblk device and the only way, I have found, is to make a /media/ mounted USB dongle installed indefinitely by making it mounted at /mnt/ instead. But...how should ...
Mala Dies's user avatar
2 votes
2 answers
1k views

Give executable permissions to binary files on a USB

I have a desktop application that provides the user with a tarball (.tar.gz) that they can unpack to find the binary that can be run with executable permissions which starts the overall program. This ...
Vass's user avatar
  • 5,421
2 votes
1 answer
9k views

How To MOUNT A LUKS Encrypted Linux Filesystem Unlocked Partition VIA USB on another LINUX OS to retrieve files

Ive been at this all day. I've scoured the web and this board and have tried many solutions to this issue but nothing has seemed to work. Someone on here asked a similar question and the solution did ...
Defcon's user avatar
  • 43
4 votes
3 answers
6k views

USB flash drives automatically mounted (headless computer)

For the project SamplerBox, up to now I was using /dev/sda1 /media auto nofail 0 0 to have USB flash drives automatically mounted when inserted on the headless computer, see also Auto-mount and auto-...
Basj's user avatar
  • 2,611
0 votes
1 answer
188 views

.img file mounted, want to see file updates without having to remount

I have a raspberry pi that is emulating a mass storage device, while having the backing .img file mounted. Once the pi is powered up and the .img is mounted, I turn on the mass storage emulation. I'm ...
David's user avatar
  • 133
0 votes
0 answers
980 views

Can't mount USB during OpenBSD installation

I'm trying to install OpenBSD and I need to mount USB with wifi firmware, but can't find it inside /dev. sysctl shows that it is inserted and no errors in dmesg about it. $ sysctl hw.disknames sd0:...
Euler-Maskerony's user avatar
0 votes
1 answer
251 views

Disable specific USB ports on RHEL 6

I need to disable only 4 of 8 USB ports on my workstation. Unfortunately BIOS doesn't allow me to disable single USB port so I need to do this in RHEL 6. Then, I need to configure which of the allowed ...
Tex'N'Duet's user avatar
1 vote
0 answers
29 views

External USB-drive keeps powering on during mount operations

I have an external hard drive connected to my machine running Fedora 33 (GNOME 3.38.5) over USB3.1. That drive usually goes to sleep after 5 minutes. Now each time I mount or umount another USB-drive, ...
SchlaWiener's user avatar
1 vote
1 answer
2k views

Where does Chrome OS, linux (beta) mount usb devices when forwarded

I am running chrome os Version 90.0.4411.0 (Official Build) dev (64-bit) I have gone into settings and enabled my usb device and when I go into the terminal and run lsusb this is what I get Bus 002 ...
Ethan O'Brien's user avatar
1 vote
0 answers
37 views

How can I make file/directory/ramdisk be visible as USB-drive in Linux?

I have some common issue about mounting something not a USB-drive as USB-drive in Linux. In that way I want ramdisk/directory/file to be seen as USB-drive in system so I could "insert" it in ...
red0ct's user avatar
  • 667
1 vote
1 answer
308 views

Cannot mount partition on a hard disk coming from a usb enclosure

I backupped a lot of data from a Linux Centos guest and a Windows guest running on ESXI 5 to a 1TB hard disk mounted inside a USB enclosure. The usb enclosure was connected directly to the guests thru ...
user2965433's user avatar
2 votes
1 answer
1k views

How to Selectivly Passthrough USB devices to a chroot

I have a chrooted env. made with debootstrap and i would like to pass only Certain USB devices to it. (not all the devices mounted on the host system). I know you could pass all USB devices by using $ ...
mohamed emad's user avatar
0 votes
1 answer
165 views

Root partition failing, usb, ext4, Archlinux

Problem: Installed Archlinux on a USB pen-drive (ext4) about a month ago. Everything was working fine up until recently. After a while I would not be able to execute commands (except bash built-ins). $...
troubleshoot's user avatar
-1 votes
1 answer
190 views

Mount Hidden USB device [closed]

I am not able to see an usb devide with my Macbook. Not available on Disk utility. But I can see it with ioreg -> see THISDEVICE ioreg -p IOUSB +-o Root <class IORegistryEntry,...
Lombric's user avatar
  • 101
1 vote
0 answers
173 views

Mount usb device, "name or service unknown"

I am running Debian and I am trying to run an App on my smartwatch through Eclipse. It is not running with no real log reported. My current thoughts are that it is related to not really having a ...
Khamaseen's user avatar
  • 111
1 vote
1 answer
2k views

Access USB device storage via terminal

For some reasons my Debian is broken and boots into a terminal based UI instead of the desktop. Where can I find my USB device storage directory in this terminal? Edit: It's not under /media.
fohebeh's user avatar
  • 31
0 votes
1 answer
387 views

NTFS-3G cannot on macOS catalina: MFTMirr does not match $MFT (record 3)

I have upgraded my macOS from High Sierra to Catalina, which, I think, causes for me to have following error. Is there any way to fix this error? $ mkdir /Volumes/FOLDER $ sudo /usr/local/bin/ntfs-3g ...
alper's user avatar
  • 507
0 votes
1 answer
2k views

Unable to mount a gpt partitioned external USB drive in Ubuntu 19.04

I'm trying to mount an external Toshiba USB drive in Ubuntu 19.04. No entry appears in the file manager gui when the drive is plugged in. fdisk shows... ewan@tiny:~$ sudo fdisk -l ... Disk /dev/sdb: ...
Ewan's user avatar
  • 151
0 votes
0 answers
132 views

How to used losetup with two external hard disks

sorry for my English... I rescue data(Films) from a external hard disks with ddrescue. The file name is rescue.img and it is stored on an external hard disk. Now I will mount rescue.img as here to ...
dsaj34v's user avatar
  • 177
1 vote
1 answer
2k views

Mount USB Storage recognised by "usb-devices" but not by "lsblk"

I have Debian Wheezy based router, kernel version 3.10.107 After plugging in USB storage, it is not recognized by lsblk. However, it looks like it is detected by the OS since the command usb-devices ...
spaceman117X's user avatar
3 votes
1 answer
585 views

Cannot mount hdd

So I have a HDD which I have connected with an adapter via usb to my Ubuntu laptop. On connection a sound is made, but the disk is not automatically mounted. After executing fdisk -l I get these ...
cgeopapa's user avatar
1 vote
3 answers
2k views

Why can't /dev/sd** be accessible without mounting?

I've been reading other questions and answers, but none have shown me exactly why mounting is absolutely necessary. They say the drive needs a mounted directory for association with the physical drive,...
TheRyGuy's user avatar
2 votes
0 answers
54 views

Duplicate mounting of USB drive on Linux Mint

I have a problem that I have never encountered before, so I have no idea where to begin TS. One of my external USB drives, named Tolotupon, has always mounted properly. I had done nothing to the ...
mentok's user avatar
  • 21
-4 votes
1 answer
95 views

Fedora Command Line [closed]

A few questions about commands relating to a removable device. What sort of command can locate the device file used by a USB? As in the directory it creates to open the actual USB. How do I mount a ...
Malcolm's user avatar
  • 11
3 votes
3 answers
655 views

Create folder in USB once mounted

I am trying to create a folder in USB once it's mounted. I am using below udev rule where I am sending **ID_FS_UUID_ENC** (64AC6F22AC6EEE4C) as a parameter and in the start.sh I am creating a ...
Irfan's user avatar
  • 133
1 vote
1 answer
341 views

How to mount an USB-stick on Xubuntu?

I would like to do a bootable USB stick on Xubuntu. I installed unetbootin, downloaded iso-image but as I tried to create usb-stick, it said You must first mount the USB drive /dev/sdb3 to a ...
guest's user avatar
  • 11
2 votes
1 answer
6k views

Detect if USB disk is mounted in C application in Linux

I would like to check if USB disk is mounted in a C application. I know that in a script I can accomplish this via mount | grep /mnt (the mount point where udev mounts the USB drive) but I need to do ...
OpenSourceEnthusiast's user avatar
1 vote
2 answers
2k views

How can I pin a mount folder to a specific serial number, so that the same disk gets mounted in the same place every-time?

I have many hard-disks that need to be mounted on restarts some have have NTFS file-systems other have EXT4, some are USB and some are SATA, some have the same label names, and they don't get mounted ...
Eduard Florinescu's user avatar
0 votes
1 answer
850 views

“cp: cannot create regular file” on a VFAT formatted external USB flash drive

I have an external USB drive which is formatted in FAT32. That's the output of the fdisk -l command: /dev/sdb1 * 56 15728639 15728584 7.5G c W95 FAT32 (LBA) I have the following entry in ...
Georgi Stoyanov's user avatar
1 vote
0 answers
110 views

How to organize mount points of connecting devices?

When I am connecting my external HDD to my Ubuntu box, it mounts several partitions under /media/<username>/<uuid> When I am connecting my mobile phone, it mounts under /var/run/user/&...
Dims's user avatar
  • 3,345
0 votes
1 answer
45 views

Is unmounted USB drive more durable than mounted one?

I'm thinking of running a file server on Raspberry Pi with two USB flash memories. Should I mount and umount every time I execute the backup? I mean, is the umounted USB more durable than mounted USB (...
ynn's user avatar
  • 910
1 vote
2 answers
370 views

USB Device 'attached' several times

I got a problem when i am pluggin USB devices into my server. It looks like the USB devices repeatedly plugged in or re-assign the device letters sdb1: sdb1 The problem with that is that i execute a ...
Danloc's user avatar
  • 180
1 vote
2 answers
3k views

Mount Oculus Go's internal storage under Linux?

When connected to my Linux machine, dmesg shows the USB device without identifying or providing a device path in /dev. What steps are necessary to mount Oculus Go's internal storage under Linux? ...
blee's user avatar
  • 1,352
1 vote
0 answers
910 views

USB sticks not detected in file system nor by GParted (Linux Mint)

I am trying to make an installable Windows USB stick in Linux Mint. It is not detecting the two drives I am attempting to format. From my understanding, I need to format the drive with GParted ...
Daniel Paczuski Bak's user avatar
0 votes
1 answer
47 views

Is it safe to mount one partition on many directories?

Example: mount /dev/sdb1 dir1 mount /dev/sdb1 dir2 touch dir1/file1 touch dir2/file2 I'm worried about the collision of writing data, which may result in some corruption of the filesystem. I read ...
ynn's user avatar
  • 910
1 vote
1 answer
3k views

Debian 9: Which package is required to automount USB-drives?

I successfully installed Debian 9 (Stretch) together with desktop environment LXQt. To keep the system minimal and clean I disabled auto-installation of all recommended and suggested packages via APT:...
Dave's user avatar
  • 1,046
2 votes
1 answer
191 views

Does mounting a USB device automatically modify it?

Most popular desktop Linux distributions automatically mount USB storage devices when the devices are connected or at least provide an easy way to mount them from the GUI. Does mounting a USB storage ...
Ender Wiggin's user avatar
0 votes
2 answers
1k views

Virtualbox VMDK to bootable usb stick not working

I used VirtualBox to set up a small Arch Linux 64 bit x86 machine. Everything is running fine installed on the 8GB big virutal hard disk in the VMDK format. cfdisk shows that I created two partitions:...
fameman's user avatar
  • 73
1 vote
0 answers
2k views

USB flash disk not mounting/showing and gparted and commands didn't output while connecting the USB drive - UBUNTU 16.04

I have a 8GB San Disk Cruzer Blade flash disk. When I connected it, it is not mounting. So I opened the Disks; it shows: Then I tried opening Gparted; it never finishes loading. When I realised this ...
Ali mus's user avatar
  • 11
2 votes
1 answer
381 views

How do I plug in a usb-drive?

Problem After using the following command on my usb-drive (/dev/sdd): # physically plugging usb-drive in at /dev/sdd > umount /dev/sdd1 > eject /dev/sdd I am unable to undo this last action. ...
Yeti's user avatar
  • 187
0 votes
0 answers
479 views

Usb storage doesn't mount

I'm connecting my LinkitOne to my arch linux pc, and it doesn't mount. When I'm connecting same Linkit One to windows pc and another arch linux pc it works as it should. Here is dmesg output on my pc ...
KgOfHedgehogs's user avatar
0 votes
1 answer
402 views

Mount usb drive using a script if it's plugged in

So I want to mount a usb device using a script if it's plugged in at boot. The usb device is not plugged in at every boot but others may be so I need to check if the label is correct and then mount it....
cranckstorm's user avatar