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

learn more… | top users | synonyms (1)

0
votes
0answers
5 views

ncq disabled on usb drive with ncq capabilities

I've recently purchased a Gigabyte BRIX paired with WD10JFCX 1TB Drive which is encased in an USB3.0 box. On it I run Ubuntu LTS 14.04 When I look at /sys/block/sdb/devices/queue_depth it reads 1 ...
0
votes
0answers
8 views

Rotate screen using udl driver (DisplayLink) on Ubuntu 14.04?

Recently got a DisplayLink device, it works, but I would like to rotate counter-clockwise. Apparently the driver does not allow rotation (tried via gnome-shell and xrandr). Searching on google I ...
1
vote
1answer
483 views

USB3 drive plugged in to PC makes computer hang on “welcome to grub”

I have a Seagate 2TB USB2 hard drive, ext4 formatted. If I plug it in to my system and boot, PC gets stuck at "welcome to grub". If I restart without the USB drive plugged in, the system boots ...
-1
votes
0answers
25 views

Kali Linux on USB not enough space [closed]

I want to use Kali Linux to crack WPS with Reaver. I did this before with Backtrack 5 but now I saw it's not there anymore so I want to use Kali Linux :) My problem now is I got only a 1.7Gb USB ...
3
votes
2answers
247 views

Exposing NFS mount via USB

I know enough linux to be dangerous - apologies if my terminology is incorrect. I have an electronic drumkit that has USB into which I can plug a flash drive with MP3s on it. The drumkit has no ...
7
votes
6answers
8k 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 ...
7
votes
3answers
10k views

How to umount a USB drive?

I want to know how to umount my USB drive via command line. I am using Ubuntu 12.04 LTS 32-bit.
0
votes
1answer
392 views

Debian install fails on USB-HDD

After my internal HDD broke in my laptop, I've tried to install Debian 6.0.6 on my external HDD. Please note that everything runs great when installing Ubuntu, but for some reason while the Grub stage ...
0
votes
1answer
12 views

Change default application of USB

I am using GNOME 3.8.4. When I plug in a USB device it asks to open with Rhythmbox but I want to be asked to open with Nautilus. How can I handle this?
1
vote
0answers
30 views

How to Run a script on USB removal?

I want to execute the script on removal of usb drive. In that script I want to restart the server. Is there any way to do the same ? I know I have to modify the rules in /etc/udev/rules.d/.
0
votes
3answers
46 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 ...
1
vote
1answer
17 views

Which kernel module name is currently correct “usb-storage” or “usb_storage”?

I have found a number of examples how to prevent a kernel module from being loaded. One of them is about USB storage module. The next code has been provided: echo "blacklist usb-storage" | sudo tee ...
-2
votes
0answers
21 views

how to edit usb driver and compile it again in kernel? [duplicate]

I want to add and compile my custom application code into my kernel. How should I add my .c and .o files into my kernel 'bin' directory and compile them? I made a hello.c and hello.o file and I want ...
1
vote
0answers
16 views

Can I rewrite drive designations with grub?

I am trying to install Qubes from a USB stick. Unfortunately it seems that there's some hardcoding taking place in the boot process, so after I have put the ISO on the stick it still looks to mount ...
1
vote
0answers
17 views

How to turn off a USB drive when samba is not using it [Raspberry PI]

I have a backup server on a Raspberry Pi using samba with 2x 2TB drives for storage. To reduce noise and drive degradation I'd like to turn them off when I'm not transferring files. I tried to ...
2
votes
2answers
1k views

slitaz 4.0 grub2 loopback concatenate multiple initrd images

I'm trying to get slitaz 4.0 ISO to boot using a grub2 loopback on a multiboot USB; insmod font if loadfont /boot/grub/unicode.pf2 ; then insmod gfxterm # insmod efi_gop # insmod efi_uga ...
2
votes
4answers
284 views

Why is writing so slow on raw device, and so fast on filesystem (USB key)?

I have a USB key that I am trying to benchmark quick'n'dirty on Linux. I'm testing write bandwith. dd on raw partition I created a partition starting at sector 2048, then did a 4 GB sequential ...
2
votes
1answer
49 views

How can I make udisks-glue run at startup and mount drives as particular user?

I'm trying to make udisks-glue work on my Raspbian Raspberry Pi. This works fine if I manually start udisks-glue via ssh. However, I wish to start it automatically on startup. Hence, a script at ...
1
vote
0answers
30 views

Installation from USB fails

I have a pretty old Ubuntu 8.04 machine. The machine doesn't have a DVD reader/writer in it. Challenge: Now, the challenge I am facing is to install RHEL6 in this machine. Obstacle 1: I needed to ...
1
vote
1answer
57 views

How to burn an iso while downloading it

I'm in a real hurry so I thought there is a way to do that but I don't know how. I thought about piping wget -c cdimage.ubuntu.com/daily-live/current/utopic-desktop-amd64.iso | BurningApp but I don't ...
4
votes
0answers
32 views

automatic disconnection of RAID array

A RAID array connected to my system (Debian 7) via USB frequently disconnects itself for no apparent reason. Upon initial connection to the system, the device is detected, and the array can be ...
1
vote
0answers
60 views

How to find hidden partition of a USB in linux

I have a USB, which has a protected partition. I think this USB has hidden partitions, which I can't see them. $ fdisk -l /dev/sdb: You must set cylinders. You can do this from the extra functions ...
0
votes
1answer
41 views

Howto to boot an attached external hard disk (without formating)? (Solution: Repair grub easily)

I have a former internal hard drive, which I now use as external USB drive. I tried to boot from it, but it doesn't work (2 PCs tried, on my: blank screen + blinking cursor). This - I think - is ...
0
votes
3answers
2k 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
0answers
33 views

How to differentiate USB flash drive and CD-ROM?

I want to differentiate an USB flash drive and a CD-ROM. My requirement is when I connect to a system only the CD-ROM should work, but not the USB key.
3
votes
5answers
8k views

Ubuntu 13.04 does not recognize USB drive

Using Ubuntu 13.04 (with Gnome 3), my new USB stick (details see dmesg/lsusb) doesn't show up automatically. Situation: The drive does not show up at fdisk -l The drive does appear when running ...
0
votes
0answers
8 views

Hotplug Device Driver Priority

Is it possible to have more than one driver for one purpose (eg. USB) included in the Linux kernel? If so, then how does the kernel decide which one to load?
1
vote
1answer
69 views

Prevent USB storage from using different device on reset

I have a hard drive in a USB enclosure that I am doing some data recovery on. The drive is in extremely bad shape and frequently resets on reads. The device registers as /dev/sdb. Sometimes, probably ...
0
votes
0answers
833 views

USB hard drive not recognized

My computer runs Cruncbang Linux (debian based). When I try to connect my friends external USB hard drive, it's not recognized. sudo fdisk -l doesn't show any new devices when I plug the USB drive in. ...
3
votes
1answer
1k views

Unable to mount volume, an operation is already pending (with multiple users)

I'm running Linux Mint 14 - pretty much whatever the default install settings are. When I have multiple users logged in and I plug in a flash drive, or digital camera, or any other USB storage, rather ...
0
votes
1answer
58 views

Replace USB stick boot device with SSD

I have an OpenElec based HTPC which boots from a USB stick. I would like to replace this with an SSD drive. What is the best way of copying the USB image to the SSD. Is this something that dd could do ...
6
votes
4answers
18k views

How to salvage an unreadable usb flash drive

I have a 16GB USB flash drive that somehow got corrupted to the point in which even fdisk -l can't find it (I get a one-line error message saying: "Unable to open /dev/sdc") However, it is being ...
1
vote
0answers
262 views

Unable to mount external USB HDD because of GPT on debian

I have tried to mount an external USB 3.0 hdd on my debian virtual machine (I'm using VirtualBox). I have tried to mount it using mount /dev/sdb1/ /media/vol1/ but I get the following error: mount: ...
1
vote
0answers
168 views

Save motion output videos in USB Drive

I'm using a USB drive in my Raspberry to store my website. Now I want also save my videos made with motion. I wasn't able to save in a folder different from /tmp/motion so googling I found I had to ...
1
vote
0answers
53 views

NTFS USB-Connected Partition Will Not Mount

First Error, when connecting the drive or attempting to mount it manually: Mount is denied because the NTFS volume is already exclusively opened. The volume may be already mounted, or another ...
0
votes
2answers
77 views

Simulate a USB drive using Linux?

Is there any way that I could use what I'll call PC-A to act like a USB device to a second PC, PC-B? i.e. PC-A <<-- Double male USB cable --> PC-B The result I'm looking to achieve is have ...
7
votes
2answers
890 views

USB drive permissions when automounting

On Debian there is the common problem, that you try to plug an ntfs formatted USB harddrive and then can't write to it as a regular user to it because the directory belongs to root. A little time ago ...
0
votes
2answers
67 views

Best usb boot drives for Linux?

I am looking for a buyer's guide on usb boot drives that will be used for booting Linux distros. Specifically, I have the following concerns: Should I opt for USB 2.0 or 3.0? Are there size ...
0
votes
1answer
35 views

Simplest way of getting a bootable linux flash drive + VM in Windows

I realize tools for making a flash drive image that boots a linux system (for example ubuntu) are common enough. I'd like to get a flash drive like that that also lets me use the system inside of ...
5
votes
3answers
1k views

How can I create a udev rule to mount a USB drive read only?

I'm trying to set a particular USB drive to always mount read only. If I plug it in, it is seen as sdb with a single partition, sdb1. Here are some relevant udevadm lines (not the entire output of ...
1
vote
0answers
141 views

linux fedora 20 how to read data from usb drive

I installed Linux Fedora 20 on a new computer, and kept the hard drive from the old computer as a second backup of my data. The drive has two partitions, Windows XP on one and Fedora 12 on the other. ...
1
vote
1answer
30 views

Is it okay to run my system off a flash drive?

I've been running my main system off a Linux persistent LiveCD flash drive for a couple months. The drive has a 2 GiB fat32 boot partition, and a 12.91 GiB ext2 casper-rw partition. I'm ...
4
votes
1answer
319 views

Why can I not see some files in my USB stick on Windows that I can see on Linux?

I'm having a little problem with my USB stick. There are files and folders on the USB stick I can see and manipulate on my Linux machine (Fedora 20) but some of those files and folders appear nowhere ...
1
vote
0answers
98 views

Cannot mount USB 3.0 Flash drive

I have a 16GB USB 3.0 thumb drive that has worked wonderfully up until two days ago... When ever I plug it into a USB3.0 slot: The light flickers indefinitely; Nautilus shows the Open/Eject popup ...
3
votes
3answers
178 views

Removable USB stick listed as non-removable in /sys/block?

In my question Bash script to output path to USB flash memory stick I got stuck on a problem nobody else seems to be having. (The issue also impedes my desire to use this answer: ...
1
vote
1answer
122 views

Mounting usb automatically & having usb's label as mountpoint

How can I mount my usb automatically when I plug it in? Also would like the mountpoint to be the usb's label each time it is mounted automatically. Edit: I am using Raspian (on Raspberry Pi) which is ...
2
votes
4answers
415 views

Bash script to output path to USB flash memory stick

How would I return (output) the path to any USB flash memory stick(s) connected to the local computer using bash (Ubuntu and Linux Mint)? Background: I'm providing users with an automated backup ...
2
votes
1answer
1k views

Linux Mint 16: Android Device not listed with lsusb

I've installed Linux Mint 16 on my new PC and found out that my plugged in Huawei U8850 Android 2.3.5 device is not listed with the lsusb command: phone plugged in: $ lsusb Bus 002 Device 002: ID ...
0
votes
1answer
137 views

Is there a way to change a device id in /dev/disk/by-id?

I have a S2 SAMSUNG 320GB USB-HDD which I use in both Ubuntu 13.10 (Kernel 3.11.0-17-generic) and Fedora 17. It works fine; I can read/write from/to them. Although, I am experiencing an issue with a ...
2
votes
1answer
182 views

Analyse the performance of an rsync command from FreeNAS to a USB drive

I infrequently run a task where I rsync my photos (~30 directories with 10-100 files in each) from my FreeNAS machine to an external USB hard drive (500GB WD) as a redundant backup. I execute the ...