Questions tagged [usb-drive]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
17 views

VirtualBox: USB drive recognized but not listed

I'm running Debian on a VirtualBox machine (Windows 7 is the host o.s.). I attached a USB drive and selected into the guest system. I can see it's recognized in dmesg output: [ 785.492007] usb 1-1: ...
1
vote
0answers
15 views

Which file system copes 'better' with bad ejects of external USB HDDs?

Is there a disk format that copes well (or better than others) when end users physically disconnect USB-attached external drives without safely ejecting then? I have XFS, ext4, btrfs, exfat, and NTFS ...
1
vote
1answer
33 views

USB stick sometimes is “Removable device” other times is “Hard Disk”

I have a simple Linux disk image that is made with syslinux and I want to boot it from a USB key. I originally partitioned the image with parted, so it has a partition table and the first partition is ...
3
votes
0answers
29 views

How to reliably detect a USB drive just after boot on Linux

We're building a device based on Raspberry Pi. And we'd like to add an option to detect plugged USB drive on when the device boots, to e.g. perform a firmware update. There's a problem that the USB ...
0
votes
1answer
13 views

Problem with bootable drive

I'm trying to swtich from ubuntu to pop! os. I made a bootable usb drive using "Disks" program in Ubuntu, selecting the voice "Restore Disk Image" with the pop os image. However when I boot my laptop ...
1
vote
0answers
12 views

USB 3 storage devices not recognized on first boot

I'm having an issue on Debian where my external USB 3 storage devices are not recognized when first booting up the system. If I issue a reboot after powering up, then they will be recognized. This ...
1
vote
1answer
24 views

USB3 drive only works on USB2 ports, but USB2 works on USB3 ports

I installed Linux Mint recently, everything seems fine, except my USB 3 drives won't mount when plugged into USB 3, they don't even light up. They will only mount when plugged into a USB 2 port. My ...
0
votes
1answer
24 views

How to install linux on a laptop that doesn't recognise FAT32 bootable media in boot menu?

I recently bought an LG laptop, and im looking to install the latest UBUNTU LTS on it. I used rufus to create a bootable usb using FAT32 file format. It doesnt show up in boot menu list. It only ...
0
votes
0answers
16 views

External expansion drive is recognized by lsusb and dmesg, but not fdisk or lsblk

I have a Seagate SSD expansion drive that I haven't used in a few months that I'm trying to plug into my laptop (Lenovo Yoga 460 running OpenSUSE Tumbleweed). When I plug in the expansion drive, I'm ...
-1
votes
1answer
24 views

Kali on 32gb flash drive displays 67gb storage

I'm new to linux and how it works. I recently installed a kali linux image onto a 32gb flash drive and stuck it into my pc and booted from it. All went well, and so I ran the df command and got this ...
3
votes
2answers
48 views

Installing Arch onto a USB key from QEMU emulation, but all efivar files missing

I am really new to this, and I tried to install archlinux (from the official Arch ISO: here) onto a 128GB USB 3.1 Samsung key (this one) using the x86 emulator QEMU on MacOS. I finished installing ...
1
vote
0answers
52 views

Windows and Debian-based dual boot installation problem

I Need to have Windows 10 and Debian in dual boot on my Laptop. I've installed Windows 10 ( uefi mode) as primary OS. When i try to boot into my USB Stick created for Uefi with the installer of Debian,...
0
votes
3answers
39 views

USB-attached HDD visible in dmesg, but can't be opened with fdisk

I've attached a SATA to my computer via a "plugable" (that's the company name) disk docking station. The docking station is fine, since I've attached another HDD and was able to see its partitions' ...
1
vote
0answers
68 views

USB don't show on fdisk

I have a USB and for some reason i can't access it. On fdisk -l i don't see the USB, also not show on gparted or anywhere.... I don't remember the format of the usb. Kernel version: 4.15.0-50-...
0
votes
1answer
38 views

Running an executable off of a usb drive

I have an executable on my usb drive. I cd to the directory, ./app yields permission denied. So I did chmod u+x app. Then, ./app. But still, permission denied.! Then I read something here: That ...
2
votes
0answers
12 views

Avoid pipeline stalls from write caching to usb drive

I have the following process I use for backups: btrfs send snapshots/home-2016-06-04 | zstd --verbose -T4 - | gpg --batch --passphrase-file /tmp/secret --compress-algo none --symmetric - > /mnt/...
0
votes
1answer
137 views

How to fix bad magic number - Superblock on Linux

I'm running a dual boot system with Windows 7 and Puppy Linux Ubuntu based " Bionic " installed on a separate partition of my main drive. Completely separate from that I have a 1Tb Western Digital ...
-2
votes
2answers
104 views

Kali Linux installation on USB drive

I want to install Kali Linux on a 64 GB USB drive and want to take it just anywhere and plug it in any PC and have my setup up and running. IOW I just want a HDD like complete Kali Linux portable ...
0
votes
0answers
9 views

Can the USB subsystem copy only one file at a time?

Xubuntu 18.04 up-to-date $ uname -a Linux haggis 4.15.0-48-generic #51-Ubuntu SMP Wed Apr 3 08:28:49 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux In one session, I'm copying a lot of files from a LV with ...
2
votes
0answers
19 views

Why does rsync keep copying without actually writing after an error?

I've been trying to copying a bunch of files between two USB drives, the source NTFS, and the destination FAT32. There were a couple of files hidden amongst the source data that were > 4GB. I used: ...
1
vote
0answers
96 views

USB SCSI drive recognized, but can't mount

This is a MyBook AV drive that was recording video from my fios box before I cut the cord. I'm trying to use it as a backup drive with a SCSI to USB cable. Ubuntu 18.04. Detected by lsusb and lsscsi, ...
-1
votes
1answer
57 views

ChromeOS - Autorun script located on a USB drive

I am developing a piece of software that is eventually going to run on ChromeOS and will come in the form of an Android app (apk package). We have been asked to come up with a distrubution system that ...
0
votes
1answer
37 views

Allow autorun from USB drive on Xubuntu

Is there a way I can bypass the popup and automatically run the autorun.sh file quietly? I am currently using Xubuntu 18.10.
0
votes
0answers
18 views

my Dell machine does not recognize a certain usb driver

I have 2 Dell machines I'm working on (Inspiron 7520, Precision 7730) with Ubuntu Bionic Beaver 18.04 installed. I have also a USB driver Sandisk 3.0 32G. the drive was working in both of them a few ...
4
votes
1answer
53 views

Changing default USB drive mountpoint owner

I am developing a device that runs Raspbian on Raspberry Pi. The device runs a background process that should be able to access usb drives when they are plugged in. The problem is that the background ...
0
votes
0answers
60 views

USB disk disconnects when exchange quite high data

I have an embedded PC (based on Atom Z3735F with a 32 GB eMMC for o.s.) that I use as NAS with OpenMediaVault 4.1.2-1. On an USB port I connected a 1 TB Hard-disk for storage. Whenever I do something ...
1
vote
4answers
69 views

UEFI-installed Debian on a pendrive doesn't want to boot after being removed once

I read here, once, that installing a Debian 9 on a pendrive (well, in my case it's a SDCard adapter) directly would work, and it did. The problem came up, though, after i unplugged the adapter from ...
0
votes
0answers
727 views

USB Wifi rtl8188ftv does not work though its detected in system kali linux [duplicate]

I bought this new usb adapter to use it on kali linux that I run using vmware station 15 pro. but its not working no matter what I tried, I tried compact wireless, the wifi is now working but cant ...
-1
votes
1answer
187 views

Hard drive - not seen by fdisk, not mounted but detected

I had hard drive which was target location for CCTV, connected to linux mini pc running rsync in background to collect footage from few locations. Well, I noticed that sometimes rsync failed due ...
1
vote
1answer
86 views

Can't unmount drive without killing bash [duplicate]

I don't know whether its normal or not but when I mount a filesystem(ext4 partition, USB, SD card etc) via command line, I can't unmount it because it says target is busy It is the bash process ...
1
vote
0answers
49 views

Problem with USB Driver VID and PID

I'm trying get data from an USB to my application. My device is a Power Frequency Inverter that have a Type B USB as output, in the another side have an USB type A plugged in the my computer. When I ...
3
votes
1answer
537 views

Determine free space available on a USB flash drive in C (linux)

I would like to figure out the available free space on a USB flash drive in a C program in Linux. I have earlier used system("df -h /dev/sda1") to figure it out but using system command in a Linux C ...
0
votes
0answers
266 views

Flash drive detected by lsusb but not by fdisk

I try to format SanDisk Ultra microSDHC UHS-I Card with adapter but it does not appear on fdisk -l. However, it does appear on lsusb as Bus 001 Device 006: ID 1908:0222 GEMBIRD
3
votes
0answers
59 views

In Linux, is there a way to automatically mount a drive when it is inserted? [closed]

I'm trying to automatically mount a drive when a user inputs it and show the progress on my web page so I will be translating this into my python code. Using Linux commands - What would you have to ...
2
votes
1answer
39 views

Is there a way to figure out what physical port a drive is being inserted into through linux?

Without knowing the order of which drives are being inserted and which ports they are being inserted (by human eye), is there a way to tell where they are being inserted using linux commands? I need ...
1
vote
1answer
44 views

What is the deal with this usb drive with a second block device?

I have a giveaway usb stick and when I plug it into my computer and run lsblk it shows two block devices, i.e. sdb and sdc. sdb of them contains almost all the free space ( ~15G) and the sdc one is ...
1
vote
0answers
34 views

Open USB off specific port in linux

I am using a raspberry PI. I want to create a USB bridge, meaning I can transfer the files from one USB to another automatically. My problem is finding the specific USB I want to take the files from,...
1
vote
0answers
44 views

Usb stick got corrupted after plugging it to a windows PC

I'm having a very strange problem. I have a flash drive which is formatted as FAT32. I copied a file to the flash drive and lend it to a friend, who plugged it to his windows PC. The PC did not ...
0
votes
0answers
66 views

Did this dd command run too fast? [duplicate]

Usually people want to speed dd up but I want to slow it down, because I think there is something fishy going on with its speed. sudo dd if=hannah-montana-linux-amd64.iso of=/dev/sdb1 bs=512k 5988+...
1
vote
2answers
185 views

USB hard drive I/O slow speeds

I have several Mediasonic ProBox HF2-SU3S2 with 4 drives - all with the same symptoms - extremely slow I/O (at best, about 10MB/s write). Each unit is configured with a software RAID 5 using mdadm ...
-1
votes
1answer
53 views

How to move partition in a usb to the first position

I've Recalbox installed in the USB with 16 gb 3.0. It's partitionated in 4 because Recalbox needs at least 3 partitions, and it has a fourth partition of 5 gb that is called Documents. The problem ...
0
votes
0answers
26 views

How is automount behaviour determined?

On a Debian 9.4, a certain external disk, full of Windows partitions (ntfs for 3 of them, UEFI for another one) makes automount don't mount the same partition depending on the usb - disk enclosure ...
1
vote
1answer
158 views

Mint “cow format specified as overlayfs and no support found” error

On a Mint 19 Mate pen drive persistent setup, I attempt to copy the casper-rw persistent file limited to 4GB to an ext4 partition. I am looking for the steps to transfer applications and data to an ...
-5
votes
1answer
47 views

why can't I instialize the struct member fields separately?! (In USB device driver) [closed]

I'm trying to implement usb device driver. I've wrote #include<linux/module.h> #include<linux/kernel.h> #include<linux/usb.h> struct usb_device_id IDtable[]={ {USB_DEVICE(0x067b,...
1
vote
0answers
23 views

Linux Mint cannot access USB drive from an admin accout. Drive is detected and works fine in other accounts on the same machine

I have a weird problem on a Linux Mint 18.3 Serena Mate install. USB drives (I have tried a few) are detected and appear on the desktop but cannot be accessed in this account. The account has admin ...
0
votes
1answer
256 views

Nothing Is Working: Installing Debian on USB

I need to be able to run a linux distribution on my Windows 10 laptop, so I decided to go with Debian. I want to have a USB flash drive that I own run Debian on my laptop, instead of having my laptop ...
1
vote
1answer
105 views

When installing Debian it on a USB external hard drive, Can the file system be corrupted during disk shutdown?

I want to install Debian on an external hard drive but I'm not sure if this could corrupt the file system. I would like you to explain to me if there is any modification to be made to the operating ...
1
vote
1answer
83 views

How to format a rogue flash drive? (GParted tries to touch file system footer beyond actual capacity, and freezes up indefinitely) [closed]

On a limbo-type fake USB or SD card, all sectors starting from a specific position on the drive are unavailable (zeroes only or ones only or unreadable sector response). A flash drive might indicate ...
0
votes
1answer
70 views

How do I format a hard drive EXT4 with lowest possible inode disk usage (for 1 Dir and 1 Massive File)?

I am trying to prepare a hard drive for burst mining on linux and want to maximize the hard drive space available for the plot file. So for this I need to set the inodes to the minimum possible that ...
0
votes
0answers
96 views

Broken links in /dev/disk/by-path

I work with a lot of low quality USB flash memory modules - some of them can even hang the USB controller and block all traffic until I remove them. I'm testing these drives using f3 and a custom ...