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

learn more… | top users | synonyms (1)

1
vote
0answers
12 views

USB umount stats: inappropriate ioctl for device [migrated]

I'm writing some code for my program to mount a flash drive using mount("/dev/sda", "/media", "vfat", MS_NOATIME, NULL) and unmount using status = umount2("/media",MNT_DETACH); qDebug("USB unmount ...
0
votes
0answers
13 views

How to create dual mode usb liux, bootable and startable directly from a Windows OS as virtual machine

I have found many tutorials about create a bootable live Linux image, but I whant to create a very particular USB-linux pendrive that allows me -to boot Linux image using the native harware if ...
-1
votes
0answers
16 views

Why is my PC freezing while I'm copying a file to a pendrive [on hold]

Why am I going slow usb .. I am inexperienced in linux .. Detailed description thank you.. or video if it could be thank you
0
votes
1answer
8 views

USB forcely turn write protection off

I have a USB-flash device (SanDisk SDCZ33 BM120423519D) with no hardware switch, which is stuck in readonly mode: # hdparm /dev/sdf /dev/sdf: SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 ...
0
votes
0answers
13 views

nm-applet (the little computer) does not show up in my system tray after a fresh install of Debian Jessie Beta 2

I just installed Jessie Beta 2 using the amd64 DVD images, rather than netinst images, and fresh out of the box, nm-applet doesn't show up in the system tray. The little computer right next to the ...
1
vote
0answers
22 views

Completely disable / deactivate USB in Ubuntu 10.04

I have some Ubuntu 10.04 based portable touchscreen computers at workplace and sometimes people would use USB data cable to charge their phones from the USB port. Now I have usb storage access ...
0
votes
0answers
158 views

Connect Asus Zenfone 5 to Linux box

I have Asus Zenfone 5 phone and now I want to connect the device to my Debian 7 via USB to mount inner phone storage as external disk. So after it was connected I see in logs: dmesg [79836.644019] ...
1
vote
1answer
28 views

How to unmount flash drive gparted says busy

I have a 4GB usb storage drive that I cannot save files to. I have copied the information I want from it, so now I would like to rescue is as a freshly formatted drive, if that is possible. There is ...
3
votes
2answers
55 views

How to install Debian onto a flashdrive

I actually want my 4GB flash-drive to be the OS and for it to be transfer in-between any machine. I have tried to follow Debian's website, and I couldn't figure it out. I had my friend make my ...
0
votes
0answers
42 views

Why isn't this “external” harddrive showing up?

I have an "External harddrive to USB adapter" that's giving me trouble. It shows up if I run lsusb (unrelated devices ignored): Bus 002 Device 013: ID 152d:2338 JMicron Technology Corp. / JMicron USA ...
2
votes
0answers
47 views

How do I get ata-style IDs in /dev/disk/by-id to work for USB disks?

I have USB drive dock that I'm plugging SATA drives into. The way they show up in /dev/disk/by-id seems to be dependent on whether the drive has a partition table (usb if not, ata if yes). This makes ...
1
vote
1answer
45 views

How to access Flash drives in CLI mode?

I have fedora 20 64bit and for unknown reason I cannot boot on graphical mode. I have very important files for my project there. How can I copy those files to my USB flash ? How can I find my USB in ...
1
vote
2answers
90 views

Cannot mount external USB drive

I'm on Debian Jessie and I have an external USB drive with NTFS. I plugged it into my Raspberry Pi, which then spontaneously restarted (probably the power consumption was too high for the adapter I'm ...
0
votes
0answers
81 views

linux mint 17 mate usb install: ntldr missing

today, I have been trying to install a desktop with linux mint 17 (xfce of mate). the install of xfce almost completed, but near the end, I got an error message saying the installation got stuck and ...
1
vote
1answer
34 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 ...
2
votes
4answers
136 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 ...
1
vote
0answers
43 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 ...
0
votes
2answers
404 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
50 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 ...
0
votes
0answers
50 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 ...
0
votes
1answer
210 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 ...
3
votes
0answers
62 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
2answers
179 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 ...
0
votes
0answers
30 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 ...
0
votes
0answers
194 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
344 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
63 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 ...
2
votes
2answers
67 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" ...
2
votes
3answers
246 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
2answers
564 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
82 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 [ ...
0
votes
0answers
37 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
100 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
0answers
39 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
394 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 ...
0
votes
1answer
34 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?
0
votes
3answers
127 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
126 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
59 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/.
1
vote
0answers
28 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
43 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 ...
1
vote
0answers
74 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 ...
2
votes
1answer
369 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
1answer
66 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 ...
1
vote
0answers
177 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
0answers
47 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.
0
votes
1answer
65 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 ...
4
votes
0answers
98 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 ...
0
votes
0answers
27 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
655 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 ...