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

learn more… | top users | synonyms (1)

0
votes
3answers
5k 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). ...
2
votes
2answers
3k 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 ...
0
votes
1answer
13 views

Why do LiveUSBs use squashfs (and similar) file systems?

Every LiveUSB I have encountered so far uses squashfs or some similar method of "faking" and ext4 file system, while actually keeping the partition type already found on the USB flash drive. Why ...
0
votes
4answers
48 views

Create own Linux OS on USB Flash drive

Is it possible to create your own Linux OS right onto a USB drive? I know you can just download a Linux distro onto a USB thumbdrive and plug it into a computer and run it from the USB, but I'd like ...
3
votes
1answer
11k 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?
0
votes
0answers
390 views

Quick USB pendrive formatting under KDE

Is there some way to quickly format a USB pendrive in KDE (with a GUI interface), without having to open the main "KDE Partition Manager"? In particular I'm most interested in something like a ...
1
vote
0answers
28 views

Can Linux be configured to wait for USB storage to be reattached instead of returning I/O error

If a usb_storage device is physically detached from an Ubuntu machine while it is still mounted, any attempt to access the file system will produce an I/O error. Is there some way to configure Linux ...
7
votes
5answers
21k 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 ...
2
votes
4answers
571 views

Why is writing SLOW on raw device, and FAST on filesystem (USB key)?

I have a USB key (PQI U822V-Speedy 32G) 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 ...
0
votes
2answers
42 views

Access USB drive on Ubuntu server

I'm currently using a Ubuntu 14.04 server with command line access only. My .html files are on my Windows and I want to transfer them. What is the path in my Ubuntu server to get into my external ...
2
votes
2answers
39 views

Is there a udev attribute/something that determines whether a device is a USB drive or not?

I am trying to create a UDEV rule to match/allow the use of USB devices. However, there is a twist. I want to be able to use only USB mass storage. Is there a unique UDEV parameter that can be used ...
8
votes
2answers
4k 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 ...
1
vote
5answers
14k views

USB mount doesn't work on Centos 6.4

I have a problem. After an update, my USB drives are not mounted automatically and I'm unable to mount them manually... The output of my fdisk -l command is: Disk /dev/sdb: 15.8 GB, 15762194432 ...
1
vote
1answer
576 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 ...
4
votes
2answers
374 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 ...
0
votes
1answer
442 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
0answers
21 views

Samba sharing Mounted USB Drive

So I have a samba server, and I am able to connect to my shared directory under the home dir. But when I setup another share called "External" and map it to path = /media/External windows will ...
1
vote
0answers
94 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 ...
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
1answer
98 views

mounting removable USB disks with nodev,noexec,nosuid

When I want to use a USB disk on my desktop, I insert the disk and mount it manually, for example: mount /dev/sdb1 /mnt/usb I know that I can specify mount options with -o, such as mount -o ...
5
votes
1answer
203 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 ...
3
votes
0answers
41 views

How do I temporarily extract a flash drive or HDD in Linux?

Suppose I mounted a disk in this way: mount /dev/sdb /mnt/tmp I have some files opened on this filesystem and don't want to unmount it. However I want to temporarily extract the device, then ...
1
vote
1answer
63 views

How to use Debian in USB boot-able process

I am totally new to the Debian universe and want to use a USB stick so as to download, burn and then install Debian on a PC I got. I read the documentation of Debian online ...
2
votes
2answers
50 views

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 %k" ...
0
votes
0answers
15 views

Software power off of externally-powered USB drive enclosure

Is it possible to power off a USB enclosure? Is there a utility or command for communicating with the enclosure? Is this functionality dependent on the enclosure or the drive? My specific enclosure ...
2
votes
3answers
153 views

Monitor history of USB flash drives

I have to setup a monitoring system for our internet server, to monitor which USB Flash Drives (Pen Drives) are mounted and unmounted and when.(This is to avoid misuse, and to capture which ...
0
votes
0answers
108 views

unable to format usb drive

I'm trying to read an usb drive that until a few day ago seemed to be perfectly working. Today windows started to be unable to access or modify its content. Trying to reformat it with linux (arch ...
1
vote
2answers
317 views

Safely removing flash USB drive

On CentOS (5.5 and others) I need to transfer quite big files to a FAT32 USB flash drive to get the data on a Windows 7 machine (each file is below 4GB, so I guess FAT32 shouldn't be an issue then). ...
0
votes
0answers
46 views

USB drive stopped working

My USB pen drive (A-data UE700 64GB) suddenly stopped working. I tested it on few PCs (every one with Linux) and it doesn't work on any of them. The device isn't even mounted. It used to work alright ...
0
votes
1answer
65 views

Failing to format flashdrive to UDF

I'm trying to create a UDF partition on a flash drive to install grub2 (to boot ISOs from) ~$ export DSK=/dev/sdd # wipe the disk ~$ sudo dd if=/dev/zero of=${DSK} bs=512 count=2048 ~$ sudo sgdisk ...
0
votes
2answers
180 views

No DEFAULT or UI configuration directive found!

I have copied, as usual, the iso into usb disk (/dev/sdc): sudo dd bs=4M if=archlinux-2014.08.01-dual.iso of=/dev/sdc But when I boot to my new PC, it shows: ISOLINUX 6.03 6.03-pre18* EHDD ...
0
votes
1answer
48 views

USB drive Dell does not work on Lubuntu

I'm using Lubuntu 11.10 on Sony Vaio. I got one USB Dell external disk 1tb as this one. But when I connect nothing happens. (even I can feel with my hand that it is running) From dmesg I got [ ...
2
votes
1answer
364 views

How to re-install syslinux on a re-formatted (fat32 to fat16) partition

I wrote an .img file containing a custom debian distro to a USB stick via win32diskimager program. The stick doesn't boot on my older motherboard, returning: SYSLINUX: No DEFAULT or UI ...
0
votes
0answers
24 views

How to power-on embedded flash memory after eject

On a Wheezy-ed Qnap TS-269L NAS I sent the embedded 512M DOM flash memory (/dev/sdc) to sleep using eject /dev/sdc after creating a new partition table on it. Previously it contained /boot/efi, ...
0
votes
1answer
55 views

How to give more power to a USB device (error -110)?

I’m trying to mount an external hard drive (2.5", USB, no separate power supply) on Debian 7, but it gives me (in dmesg as well as when trying to boot with the device connected) errors like: ...
0
votes
2answers
4k views

How to auto-sync with a plugged-in USB mass storage device?

I have (at the moment) three mobile USB mass storage devices (flash drive, phone, e-reader). I'd like to always have the latest versions of all my files with me (such as CV, passport, research papers, ...
0
votes
0answers
25 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
302 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 ...
7
votes
6answers
10k 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 ...
9
votes
3answers
13k 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
24 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
49 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
76 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
47 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 ...
1
vote
0answers
20 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
32 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
1answer
210 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
50 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
62 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
64 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 ...