Hot answers tagged

516 votes

Can't format Ubuntu installation stick

I got this fixed by doing the following On your unity dash, type gnome-disks and launch the Disks application Select the disk or drive you want to format Press CTRL+F Click format. After ...
294 votes

USB devices showing as read only

See this bug. Run this command to kill Nautilus (Files): killall nautilus
212 votes
Accepted

Unable to delete USB Drive partitions (Block size error)

The problem you are describing was caused by a low-level device tool (like dd) writing blocks at the wrong size directly onto the device. To fix this, you need to re-write the device blocks to the ...
  • 2,297
79 votes

Ubuntu 16.04 final not booting from stick: gfxboot.c32: not a COM32R image

Press TAB when that happens (when you boot and the error message appears) and then you will be able to choose between options (live, live-install, ...). Type live, press ENTER and it will boot you ...
  • 4,737
76 votes

Can't format Ubuntu installation stick

Make sure you have GParted installed. In a terminal window, run sudo apt install gparted Then open GParted as root (still in the terminal window): sudo gparted Select your USB stick from the ...
  • 5,687
68 votes
Accepted

Ubuntu 20.04 - "Unhandled error message: The name 1.1001 was not provided by any .service file" when trying to mount Xiaomi Redmi Note 9 Pro via USB

Similar issue I have managed to solve with 'nautilus -q' typed in terminal. Worth a try. Don't need to restart the computer.
  • 1,826
60 votes
Accepted

Wake up from suspend using wireless USB keyboard or mouse (for any Linux Distro)

In terminal: grep . /sys/bus/usb/devices/*/power/wakeup The result, for me, was to find out that all usb were disabled. So now, type: sudo su we have now root privillages. I have 8 usb ports (you ...
55 votes
Accepted

Mount can't find device in /etc/fstab

Why this error? You probably forgot to tell mount where to mount your drive. Linux uses device files (/dev/sda, /dev/sdb1, etc.). And unlike Windows drives (C:, D:, etc.), you cannot access them ...
51 votes
Accepted

TP-Link AC600 Archer T2U Nano driver for Ubuntu 18.04

For a more stable driver, try this: sudo apt install git dkms git clone https://github.com/aircrack-ng/rtl8812au.git cd rtl8812au sudo make dkms_install If you get error running dkms_install: Error! ...
48 votes

How to run a script when a specific flash-drive is mounted?

There's much nicer solution with systemd now. You create a service which depends and is wanted by you media e.g.: /etc/systemd/system/your.service [Unit] Description=My flashdrive script trigger ...
  • 591
48 votes

Wireless USB Adapter 0bda:c811 Realtek Semiconductor Corp

The good news is that your 0bda:c811 device has support and has been the subject of several answers and duplicates here before; for example: USB WIFI Realtek not an MTP device The bad news is that the ...
  • 57.1k
45 votes

Unetbootin has no GUI on Ubuntu GNOME

This is a known issue. As a workaround that does not require reinstalling unetbootin, you can run this command: sudo QT_X11_NO_MITSHM=1 unetbootin What the above command does is disable shared ...
44 votes

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

This is how i got it to work. When it gets the CD-ROM error, move the install USB stick from one port, to another USB port on your PC. Then retry. This worked. I don't know why. Not only that ...
43 votes

16GB pen drive showing 2MB space after formatting on windows 7

If you want, you can even fix that in windows, run cmd as administrator then type diskpart list disk select disk 1 (make sure its the right one) clean (if it complains about permission, just type ...
  • 431
42 votes

Can't format my usb drive. I have already tried with mkdosfs and gparted

Analysis of the problem Memory cards and USB pendrives have the same kind of hardware inside, so the same methods are relevant to both kinds of devices. The term 'drive' can refer to a USB pendrive ...
  • 43.7k
42 votes
Accepted

System freezes/unresponsive/unusable when copying large file to USB

According to this bug report I solved it adding following lines vm.dirty_background_ratio = 5 vm.dirty_ratio = 10 into /etc/sysctl.conf and running sudo sysctl -p
40 votes

How do I burn the Windows 10 ISO to a USB?

I tried all the ways in this thread and none worked (and seriously, the question is about specifically writing to an USB key, why would people propose copying the ISO to another partition instead ??). ...
40 votes
Accepted

USB shared among students: set a password just for writing

Because this drive is going to be used on systems you do not control, or that are not Linux and don't otherwise support the Linux permissions scheme, you're a bit out of luck here. There's no real way ...
  • 70.3k
39 votes

How to connect Android 7.1 to Ubuntu Linux with USB?

Here's what I found works: First, ignore all the web comments you've seen about /etc/udev/rules.d/51-android.rules. That file isn't needed. Second, skip mtp-tools. They aren't documented, and ...
  • 823
38 votes
Accepted

HP LaserJet won't print (16.04 LTS)

Run command : sudo hp-setup -i and then follow the instruction for installation but first delete the printer that you added.
  • 5,373
38 votes

How can I mount my iPhone 6s on Ubuntu 16.04?

Evidently I was wrong about being able to mount an iPhone on Ubuntu. You can perform this using the following steps on yakkety. Note, you would need the device to be jailbroken in order to load apps ...
  • 919
36 votes
Accepted

How to automatically mount usb flash drive at startup

Edit your fstab via sudo nano /etc/fstab and add the line below UUID=0e281f8d-1117-451d-9b1b-b07405a631bc /media auto nosuid,nodev,nofail 0 0 Replace the UUID in my example above with the UUID of ...
  • 87.7k
36 votes

Cannot copy to USB - every USB stick is read only (16.04)

My head hurts a little from all this, but hey turned out to be this bug. It's a shame to see the community take such a setback from the dismissal of Unity, and while they start over the giants like ...
35 votes

lsusb command not found

Use Ctrl+Alt+T to open terminal and run the following command: sudo apt-get install usbutils
  • 9,179
35 votes

Benchmarking of USB flash drive

Use built-in program disks from ubuntu launcher, select your pendrive, click on gear icon, and select benchmark option to run read/write speed test
35 votes
Accepted

How to install startup disk creator in Ubuntu 19.04

To install the application, run the following commands: sudo apt update sudo apt install usb-creator-gtk Additionally, if you are running KDE or Kubuntu instead of Ubuntu or Ubuntu Gnome, then you ...
  • 40.5k
33 votes

Unable to delete USB Drive partitions (Block size error)

You Can always try using fdisk Open a terminal (Ctl+ALt+t) and type sudo fdisk /dev/sdy where /dev/sdy = The device file for your flash drive. Once you get fdisk open, type p to list the partition ...
  • 1,468
33 votes
Accepted

Mount Nexus 5x via USB

Actually, it's working! When you connect the N5X (screen unlocked) to your Linux box the N5X will default to USB charging (a security feature I think). The N5X will appear in your Linux file manager ...

Only top scored, non community-wiki answers of a minimum length are eligible