Questions tagged [usb-drive]

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

A USB drive is storage device with a Universal Serial Bus interface. These are typically devices that are removable (i.e., that are easily moved from one computer to another). They could be magnetic disk drives, optical drives, or solid-state storage.

752 questions
95
votes
11 answers

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 command?
Joe Barr
  • 1,237
  • 2
  • 12
  • 9
73
votes
3 answers

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.
Pranit Bauva
  • 986
  • 2
  • 8
  • 15
72
votes
3 answers

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 16-19M/s , it works pretty well. But when I try to…
Mikhail Morfikov
  • 10,309
  • 19
  • 69
  • 104
68
votes
9 answers

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 this can happen to other kinds of USB or other…
Gilles 'SO- stop being evil'
  • 807,993
  • 194
  • 1,674
  • 2,175
56
votes
5 answers

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 just write: #> smartctl --all /dev/sde smartctl…
Avio
  • 870
  • 2
  • 10
  • 10
37
votes
2 answers

How to create a bootable Debian USB drive using Windows

I am running Windows 10 and am starting to learn how to boot from USB devices. I have a 16GB USB (USB 3.0) drive and I want to do the following: Make the 16GB USB drive run Debian Linux. Keep Windows 10 on my C: drive. Not partition my hard drive…
R C
  • 473
  • 1
  • 4
  • 4
33
votes
3 answers

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?
tshepang
  • 64,472
  • 86
  • 223
  • 290
33
votes
6 answers

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?
mikewilliamson
  • 747
  • 2
  • 6
  • 13
27
votes
1 answer

How to make an ext4 formatted usb drive with full RW permissions for any linux machine?

I want to format my USB stick to ext4 and just use as I would any other typical non-linux format drive (FAT32, exFAT, NTFS). That is to say, I want to be able to plug the usb stick into any of my linux machines, and read/write to it without needing…
Alnitak
  • 373
  • 1
  • 3
  • 6
27
votes
3 answers

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 times (it's about fifty/fifty) the drive is just…
user11780
21
votes
5 answers

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 attached, being assigned /dev/sdc as dmesg shows: usb…
ateiob
  • 1,627
  • 4
  • 14
  • 12
19
votes
5 answers

USB Disk Read-only, cannot format - Turn off write-protection

I have a USB disk which does not allow me to format/mount/unmount or created partitions on it. Using dmesg | tail gives me the following result: I found this post on AskUbuntu and tried using the accepted answer. I get the following result, but it…
kRiZ
  • 291
  • 1
  • 2
  • 4
17
votes
4 answers

mount is not executed when called by udev

I tried to create some udev rules to mount and unmount my USB flash drives; the rules for the moment are very simple: ACTION=="add",KERNEL=="sd[b-z]",RUN+="/root/scripts/plug_flash_drive.sh…
magva
  • 171
  • 1
  • 1
  • 4
16
votes
10 answers

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 installation. Thus my question: How to install CentOS via a…
maxschlepzig
  • 56,316
  • 50
  • 205
  • 279
15
votes
3 answers

How do I automount usb drives in Linux (Debian)?

With every new release the way to automount USB drives in Linux seems to change (fortunately I'm using Debian, so I'm only losing a few days on this every 2 years). We used to have usbmount, udisks, udisks2, udisks-glue, pmount, custom udev rules,…
Circonflexe
  • 279
  • 1
  • 2
  • 7
1
2 3
50 51