Questions tagged [usb-drive]

Any storage device with a USB interface (USB stick, USB hard disk, …).

Filter by
Sorted by
Tagged with
2 votes
5 answers
2k views

Corrupted USB stick cannot be mounted or formatted

I have a USB stick that I can't operate on no matter what. lsblk -f shows an empty line and no partitions NAME FSTYPE LABEL UUID MOUNTPOINT sdd ...
1 vote
1 answer
22 views

USB SATA dock failing on one computer but not on another

I've got one 20TB and one 6TB HDDs into an ORICO 6629us3-c USB3->SATA dock. For some testing purposes I have split the 20TB disk into 18 partitions and the 6TB inton 6 partitions. I could run ...
0 votes
1 answer
43 views

How to change default automount USB path to /mnt/sdXX?

Default mount path with udisks2, udiskie is /media/XXXXX On some distributions /media/user/XXXXXX How to change automount path for USB drives to a shorter /mnt/sdb1 /mnt/sdc2 etc. With udisks2, ...
1 vote
1 answer
85 views

Copy from HDD to USB 3.0 is really slow with Thunar, cp, and rsync

I was trying to copy files with rsync from my laptop to a USB 3.0 external hard drive, but it was going really slow. Just for reference, this is the command I was using: rsync -a src/ dest/ --info=...
0 votes
0 answers
27 views

usb won't boot automatically

So, I haven't used a USB stick for quite a while, but as I recall, it was easy to get them to boot automatically by moving them to first priority in BIOS setup. That's not working now. I have a USB ...
3 votes
0 answers
48 views

Copying files from Linux to external USB hard drive - Speed reduces to almost zero

I am a user of Ubuntu, Kali and lately Parrot for approximately the past 10-15 years (notebook, private use). Every now and then there are small problems to solve, but in general, everything works as ...
2 votes
1 answer
32 views

Solving the USB drive/mass storage stall issue

Sadly the issue reported and described here: Pernicious USB-stick stall problem. Reverting workaround fix? and Is "writeback throttling" a solution to the "USB-stick stall problem"?...
2 votes
2 answers
6k views

Grub Not Seeing Usb Drive

I want to hack around with booting from removable media, but ran into some problems. On one laptop, an HP Notebook 17-by0062st, I am unable to get grub to even recognize a USB stick present in a ...
4 votes
3 answers
20k views

How to install Kali linux on to a specific (existing) partition on a USB stick

I'm endeavoring to put Kali linux onto a USB stick - I know it's already written up, but I'd like to use only a portion of the total space (the aforementioned link will use the entire drive space). ...
0 votes
1 answer
2k views

permission needed for Python to access USB drive?

I got this Python script that reads media files from USB stick. It used to run fine, today it keeps giving me OS Error: [Errno 13] Permission denied: media/myName/usbName when the script runs the ...
2 votes
1 answer
2k views

Dolphin does not recognize USB device if inserted before loading (Arch Linux)

So Dolphin is behaving funny. I can't tell you if this is new or not. System Info: Arch Linux 64 bit up to date, standalone startx with i3. The devices in question are fat32 and exfat (stupid windows ...
1 vote
1 answer
3k views

How to change default permission for usb devices filesystem

On Debian, when automounted, all files and directories in USB drives have 777 permissions. I don't like it very much. I know a bit of udev rules, and I think I could write a rule of mine to override ...
0 votes
1 answer
143 views

How do I install Linux when I cannot disable Secure Boot?

I tried install Linux Mint with usb stick done by Ventoy and by (KDE) ISO Image Writer on Fedora. Mint latest version 21.3.Both times I get "Secure Boot Violation. Invalid signature detected. ...
1 vote
3 answers
7k views

Where to find a list of device drivers supported by linux?

I have read here that linux supports a large number of device drivers and by extension, it also supports a large number of devices connected via the USB port. Excerpt from that site: Linux today ...
0 votes
0 answers
54 views

Poor performance on Linux compared to Windows when reading from certain USB 3 flash drives

The issue to which I refer has been talked about a bit elsewhere on the internet: https://www.reddit.com/r/linuxquestions/comments/sbpt23/usb_flash_drive_read_speed_much_slower_in_linux/ https://...
0 votes
1 answer
3k views

HDD error: SMART Status command failed: scsi error medium or hardware error (serious)

After my PC won't start again (my first guess was the power switch to turn it on was dead), I removed the HDD to extract my data. When I set the HDD (a 640 GB WD) into an external case (USB 2.0), the ...
0 votes
1 answer
8k views

(udisks-error-quark, 0) error while trying to open my USB flash memory

I had an Ubuntu 22.04 running wth no problems but decided to change my SSD card and install the exact same Ubuntu on a new SSD. So I copied some important files into a USB flash memory and after it ...
0 votes
1 answer
95 views

How to autorun a script in usb flash drive on Ubuntu without root authentication

This year I started a cybersecurity course and the teacher (who has Ubuntu) challenged us students to steal his data with a USB flash drive. He didn't specify what type of data, so I chose to use this ...
4 votes
2 answers
297 views

"mount" works in terminal; mounting through interface does not

Since yesterday I've been unable to mount an external hard drive using either the taskbar, or the file manager (Dolphin) which shows me the following error: Error mounting /dev/sdf2 at /run/media/...
0 votes
1 answer
18 views

How can I load config.tbz from the same USB stick that Grml is running from?

I've tried to put a config.tbz in the root of the USB stick but it's not unpacked by default and nothing useful is logged /tmp/grml* either (even with log added to the kernel command line). I've also ...
4 votes
1 answer
623 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 ...
1 vote
2 answers
2k views

USB speed bottlenecks (specifically while running virtual machine)

This question is mostly about USB performance on Linux, but more specifically performance issues when running virtualbox images off of my USB. I posted this on the virtualbox forum, but so far no one ...
1 vote
3 answers
2k views

Use Parted Magic with YUMI

I've tried putting parted magic versions on an flash drive using YUMI but every time I get an missing file error stating: This application has raised an unexpected error and must abort. [45] File or ...
2 votes
2 answers
1k views

How to remove device id from manually entered usb-serial driver

I previously followed the answer in this question: Attaching USB-Serial device with custom PID to ttyUSB0 on embedded Now, I need to revert that step so that the device id I echoed to new_id doesn't ...
0 votes
1 answer
125 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) ...
0 votes
0 answers
49 views

Corrupted portable SSD, wrong size detected, what to do?

I have a 240 GB portable SSD from Transcend. ESD230C Portable SSD Model: TS240GESD230C SN: F43849-0038 Recently there have been long delays in reading data. During another such long delay, I ...
1 vote
2 answers
2k views

Which is the correct mechanism for auto-mounting a USB flash drive at boot?

I'm seeing apparently conflicting information on the proper way to auto-mount USB flash drives at boot. Most instructions on how to do it say to use an entry in fstab. Gnome Disks has a built-in ...
0 votes
1 answer
543 views

Trying to automatically mount a usb drive on debian bookworm when connected

I cannot for the world get my usb harddrive mounted via autofs on debian 12 (bookworm) - I found this resource and some similar questions here but nothing seems to work. What is the current way to ...
0 votes
2 answers
225 views

pendrive distro

Which distro should I install on my 8GB pendrive? I need it to have powerfull repos (everything, music editing is crushial) and should be lightweighting not losing on functionality. Any propositions? ...
104 votes
11 answers
233k views

Eject USB drives / eject command

I know that the eject command can be used to eject almost any hardware component attached, but can it be used to eject USB drives? Is it possible to eject USB drives and external HDD's with the eject ...
1 vote
3 answers
924 views

How to disconnect and reconnect USB devices on the command line?

I want to find out what gnome-disk is doing, how to do the same on the command line and how to undo whatever gnome-disk does. (It can not undo all it does itself.) I have already experimented a little ...
3 votes
3 answers
10k views

ntfs-3g-mount: mount failed: Device or resource busy

When I try to mount my 1tb hard drive /dev/sda I get "exited with non-zero exit status 21: ntfs-3g-mount: mount failed: Device or resource busy" I have tried using the "sudo mount -t ntfs-3g -o ...
0 votes
0 answers
39 views

USB HDD Constantly accessed every 0.25 seconds only when mounted

So I recently purchased a Seagate 16TB external USB hard drive (STKP16000400), it actually arrived earlier today. The first thing I did was wipe the disk, create a new GPT partition table with a ...
1 vote
2 answers
315 views

SSD initially mounts correctly, but disappears from lsblk after a few days

I am a Linux beginner, and am having a problem with a drive which disappears from lsblk periodically, and am stuck with how to proceed. The drive is an 240GB external USB SSD. Mounting the Drive Works ...
28 votes
3 answers
59k views

Mounting USB drive that is not recognized

Using Arch Linux / XFCE, I frequently have problems with USB drives that are not properly mounted. Sometimes they automatically show up in Thunar and I can mount them with one click. However, at other ...
1 vote
2 answers
96 views

fdisk -l on an usb drive gives a very weird response

Today I nuked an old usb3 flash 8GB drive on a linux machine with: dd if=/dev/random of=/dev/sdb then I put it into a windows pc, it asked me to format it, I did an extended format with default ...
2 votes
1 answer
528 views

USB Drive showing in lsusb & dmesg but not in lsblk or fdisk

I have this USB Drive that i'm trying to fix,. When I plug it, dmesg shows the following : [83630.997986] usb 1-10: new high-speed USB device number 12 using xhci_hcd [83631.146553] usb 1-10: New USB ...
0 votes
1 answer
612 views

access DD image

I'm trying to analyze a given USB image (.DD) to find out the location of the MFT table. The problem is I'm having trouble to mount the DD image. When I run fdisk -l ntfs5.dd here's the output that ...
6 votes
2 answers
8k views

Mount Samsung Galaxy S7 using simple-mtpfs

I would like to mount my Samsung Galaxy S7 to an folder using simple-mtpfs and I cannot do it as I used to (on previous Fedora and older Galaxy S4). If I simply plug S7 to my computer, I can browse ...
0 votes
0 answers
521 views

Remove encrypted partition from "Kingston Datatraveler Locker+ G3" and make it usable to Linux PC?

I have a "Kingston Datatraveler Locker+ G3" lying around. The manual on it explains steps for Windows XP and Windows 7 so it's from that time, I guess. I had some files on it, but couldn't ...
2 votes
0 answers
103 views

mkdosfs hangs forever, even when using timeout

I'm testing massive amounts of USB flash drives using a custom bash script that's based on f3. Before I perform f3write and f3read I format the drives, as my experience is some of the drives come ...
1 vote
1 answer
3k views

help using bind/unbind to power on/off USB drive

I'm trying to power on/off an USB drive using bind/unbind command following this post, can someone please point me to the right direction where to find tutorial/explanation on bind/unbind usb drive (...
1 vote
0 answers
233 views

How to modify/extend USB device access permissions in Debian?

I have a PC with Debian 10. I need the USB drives to have broader permissions than those given by default by the system. I will give an example: with the user "john" being authenticated, ...
0 votes
2 answers
3k views

Can you use "pvcreate" with a USB flash drive as a device on Ubuntu?

Is it possible to run pvcreate command choosing a USB flash drive as a device? When I executed pvcreate command on Ubuntu: sudo pvcreate /dev/sdc # */sdc* is a USB device I got the error: Device /dev/...
0 votes
1 answer
65 views

Can Wine and/or Playonlinux be used to fix ntfs errors the way Windows does?

Very often, when a ntfs external drive cannot be mounted in Linux because of some more or less obscure motive, simply plugging it onto Windows fixes it, even without running the tool to scan and fix ...
2 votes
1 answer
119 views

Softirq delayed because of the Heavy I/O Operation

I am trying to copy the contents of a 1 GB ISO file (stored in USB) to my internal storage. As part of a test when i am doing repetitive copy operation from USB to my hard drive continuously I observe ...
1 vote
1 answer
606 views

how to clone UEFI bootable USB disk onto another disk (possibly of different size)

How can I clone my existing UEFI bootable disk, so that the copy is identical? I have tried creating new bootable disk, using same procedure, same label name, and same UUID and PARTUUID labels for the ...
1 vote
1 answer
593 views

systemd-mount and automatic deletion of mount point on USB removal

On a systemd based embedded system, built with yocto, I'm trying to use systemd-mount for automatically mounting USB drives whenever those are plugged in. Following the official manual, I created a ...
0 votes
0 answers
22 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 ...
1 vote
0 answers
26 views

Scrub identifying data from USB stick

I am providing photos related to a legal matter to a lawyer and she is going to give them to law enforcement without giving them my name (under attorney client privilege). I am not sure if she is tech ...

1
2 3 4 5
16