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

learn more… | top users | synonyms (1)

27
votes
5answers
22k views

How to reconnect a logically disconnected USB device?

It is possible for a USB storage device to become logically disconnected: the device is still plugged in, but is invisible from the operating system (e.g. it's not listed under /proc/bus/usb). Maybe ...
12
votes
10answers
60k views

How to install CentOS 6 via USB mass storage device?

I want to install CentOS 6.2 on a laptop (Thinkpad R40) which comes without CD/DVD-drive but with USB 2.0 ports. It seems that CentOS does not provide ready-to-use dd-able USB images for ...
11
votes
3answers
11k views

How do I boot from a liveusb using qemu-kvm?

I am trying to get qemu-kvm to boot from my live usb stick. Is this possible?
9
votes
2answers
7k views

How to re-mount a USB stick after unmounting from Nautilus without disconnecting it?

I find that in order to re-mount a USB stick, I have to physically disconnect it, and then re-connect it. How can I do this without such tiring physical action?
8
votes
3answers
4k views

smartctl on external hdd inside ide-to-usb enclosure

I have a very old 2.5" IDE drive inside a USB enclosure that gives some buffer I/O error. I tried to use smartctl to see what SMART says about it, but I can't manage to make it work. Being root, if I ...
8
votes
2answers
2k views

Why is my PC freezing while I'm copying a file to a pendrive?

I have a really strange situation here. My PC works fine, at least in most cases, but there's one thing that I can't deal with. When I try to copy a file from my pendrive, everything is ok -- I got ...
8
votes
2answers
6k views

Slow performance when copying files to and from USB devices

When I copy files to and from USB devices (camera, HDD, memory card) my system becomes very slow. For example if I want to close a window I move the mouse but it takes about 2 seconds or more before ...
8
votes
1answer
16k 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 ...
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
11k 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.
7
votes
5answers
19k 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 ...
7
votes
2answers
1k 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 ...
6
votes
1answer
14k views

Remove USB flash-drive write-protection

I have a sports-watch which has an integrated flash-memory. This flash-memory is used to store training information. When I connect the watch to my computer using the USB cable, it's detected as ...
5
votes
3answers
2k 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 ...
5
votes
2answers
2k views

Files copied to flashdrive only on unmount

I use Debian wheezy with KDE4. Most of the time when I copy something to a flashdrive, the write does not actually take place until I unmount. This even happens with relatively large amounts of data ...
4
votes
3answers
783 views

How to remove a USB drive without worrying if its been unmounted?

Sometimes I unplug my usb drive only to find out files were not written to it. I suppose the only way to ensure files are written to it is to right click on the USB drive on the desktop and then ...
4
votes
1answer
579 views

Find out if a specific device is an USB mass storage

Context I'm automating SD card imaging from an existing dd factory image. The SD card is always connected through an external USB card reader and thus appears in the system as a SCSI block device ...
4
votes
1answer
500 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 ...
4
votes
2answers
7k views

How to avoid powering down certain USB devices when a machine is suspended

I'd like to maintain power supply to a USB-powered drive when the system goes into suspend (AKA S3 or "suspend-to-RAM") mode. Normally the power is cut while the machine is suspended, which causes it ...
4
votes
1answer
5k views

Pen Drive Not detected in Linux

I inserted a new pendrive. The following is the dmesg output: [127321.248105] usb 2-2: new high speed USB device using ehci_hcd and address 9 [127321.380898] scsi11 : usb-storage 2-2:1.0 ...
4
votes
2answers
981 views

USB storage devices aren't automatically mounted when inserted on a fresh install of Debian 6.0

I installed Debian 6.0 (squeeze) a few days ago on my machine. I installed the default GNOME desktop, standard settings. Unfortunately, I just noticed that when I plug in USB storage devices (external ...
4
votes
1answer
159 views

Can I make a USB port on my Linux computer look like a mass storage device?

I'm running Kubuntu 12.04 on my PC. I want to make one USB port on my computer appear as if it is a USB mass storage device to other devices. In other words, something connected to this USB port will ...
4
votes
1answer
957 views

Problems copying large files to USB drive

I've got some issues when copying larger files to my USB drive. First of all, my system stopped recognizing my USB drives automatically. I now have to run modprobe usb-storage in order for my USB ...
4
votes
0answers
36 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 ...
3
votes
3answers
2k views

How to repartition pendrive again?

My 8GB pendrive originally contained only a FAT partition, but I tried to install OpenSUSE 11.4 on it. I created a 200MB partition for /boot and the rest was for the root partition. Despite the ...
3
votes
3answers
205 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: ...
3
votes
2answers
3k views

What is the service that's responsible for automounting a USB drive in CentOS 6.4?

I know of the legacy Linux way of mounting a USB stick or drive: mount /dev/sdb1 /mnt/ But in some CentOS 6.x installations I saw, you just insert the USB stick and CentOS automagically mounts it, ...
3
votes
1answer
4k views

My VirtualBox Virtual Machine doesn't detect my USB attached disk

I'm using the latest version of both Virtual Box (4.1) and CentOS (6.2). I would like my Western Digital USB drive to be recognized by my VirtualBox guest operating system. My host system, Windows ...
3
votes
3answers
4k views

Automount external storage as user readable and writable in Debian XFCE?

I have Debian Wheezy installed with the latest XFCE desktop environment. In the XFCE settings, I specified that external media be automounted upon insertion. However, when I plug in my USB stick, it ...
3
votes
1answer
516 views

How to guarantee writes are physically committed before reported completed?

When my system boots, as it probes the external, USB-attached hard drive, I get the message Assuming drive cache: write through in the dmesg output, tagged with the device name of the external drive. ...
3
votes
1answer
140 views

Grub2, boot into existing OS option?

I've got Grub2 installed on a USB stick, and I want to add an entry to the grub.cfg that will boot in to another bootloader e.g. grub on the main harddrive. Like how the Windows 7 install disk will ...
3
votes
1answer
10k views

How to format USB drive in Linux Mint 14 with GUI? [duplicate]

I'm new to Linux Mint and I've just installed Linux Mint 14. Now I need to format my USB drive, but I'm not getting any option to do that. Please suggest me anyone, how can I do that with a GUI?
3
votes
1answer
145 views

Is it possible to create a bootable usb from a partition?

Is it possible? How hard would it be to do so?
3
votes
1answer
1k views

Ubuntu 11.04 and large external drives

I have a Hitachi USB external 3 terabyte drive attached to a Dell Precision T1500. When connected to the computer running Ubuntu 11.04 (2.6.38-11-generic #50-Ubuntu SMP Mon Sep 12 21:17:25 UTC 2011 ...
3
votes
3answers
13k views

How do I remove a Read-only file system from a usb drive

During an ill-fated attempt to get tinycore linux to boot from a USB drive I managed to create a bunch of files that I now cannot remove. fortino@rebel:/media/working/boot/isolinux$ rm *.* rm: ...
3
votes
1answer
136 views

Adding efficient storage to a laptop-based system

I've recently asked an as-yet-unanswered related question. My question here is a bit different: I want to know the best way to add storage to a laptop-based system without sacrificing power ...
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 ...
3
votes
5answers
9k 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 ...
3
votes
2answers
1k views

Linux on Hard Drive Partition, Bootloader on USB Flash Drive

How can I use a USB flash drive to boot Linux from a partition on (another) hard drive? I'm trying to install Linux on an encrypted partition on the hard drive (using LVM on LUKS). Since /boot must ...
3
votes
2answers
4k views

Why does my thumb drive go into read-only mode after a while?

My thumb drive auto-mounts as read-write, and I test it by writing a file. Then 18 hours later, I run a cron job that does cp -f -u $i "$TARG"/$i and I get the message, cp: cannot remove ...
3
votes
1answer
328 views

GRUB on MBR of Windows-only internal drive, with distros on external drive

I think what I want to do is long and convoluted; then again, it might be somewhat easy, and I'm just overthinking it. Here's the setup I want to achieve: The internal drive (sda) is one giant ...
3
votes
1answer
356 views

`power/persist` file not found in USB device sysfs directory

The file /usr/share/doc/linux-doc/usb/persist.txt.gz mentions that the USB-persist capability can be enabled for a given USB device by writing 1 to the file persist in that device's directory in ...
3
votes
2answers
273 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 ...
3
votes
0answers
66 views

Which 'smartctl -d' option should I use on this hard-disk: 'scsi' or 'ata'? [duplicate]

On the back of How to repair a corrupted HFS+ partition?, I have separate question. I'd like to run smartctl tests on a hard disk, but I'm not sure which option I should use to correctly initialize ...
3
votes
1answer
200 views

How do I access a flash drive that has been ejected without physically plugging it out and back in? [duplicate]

When I plug in my flash drive, it gets auto-mounted. If I right click on the drive and select 'eject', then it's unmounted. Now, I want to remount the drive in Terminal. How do I do this? I've ...
2
votes
2answers
2k views

can't change file permission

Whenever I create or copy few shell files to usb storage device, then I am not able to make them executable. If I create test.sh, it's default file permission will be 644, but when I execute ...
2
votes
2answers
2k views

How do you format a USB stick after it is being labled “unrecognised” by Ubuntu?

I have a memory stick which I had cleaned of old data fragments. The memory stick was mounted on /dev/sdc1 so I did: dd if=/dev/zero of=/dev/sdc1 bs=1M After the task was complete, my usb memory ...
2
votes
2answers
1k views

Is my USB hard disk dead?

My USB hard disk started to make some beep type of sound and then stopped working. I have to replug the hard disk to make it work again. After some time same sound is heard and again it stops ...
2
votes
1answer
986 views

How to fix hard-disk error connected by usb? [duplicate]

My system is Linux 64bit, my hard-disk is a 1TB WD HD, connected to my computer by USB3.0. I found some files cannot be copied, they are video files, and it seems I can play the video. I ran e2fsck ...
2
votes
3answers
630 views

USB external drive not working

I have an external usb drive that is not working properly: Jun 13 10:36:38 sleipneir kernel: [ 1022.548241] usb 1-3.1: new high speed USB device using ehci_hcd and address 28 Jun 13 10:36:38 ...