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

learn more… | top users | synonyms (1)

2
votes
4answers
343 views

Multiboot USB with extra first partition

I would like to create a 64GB multiboot usb drive. I want the first partition to be a 32GB fat32 partition so that I can use it for accessing files from windows. (Windows only displays the first ...
0
votes
1answer
89 views

USB key does not show up in /dev

We use a USB key system that are contain license files and are provided to unlock proprietary software that we used. The USB drives are small however and get lost easily, so I thought I'd clone them ...
0
votes
1answer
285 views

Formatting USB stick with fdisk - negative used space?

I formatted a USB drive using fdisk, and created three partitions. Everything seems to work fine, but Disk Utility is showing a negative amount of used space for all partitions: Partition | Capacity ...
2
votes
0answers
66 views

How can I make udev accept mass storage and reject everything else?

I'm trying to write a udev rule to allow USB mass storage devices but reject anything else (keyboard, mouse, etc). I found this online: ACTION!="add", GOTO="deauthorize_end" SUBSYSTEM!="usb", ...
1
vote
1answer
327 views

How do I automatically mount a plain-encrypted USB flash drive to my OpenWRT router?

I just finished encrypting my external hard drive using a key file, and mounting it onto my router. Problem is, every restart i have to manually recreate the mapping and mount it again. OpenWRT's ...
2
votes
1answer
97 views

Avoiding permission issues on portable hard drive in Linux Mint

I'm trying to pre-emptively avoid permission issues on my portable USB hard drive. The plan is to put a couple of Virtual Machines on the portable hard drive, and use it between two PCs both running ...
0
votes
0answers
49 views

USB device keeps disconnecting on boot

When booting a linux kernel off a usb device, via a usb hub, a light panel attached to my board (via the hub) disconnects during the kernel boot. Once the system is booted I unplug the panel and ...
0
votes
1answer
60 views

Debian file transfer to USB flash drive weird behaviour

When I attempt to transfer/copy a relatively large file onto a USB drive I get some unusual behaviour. The transfer rate seems to be stable at first until the end of the transfer approaches. For ...
1
vote
0answers
115 views

bootable live usb doesn't boot, KNOPPIX

I have been trying to make a bootable live USB of KNOPPIX. I downloaded the .iso image, checked the sha1sum with the one that was given and it was all correct. Then tried both the options, using cp as ...
2
votes
1answer
71 views

preparing a usb drive to be bootable

Are there any written or un-written rules before copying an image file to a usb-drive ? If yes, what (if any) are such rules ? For instance, should there be partitions in the usb-drive or is it ok ...
0
votes
2answers
286 views

Disable USB partition from auto-mounting on Gnome 3.16

I have a Sony PRS-T1 ebook reader which is based on Android 2.2. When I connect it to my PC, it shows up as two USB partitions: READER and SETTING. The latter is a read-only partition, only useful the ...
0
votes
0answers
194 views

Unable to use new USB hub

I have a new USB hub for raspberry PI 2 because the PI couldn't give enough power to run my usb HDD on its own. When I try to use the HDD with the USB hub I get the following messages: [ ...
0
votes
0answers
74 views

Automounting vfat usb drive

I use debian 8 with kde-full package, everything is up-to-date. I have 4 usb flash drives: all of them are formatted in Windows OS. But only Sandisk "14.9 GiB Removable Media" is automounted ...
2
votes
1answer
45 views

what does Linux consider connected usb drives and why do they remain as folders when unplugged?

I connect my USB stick to my LUbuntu PC running a media player app. I unplug it. I connect it again, the media player app gives a "Permission denied" for "/media/myName/stickName". If I delete the ...
0
votes
0answers
125 views

permission needed for Python to access USB drive?

I got this Python script that reads media files from USB stick. It used to run fine, today it keeps giving me OS Error: [Errno 13] Permission denied: media/myName/usbName when the script runs the ...
4
votes
1answer
259 views

Debian stretch asks for root password in order to mount usb disks after upgrade

After apt-get upgrade && apt-get dist-upgrade, Debian Stretch started to ask for root password for external usb disks. Creating a /etc/polkit-1/localauthority/50-local.d/55-usb-mount.pkla ...
1
vote
0answers
375 views

Raspbian disable mount & automount USB storage

I have installed Raspbian on the Raspberry Pi. Due to the security policy in the company, we would like to block access to USB mass storage (pendrives, usb drives, etc.). I tried according to this ...
0
votes
1answer
189 views

HDD error: SMART Status command failed: scsi error medium or hardware error (serious)

After my PC won't start again (my first guess was the power switch to turn it on was dead), I removed the HDD to extract my data. When I set the HDD (a 640 GB WD) into an external case (USB 2.0), the ...
1
vote
1answer
75 views

where or how to see if data is still being transferred over usb to mass storage

The data transfer to my mp3 player is very slow via USB connection. I have a mp3-player from Samsung (YP-M1JCB/EDC) which I have connected to my Fedora linux (the pc connection in the mp3 player is ...
1
vote
1answer
121 views

grub2 create menu entry to skip the current disk os while booting

I created 2 partitions on my pendrive. The first partition is big one and I use it for general purpose file storage. The second partition is small one and I made debian-jessie install in this one. I ...
0
votes
1answer
115 views

shuttle xs35v2 - can't boot from usb drive

I'am trying to install lubuntu on a new shuttle barebone xs35v2. I have tryed with various usb-sticks and diffrent versions, e.g: lubuntu-net installer, lubuntu 62 and 32, and standart ubuntu-version! ...
0
votes
0answers
34 views

USB drive not working on Windows after connecting it to Fedora

When I connect my USB with FAT file system to Fedora and after that when I try to connect it to my Windows 8 machine, it says that drive is "corrupted or data is unreadable". This error does not ...
1
vote
2answers
76 views

How can I change the name of one partition called sdaX to sdaY?

When I use a pendrive with two partitions on a Windows system, it only recognizes the first partition that I've created in that pendrive. I have a pendrive with two partitions: an ext4 and a ntfs ...
0
votes
5answers
1k views

USB flash drive does not appear in Samsung NP900X4D UEFI “Boot Menu”

I have a Samsung NP900X4D laptop and I would like to replace the existing Windows 8 installation with a Debian 8. At first, I copied Debian 8 hybrid iso image to a USB flash drive with cat ...
5
votes
1answer
126 views

USB drive offline in dmesg and ? in ls, but only for some files?

I have a backup drive that has been intermittently failing (but almost always succeeding) to run rsnapshot lately. ls and e2label output are not encouraging: $ ls -al /mnt/backup/ ls: cannot access ...
0
votes
1answer
82 views

How can I mount /home in a usb drive and keep the files?

I need to write a script that can mount /home in an USB drive at the boot and keep all the files in the USB drive after ejecting it. At every boot, if there is an USB drive plugged in, the script ...
0
votes
1answer
428 views

Unable to mount USB flash drive on OpenBSD

My machine on which was installed OpenBSD 5.7-stable, was booted up with my USB 2.0 flash drive plugged into a USB 2.0 port. I logged in as root, opened up a terminal and typed: mount /dev/sd1i ...
0
votes
1answer
808 views

How to install Ubuntu on a USB drive ext4 partition?

I have a 32GB USB drive with 2 partitions, Partition 1: FAT32 used as storage Partition 2: ext4 intended to be a bootable live Ubuntu 15.04. How can I install the Ubuntu ISO file to the ext4 ...
0
votes
1answer
60 views

dosfsck of pendrive taking too long

I have started running sudo dosfsck -a in a 512 GB flash drive and it's already been running for almost 2 days. Is this at all normal? This is happening in a relatively new i5 laptop. I am running ...
1
vote
2answers
336 views

How to format 720k FAT (ie: MS-DOS) floppy on Linux using USB floppy drive

I have a USB 3.5" floppy drive connected to my Linux box. I've verified that it is /dev/sdh on my Linux box, and I can read Linux-formatted floppies from it. (I had an old ext2 floppy lying around.) ...
0
votes
0answers
36 views

Live USB local drives access

When I access PC in live USB Linux, I can also access local drives. How can I disable access to these drives with USB Linux only? I can access these drives in my local PC. I don't know where to ...
1
vote
1answer
133 views

pendrivelinux install on usb stick - only uses 5.8GB of a 14.7GB usb stick

I used http://www.pendrivelinux.com to build an installation of Linux Mint on a USB stick, so I could have a portable OS (mainly for work emergencies). It's installed, and works fine, but it's only ...
1
vote
1answer
147 views

Automounting of USB pendrives on Debian 8 not working

The icons appear on the desktop but I still have to mount them. I must be missing something, mustn't I? (The dialog is from an XFCE desktop which I used at that time, but the problem is ...
0
votes
0answers
85 views

USB stick dosn't have a device file

I have a generic USB storage stick form Kingston which gets recognised as a USB device from Kingston. root@banana:~# lsusb Bus 002 Device 003: ID 0951:1665 Kingston Technology Bus 001 Device 001: ID ...
1
vote
2answers
88 views

4GB USB Stick is only 1.37GB now?

I wanted to put a .ISO file on my USB stick using dd. But, instead of using: dd if=/my/iso of=/dev/sdb I did dd if=/my/iso of=/dev/sdb1 first. And because I wanted to rectify my mistake, I also did ...
0
votes
3answers
1k views

Which ISO file, vmlinuz and initrd.gz to use for installing CentOS from Multiboot USB?

I have created a multiboot bootable USB with GRUB and used it to install Debian 8.1 successfully. A multiboot USB is one that contains the ISO images of multiple operating systems, with GRUB being ...
0
votes
0answers
62 views

Starting a script when a certain usb is inserted problems

I want to start a script when a certain usb flash drive is inserted. I had a python script in my home folder "test.py", I ran lsusb and found the vendorid and productid, I went to udev and made a rule ...
0
votes
1answer
921 views

NTFS formatting disabled while using Gparted in CentOS 7

I am using GParted for formatting my usb-device(a pendrive). And, I unmounted my device using the GUI program itself. The device doesn't show mounted anymore. When I try to format my ...
2
votes
1answer
311 views

Grub 2 multi image boot disk boots some images but restarts on others

The issue I'm having is that my bootable usb I have only works with certain boot images, to be more specific it will boot Ubuntu desktop iso images but not Ubuntu server. If I try to boot Ubuntu ...
0
votes
2answers
2k views

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 ...
0
votes
1answer
43 views

how do I make a grub boot disk with multiple boot images

How do I use commands (I'm doing everything on Ubuntu) to create a bootable usb that displays a grub menu automatically when booted from, on that grub menu lists some boot images (downloaded from ...
0
votes
1answer
733 views

How to finally mount FAT16 USB flash drive

I have 4GB USB flash drive stick plugged into laptop on debian 8.1. It contains one bootable partition 2GB created and formatted as FAT16 in Windows. What only I did try everything didn't. Maybe I am ...
2
votes
0answers
55 views

How to move a PC's Debian to a USB and remain fully bootable?

I have a 64 GB USB 3.0 drive, to which I'd like to transfer (in terms of file system and grub2 bootability) the Debian Jessie installed on the SSD of my retina MacBook Pro. I am looking to do this in ...
2
votes
1answer
164 views

How to find the page size of physical memories from userspace?

I want to understand the page size, sector size, block size (if applicable) of a usb flash drive. Is there a way for me to inspect those with Ubuntu? mount /dev/sda1 /mnt ? umount /dev/sda1 Edit ...
3
votes
2answers
574 views

USB Kingston pendrive recognized by lsusb but is not assigned a /dev/sd* path

I installed Arch Linux on a USB 2.0 Kingston 16GB DTSE9 pendrive. At some point the system froze and required a cold reboot. After that the pendrive is not recognized or mounted anymore both on ...
0
votes
1answer
184 views

Cannot find directory & Cannot cd errors during usb mount openwrt

What I am trying to do: I have a TP-Link Router running OpenWRT. I have files on my router in the OpenWRT OS that I want to save to a flash drive. Steps to complete the task: 1. I navigated to the ...
3
votes
1answer
138 views

Confused about USB3 connection

My PC motherboard is a Gigabyte Z68A-d3-b3. It is supposed to have two USB3 ports and, indeed, there are two ports on the back panel that are specifically labeled USB3 and have blue connector inserts. ...
1
vote
0answers
266 views

how to make GRUB find modules on multiboot Linux LiveUSB?

background (skip to header=problem if you're expert on LiveUSBs, ISOs, GRUB2, etc) I'm setting up a multiboot/multiISO Linux LiveUSB as detailed here, which I intend for use on multiple hosts (i.e., ...
4
votes
2answers
242 views

how to execute a script everytime any USB get mounted

I use a script that writes all mountpoints of my devices to a textfile using df. How can I execute my script everytime any device (especially USB) is mounted? script to execute: #!/bin/bash # save ...
1
vote
2answers
49 views

Is it possible to burn a live image to a damaged pendrive?

I have a 16G pendrive that has some bad blocks: # f3read /media/morfik/224e0447-1b26-4c3e-a691-5bf1db650d21 SECTORS ok/corrupted/changed/overwritten Validating file 1.h2w ... ...