Questions tagged [usb-drive]
Any storage device with a USB interface (USB stick, USB hard disk, …).
783
questions
0
votes
0
answers
30
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/...
-1
votes
1
answer
108
views
Tails not booting using USB - stuck at systemd-journald.service/start
I downloaded the official tails 6.6 image file here. And followed all the steps mentioned and made my bootable usb drive.
But when I booted it on my laptop it did not boot for hours. I checked the log ...
0
votes
0
answers
16
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 ...
8
votes
4
answers
3k
views
Windows 11 erases GRUB data making booting into Linux painful
It's not exactly a "dual boot" question, because I'm not installing Kali Linux on an internal drive. The situation is that I install Kali on an external/removable hard drive from a USB stick ...
1
vote
1
answer
39
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
75
views
WiFi 6 USB dongle only shows as single USB storage device
I have recently gotten a WiFi 6 USB dongle:
(this one)
Unfortunately, when plugging it in, I only see one additional USB device - and it's USB storage. When mounted, I see an .exe with, supposedly, a ...
0
votes
0
answers
24
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
13
views
Slowness/Transfer rate going up and down on external 5TB Seagate hard drive via Samba?
My setup is the following:
I have an old laptop with 4GB RAM connected to LAN
The laptop runs Ubuntu 22.04 Server and functions as my home/media server
The laptop has a 5TB Seagate Expansion drive ...
0
votes
1
answer
23
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 ...
0
votes
2
answers
44
views
Hardware Theory: Read only Scrub of HDD/SSD drive using dd
Claim
If drives are capable of hardware controller correction of data upon read, then it is possible to routinely catch and repair silent data corruption by simply reading it.
Premises
Normally, when ...
2
votes
1
answer
91
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/...
0
votes
0
answers
40
views
How long should installing Linux (Ubuntu server or Fedora server) from a USB stick onto a Dell PE R730 server take?
I have flashed an OS image onto a USB stick and put it in the internal USB port of my Dell PowerEdge rack server. The boot manager can see the drive and I can select it for a one-shot boot but when I ...
1
vote
1
answer
33
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
81
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, ...
0
votes
0
answers
30
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 ...
2
votes
1
answer
93
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"?...
3
votes
0
answers
186
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
223
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
1
answer
758
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
0
answers
79
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
314
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 ...
0
votes
1
answer
23
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
758
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
0
answers
60
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 ...
0
votes
1
answer
2k
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
1
answer
214
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) ...
4
votes
2
answers
470
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/...
1
vote
3
answers
3k
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 ...
0
votes
0
answers
55
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
567
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
...
1
vote
2
answers
133
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 ...
0
votes
0
answers
919
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 ...
1
vote
0
answers
273
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
1
answer
101
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
175
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
977
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 ...
0
votes
0
answers
37
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
30
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 ...
0
votes
1
answer
440
views
my usb hard drive is only showing up in lsusb
I have a 500GB WD My Passport Hard Drive And it doesn't show up on my computer, Which is running arch linux. i've tried searching for solutions, however most of them are only if the drive dosen't show ...
1
vote
0
answers
152
views
How can I auto run the USBs files when it's plugged into my Chromebook?
Auto running the file with a ".inf" is not working.
1
vote
2
answers
954
views
Nixos install results in error during boot of "Timed out waiting for device /dev/dis/by-uuid/... to appear" with external NVME drive via USB
I have an issue when using an external NVME drive, grub successfully boots but once entering the entry default configuration (nixos generation) it gives me the below error:
"Timed out waiting ...
0
votes
0
answers
128
views
smartctl; need help to recover usb disk
I have a 2TB usb disk. I can not see it anywhere, can not mount it anyway. Here is the smartctl output. I am using ubuntu-22.04. How I rescue/use my usb disk? Any help
(base) ubuntu@ubuntu-Precision-...
0
votes
1
answer
1k
views
"Read Capacity(10) failed" and "Sense Key : Illegal Request" with a SATA-to-USB adapter
What is the meaning of these error messages in the system log, when I plug in a 2.5" spinning-disk SATA drive that I know works, using a USB-to-SATA adapter?
Jun 25 16:08:07 hostname kernel: [...
-3
votes
1
answer
248
views
How to burn correctly the FreeBSD 7.2 ISO image in a USB stick
I've found that FreeBSD 7.2 should have kqemu,so I want to try how much good it was. I've written the iso image to my USB stick ( /dev/sdj ) with this command :
xzcat 7.2-RELEASE-amd64-dvd1.iso | dd ...
-1
votes
1
answer
296
views
USB disk partitions disappeared, cannot mount
The USB partitions were deleted, only sdb remained. sdb1 does not exist. How do I partition the USB again? Now it shows up in the lsblk output, but I can't mount it.
[xx@x ~]$ lsblk
NAME MAJ:MIN RM ...
2
votes
1
answer
57
views
Linux removable drive stuck problem when reading large number of files
I have several USB removable drives that I have connected to my single-board computer to use as a NAS. The operating system I am using is Armbian, which is a Debian-like system.
Ok, this is the ...
0
votes
0
answers
124
views
cant run linux mint on usb stick (no access to hard drive currently) kernel panic not syncing attempted to kill init exitcode=0x00000009
I have swapped out the cpu for another one though, it’s a sony vaio vpcf11s1e with gt 330m, i3 350qm and 8 gbs of ddr3 ram.
I had to swap out the i7 720qm for an i3 350m what was laying around i7 was ...
0
votes
0
answers
60
views
Ubuntu and other software completely unable to detect a usb drive
I was attempting to flash a USB drive so that I could install Windows on a different HDD, but in the process, it became completely unreadable.
So now whenever I try using it it does not appear in any ...
1
vote
1
answer
45
views
Installation speed using USB thumb drives
On the command line, I cp'd the debian 11.7 install image, which is a large 3.7GB isohybrid file, from my desktop SSD, to each of two different ~8 year old 8GB thumb drives (memory sticks), neither of ...
2
votes
2
answers
6k
views
display usb device type (usb 2.0 usb 3.0)
How to display usb device generation number?
I need to confirm usb storage device is usb 3.0. Is it possible to confirm on command line USB device generation? Not the port, port already confirmed as ...