For questions regarding storage drives that connect using a USB port.

learn more… | top users | synonyms (2)

117
votes
12answers
438k views

How to format a USB flash drive?

In Windows there is a straightforward "Format" option in a flash drive's right-click pop-up menu. Where's that in Ubuntu?
109
votes
5answers
438k views

How to access a usb flash drive from the terminal? (How can I mount a flash drive manually?)

I only have access to the command line I need to backup my data (on the user folder) to a pen. I don't know where/how can I do this is order to access the pen, and then do the cp command. How can ...
80
votes
3answers
28k views

Disable auto-opening nautilus window after auto-mount

Every time I plug a USB stick in, nautilus opens a new window with the contents of the drive. I would like to disable this auto-opening of the nautilus window, but I would like the actual auto-mount ...
63
votes
5answers
120k views

How to set up USB for Virtualbox?

I'm using Ubuntu Maverick and Virtual Box 3+. I have Windows 7 Ultimate. The problem is that it doesn't detect USB drives in Windows 7, but USB peripherals (mouse + keybord) are working. I followed ...
32
votes
2answers
250k views

How to format a USB drive? [duplicate]

Possible Duplicate: How to format a USB flash drive? How do I clear everything (data, viruses) from a thumbdrive? How to format a pen drive in Ubuntu? I have this pen drive which I made ...
31
votes
5answers
266k views

Detect and mount devices?

I upgraded Ubuntu today and everything works smooth except that Ubuntu doesn't detect any other storage devices. My / and /home partitions work fine, but my other partitions are just not detected. I ...
29
votes
2answers
106k views

Can I use Ubuntu to write a Windows 7 ISO to USB? [duplicate]

I need to create a Windows installation USB drive from an ISO file. I used UNetbootin which seems to be the only tool that can write non-Linux images. The USB disk boots (sort of), but it gets stuck ...
26
votes
5answers
65k views

How do I clear everything (data, viruses) from a thumbdrive?

Say I used some thumbdrive on a public Windows computer and I copy some data to my Ubuntu computer with it. I cannot be completely sure that the Windows computer was clean, and it might have put ...
26
votes
4answers
56k views

Why does deleting a file on a USB stick not free up space?

I have an HP pen-drive that has 16GB space. If I add a file to it, and then I delete that file, the free space of that deleted file doesn't get applied. The only way I've found to see that space as ...
26
votes
3answers
37k views

How to edit label of USB drive?

How to edit label of USB drive easily without formatting it? I tried right clicking the device and go to the properties but cannot find anything to edit.
19
votes
6answers
25k views

How do I get rid of “U3 System” on my USB drive?

I have a USB drive (SanDisk SDCZ40-016G) that mounts in a way I've never seen before. When inserted, two items appear in Places -> Computer: "SanDisk Ultra Backup: 16GB" contains my data, and "CD ...
19
votes
4answers
24k views

How do I monitor disk activity on a specific drive?

I'd like to watch disk activity on my USB external hard drive. I know that I can use iotop to monitor disk I/O for each running process, but is there a way to get a measure per filesystem?
19
votes
5answers
82k views

How can I change permissions on external drives?

I wanted to change permissions on my external drives that are automounted however I have tried by sudo nautilus and then going to gui and permissions and changing it however it does not let me. I ran ...
17
votes
4answers
4k views

What is the Command Line Equivalent of “Safely Remove Drive”?

What is the command line equivalent of the Nautilus feature called "Safely Remove Drive". Specifically, I am removing a USB flash drive.
17
votes
9answers
58k views

How to auto mount my external hard drive?

On login, ubuntu 10.10 would not mount external hard drives automatically, While ubuntu 10.04 mount them on login. I've tried Storage Device Manager but it give error when external hard is not ...
17
votes
4answers
24k views

USB slots stop working suddenly from time to time

After re-installing Lubuntu 12.04 system on my laptop an older problem re-emerged after a few days and installation of different programs: without apparent reason the external mouse and sometimes ...
17
votes
8answers
37k views

How to safely remove a USB external drive?

How I can safely remove a USB external drive? Ubuntu 12.10 does not come with this option, only to "Unmount" the disk, but not "Eject". I have tried both USB sticks and with my external hard ...
16
votes
2answers
4k views

Remove RECYCLER directory from virus infected flash drive

Before you advise me on the option of saving my files and formatting the drive using gparted, please understand that I could have done that hours back and that would have taken only a few minutes. ...
15
votes
2answers
49k views

Tool for recovering deleted data from a flash drive

What is the best tool for recovering deleted data from a flash drive (pen drive)?
15
votes
3answers
117k views

Can I install Ubuntu to my 32 GB USB pen drive? [duplicate]

I want to install Ubuntu like how you would to a hard drive so I can use it as a portable system. I do not want a Live install; I want something where i can install updates, install drivers, and ...
15
votes
2answers
16k views

Why dd is not a reliable command to write bootable .iso files to USB thumb drive?

As the answers here indicate Ubuntu .iso s are not expected to boot if copied with dd to a USB thumb drive. Now my question is why is so that some Linux distributions have the option to directly write ...
15
votes
3answers
26k views

Install Ubuntu Server to a flash drive, permanently

First thing, I wanted to make sure, there is an understanding what this post is NOT about: This is NOT about creating bootable USB key This is NOT about simply booting from USB What I am looking ...
13
votes
7answers
26k views

fail to install ubuntu server 14.04 64bit LTS from USB drive

I created a bootable USB using Startup disk creator (in ubuntu desktop 12.04 32bit), from an iso image of Ubuntu server 14.04 64 bit, when I want to boot another computer using this usb drive, The ...
13
votes
3answers
14k views

How do I mount an encrypted /home directory on another Ubuntu machine?

I've done something a bit, well, strange. I installed Ubuntu 12.04 directly onto a USB thumb stick, encrypting the /home directory as given the option during the install. The filesystem is btrfs, I ...
12
votes
4answers
30k views

How do I rename a USB drive?

How exactly would I rename a USB drive? I've read that you can go into the Disk Utility, the click on Edit Partition and there is an option to rename the label but I can't click in the area to ...
12
votes
8answers
27k views

Why is the error, dd: /dev/rdisk1bs=1m: Operation not supported, popping up while trying to instal ubuntu on usb?

I am trying to install ubuntu onto my flash drive using the instructions from this website: http://www.ubuntu.com/download/help/create-a-usb-stick-on-mac-osx. After step 8, the terminal asks for my ...
12
votes
6answers
856 views

Is there a good file-copying tool?

The copy dialogue is stuck at 0 seconds left... Whenever I try to copy big files to my USB pendrive (in any format), it always stops at the last moment. It finishes after a long time. I searched Ask ...
12
votes
8answers
7k views

Why can't I copy a large number of files to my USB flash drive?

Final Update: So it turns out that the drive was indeed defective and I was able to get it replaced - the replacement works great! What happens: I insert the flash drive. I try to copy 2GB ...
12
votes
5answers
21k views

What kind of FileSystem do you recommend for USB Flash Drive?

This is a problem I'm having when using Ubuntu: I have two computers that have Ubuntu installed on them (comp1 and comp2). I create a document with Ubuntu on comp1 and then copy the file onto a FAT ...
12
votes
2answers
21k views

Can't format or delete partitions in pendirve cause of gpt table error

This is what I got while trying to format a partition in my pendirve: Error deleting partition /dev/sdb1: Command-line `parted --script "/dev/sdb" "rm 1"' exited with non-zero exit status 1: Warning: ...
12
votes
4answers
8k views

How can I keep a folder synchronized to an external USB hard drive?

I have a growing music collection which I manually keep in sync with an external USB drive. Sometimes I edit their ID3 tags, add or delete a file in either the hard drive or the USB drive, and I would ...
11
votes
3answers
6k views

How do I safely use a virus infected USB drive in Ubuntu?

I have an USB drive which I know is virus infected (an anti-virus on my friend's machine detected it). Unfortunately neither of us know the virus name and I don't want to take the risk of plugging it ...
11
votes
2answers
7k views

Mounting a USB disk in a permanent location

I have a USB hard disk that I want to mount on boot and in a specific location. How can I make that drive mount and stay available (say for local backups, etc.) even though no one's logged in? It ...
11
votes
1answer
6k views

How to configure to record data to pendrive instantly?

If I edit the files on my pendrive, and then just remove it physically, the data will not be recorded. I have to click "eject", and so the led starts to blink, and the data starts to be recorded. How ...
11
votes
2answers
827 views

Some devices don't work on 3.0 USB port?

My laptop a HP DV6-1149wm has 2x 3.0 USB, and 2x 2.0 USB ports. Some devices will work fine on both, like flash drives, but some other devices, like my iPod, and my Android phone will not work on my ...
10
votes
2answers
11k views

How to encrypt external devices?

I've been a Windows power user/administrator and professional tech for years, I just made the decision to go Linux, and wow, what a difference. Is there any decently easy way to encrypt external ...
10
votes
2answers
6k views

Optimize Ubuntu install on USB-drive for longer life

I've got an Ubuntu installed on an USB-drive for portable use. It's a regular install and not a live USB. Needless to say, it's a Flash-based storage and only 16 GB. What can I do to extend its life? ...
10
votes
4answers
56k views

Why is the data transfer rate so slow on my external USB 2.0 drive?

My external 1TB hard drive is connected to the front USB2.0 socket on my 11.04 box. When copying files I have a very slow data transfer rate rate of approx. 12 MB/sec maximum even though from the hard ...
10
votes
5answers
17k views

Sandisk USB not detected by Ubuntu 14.04 but detected by Windows 7

I have a SanDisk 16GB USB drive that is not being detected by Ubuntu 14.04 but is detected by Windows 7. lsusb detects it but sudo fdisk -l or blkid doesn't. Even GParted and Disks don't detect it. ...
9
votes
4answers
16k views

How do I check the integrity of a storage medium (hard disk or flash drive)?

I've run across (personally or by proxy) a bunch of storage media that exhibited physical problems during their life. Hard disks, solid state drives and other flash storage media all fail after some ...
9
votes
6answers
47k views

Install Windows 7 from Ubuntu on USB Drive

I don't have cd burner, so I want to install W7 on my 2nd computer via an USB-Drive. I just copied the files from the iso but it won't boot. So I installed ms-sys and did a ms-sys -7 /dev/sdb but it ...
9
votes
2answers
7k views

How do I get a USB drive shortcut on desktop?

Is there a flash drive shortcut on Ubuntu 12.04 desktop like Ubuntu 10.10 desktop have?
9
votes
7answers
134k views

How to create a bootable USB from a .iso file? [duplicate]

I am trying to create a bootable USB stick from a .iso image (it isn't a linux distro or anything of the sort) intended for use with a CD. I've tried UNetbootin and dd but they don't boot.
9
votes
4answers
21k views

USB drive auto-mounted by user but gets write permissions for root only

I am trying to use my ext4 USB drive but Ubuntu 13 is currently mounting it with write permission only for root so with my normal user I can't write to it, without sudo. The first place I checked ...
9
votes
4answers
1k views

Why does the mount point keeps changing, and how can I prevent it?

When I plug in an external USB drive, it automatically mounts and it's accesible in /media/disk/ However after a while, this is how my /media directory looks like: cesar@minas-tirith:~$ ls /media/ ...
8
votes
6answers
16k views

How do I execute a file from a FAT USB drive?

I'm trying to install a portable app onto my USB drive such that it is compatible with both Ubuntu and Windows (specifically, a program called eToys). Support is already built into the app for both ...
8
votes
2answers
948 views

Does Ubuntu support USB 1.0?

I have a 16 GB 1.0 USB Stick in titanium with leather bound, which i happen to love. I know it works in Vista (of all things) but in Ubuntu 11.04 (i also have gnome 3, if that may affect, but am ...
8
votes
3answers
718 views

Will GNOME Shell need compositing (like Unity does)?

I fix computers to get a little extra money. I'm planning to buy a removable hard drive to carry important programs and stuff and I'd like to install Ubuntu 11.04 in it too. So, I can't install ...
8
votes
2answers
798 views

How to execute C++ program whenever a USB flash drive is inserted

I have a C++ program that accesses USB pen drives/flash drives. It works for currently inserted flash drive. A normal C++ program doesn't execute until we run it. But I wanted the program to run ...
8
votes
2answers
10k views

How many usb hard drives can be plugged into a laptop using a port replicator?

I've got a laptop with 2 USB 2.0 and 1 USB 3.0 ports and I would like to know how many USB hard drives I could plug into it. Is there a hard limit in the Linux kernel? On the performance side, what ...