Questions tagged [usb-drive]
Any storage device with a USB interface (USB stick, USB hard disk, …).
806 questions
1
vote
1
answer
38
views
Linux fixing slow usb transfer speed without rebooting
I have a usb 3.0 apricorn usb disk, 1tb size I think, for which this has been done to it under RHEL-8.10 and is only used on servers running RHEL-8.10 :
parted /dev/sdb
mklabel gpt
mkpart primary 0% ...
3
votes
1
answer
395
views
A way to disable udisks "housekeeping" short of disabling udisks?
I have a USB hard drive connected to Raspberry Pi OS that seemingly never spins down. It turns out that udisks2.service is performing regular "housekeeping" and failing:
Sep 05 02:32:13 rpi ...
0
votes
1
answer
132
views
Provide fake/virtual USB drive via USB port for camera video storage
I have a Blink camera sync module, it is a proprietary device which downloads video clips from various Blink cameras in my home and stores them into a vfat-formatted USB-A drive attached to the module....
2
votes
0
answers
83
views
Why is password requested repetitively to mount encrypted USB drive?
I have a USB drive, encrypted with LUKS cryptsetup, that I use for regular backups.
When I plug in the drive, I am prompted for a password, just as expected. But then the drive gets mounted, an icon ...
0
votes
1
answer
79
views
How to write a folder on usb drive after I put .iso image on it?
I want to create a bootable USB and to put drivers folder beside my .iso image. Firstly, I wrote zeroes on my USB drive using this command: sudo dd if=/dev/zero of=/dev/sda bs=4096 conv=fsync oflag=...
5
votes
2
answers
2k
views
Why did my dd command change disk from ExFAT to UDF (Universal Disk Format)
I have a usb disk and I have format it to ExFAT on Mac. Then I run the command to create a bootable windows on Mac:
sudo dd if=Win11_24H2_EnglishInternational_x64.iso of=/dev/disk4 bs=8m status=...
0
votes
1
answer
105
views
Unmounted USB drive, plugged in but I need access remotely
I unmounted my 2TB Samsung SSD, before I went on holiday (meaning to bring it with me but I forgot). I have remote SSH access but I can't find a way that will work for an up-to-date kernel (OpenSuse ...
0
votes
0
answers
161
views
How to speed up rsync to USB drive
Both systems are Arch Linux with the latest rsync. Connected via 1Gbit/s ethernet. Still rsyncing to a USB drive is slow, it's just 1-2MB/s
rsync -Pavh --stats --rsh="ssh -T -c aes128-gcm@openssh....
3
votes
1
answer
621
views
USB hard drive suddenly has no partitions?
My neighbor was trying to use his WD drive and it failed to mount to D:\
I connected to my Ubuntu 22.04 laptop:
lsblk -o model,name,fstype,size,label,mountpoint1 failed to return any partitions for ...
0
votes
2
answers
139
views
"File too large" when copying 8GB file onto 30GB Apple device (USB stick unlabeled)
I have this file on disk:
$ ls -lh /path/to/some.mkv
-rwxr-xr-x 1 enrico enrico 7.4G Dec 17 18:54 /path/to/some.mkv
so it's less than 8 gigabytes, but when I try to copy it on a 30GiB flash drive, I ...
0
votes
0
answers
14
views
USB memory devices to be shared on MacOS 10.7.10
I have a Mac (BSD UNIX: I believe that USB devices are mounted at /Volumes.
Is there a clever method to ensure that all USB memory devices are shared at a consistent location on the network ...
0
votes
1
answer
56
views
Why the key After performing automount?
I want to make an automatic backup to a flash drive after auto-mounting it.
To do this, I wrote in /etc/fstab...
UUID=0698-A3CF /flash vfat noauto,nofail,x-systemd.automount,x-systemd.idle-timeout=...
0
votes
1
answer
70
views
Looking for WRITTABLE RESQUE linux distro for USB drive under 8GB installed
Looking for WRITTABLE resque/recovery type LINUX distro for USB flash drive under 8GB installed.
Current primary usage scenario: write and troubleshoot initramfs script for non-standard boot process (...
0
votes
0
answers
176
views
creating a bootable USB drive with a single partition
I want to install Debian in dual boot with Windows, for this I created a bootable USB key under Linux Lite (Ubuntu based distro), with the #dd command.
The command I used is:
dd if=image.iso of=/dev/...
0
votes
0
answers
61
views
Replicating 'udisks power-off' behavior (without udisks)
udisks exists for regular users, root must (and is) able to live without it, I need help figuring out how.
The goal is to do exactly what
udisks power-off /dev/sdX
does without udisks. hdparm is out ...
1
vote
1
answer
143
views
How can I get newly inserted devices to get recognized by ls (directory listing)?
I use Arch Linux and I find that if I plug a USB drive into my computer then it does not show up in /run/media/user-name. However, if I use caja I can see the drive and view its contents. Then if I go ...
0
votes
0
answers
37
views
How can I get the _real_ progress of dd, ignoring fast/staging buffers? [duplicate]
I'm using the dd command to write to a USB stick. My command is pretty straightforward:
dd if=myimage.iso of=/dev/sdd bs=1M status=progress
and indeed, I seem to be getting the progress reported:
...
0
votes
1
answer
73
views
Writing to an External USB Flash Drive When Power Could Be Lost
I'm looking into building a small embedded device, probably using a Banana Pi M2 Zero. In any case, the device will not have a graceful "turnoff" - it will simply lose power. However, I'm ...
3
votes
1
answer
436
views
boot usb iso-image from grub2
My laptop refuses to boot from a "live" usb stick, but I have grub2 on my HD, so I thought I'd boot the stick from there. In the grub2 console I tried:
set root=(hd0,msdos2)
chainloader /efi/...
1
vote
1
answer
164
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
0
answers
51
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
774
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 ...
1
vote
1
answer
3k
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. ...
0
votes
1
answer
748
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
1
answer
1k
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 ...