Skip to main content
135 votes

How do I copy a file larger than 4GB to a USB flash drive?

This is due to FAT32 limitation. Files larger than 4GB cannot be stored on a FAT32 volume. Formatting the flash drive as exFAT or NTFS will resolve this issue. WARNING: Back up your data. Formatting ...
Russo's user avatar
  • 1,898
103 votes

How do I copy a file larger than 4GB to a USB flash drive?

If you don't want to reformat your USB drive or need it to be FAT32 you can simply split your big file into parts. Most archive managers come with the split option and for the command line there's ...
dessert's user avatar
  • 40.2k
73 votes

Check real size of USB thumb drive

f3 - Fight Flash Fraud There is only one alternative I found, but I think this is even a better one than the original h2testw tool for MS Windows. Fortunately, it is really easy to use, even from ...
verpfeilt's user avatar
  • 2,874
62 votes

How do I change the "label" reported by lsblk?

Since the label is a property of the filesystem there are individual ways to set the label for different file systems. for ext2/ext3/ext4 filesystems you use: e2label /dev/XXX <label> for btrfs:...
qwertz's user avatar
  • 751
61 votes

Why is it that I am unable to format my pendrive in exfat using gparted?

Gparted doesn't[UPD 210609] support creation of exfat file systems. You can use mkfs.exfat utility from the terminal like: sudo mkfs.exfat -n LABEL /dev/sdXn Replace LABEL with the label that you ...
Ron's user avatar
  • 20.7k
51 votes

Mount Flashdrive: Not Authorized to perform operation

In Ubuntu 18, this error is caused by Chrome Remote Desktop. The solution is: Stop the Chrome Remote Desktop Service: /opt/google/chrome-remote-desktop/chrome-remote-desktop --stop Open all ...
Roger Gomez Nieto's user avatar
49 votes

How do I copy a file larger than 4GB to a USB flash drive?

Problem: FAT32 has a 4GiB limit for file size Different scenarios and files systems are examined looking for alternatives taking into account the file size problem which operating systems that should ...
sudodus's user avatar
  • 46.6k
44 votes

Can I boot memtest86+ if I'm using UEFI?

Memtest86+ Edit 1: { Memtest86+ version 6 (and newer) can be downloaded as a standalone zip file, which contains an iso file. This iso file can be cloned directly into a USB drive to make a bootable ...
sudodus's user avatar
  • 46.6k
33 votes

Is there any way to turn off a USB HDD manually?

Try this: udisksctl unmount -b /dev/sdXY udisksctl power-off -b /dev/sdX on Linux Mint or Ubuntu
user742999's user avatar
31 votes

How to get access to USB-storage from an application installed as Snap?

So we need special prepared Snap with support of removable-media connector/interface/plugin. Below is a list of Snap with removable-media plug described in YAML-manifest : vlc - VLC firefox - Firefox ...
N0rbert's user avatar
  • 101k
31 votes

dd doesn't work

Your command creates a file named sdc in the current directory. You want of=/dev/sdc. So the complete correct command is: sudo dd if=./memtest86-usb.img of=/dev/sdc Run sync afterwards to ...
pLumo's user avatar
  • 27.1k
30 votes

How to properly copy files from hard drive to USB flash drive in tty4 terminal?

Plug in the device lsblk to find the device name of your usb device. Naming is /dev/sdXY. Where X is any english letter and Y is integer, typically 1. If the device was mounted, you will see the ...
Sergiy Kolodyazhnyy's user avatar
24 votes

I can't format my live-USB pendrive (udisks-error-quark, 11)

If you don't have any valuable data on that drive you can create a new partition table with Gnome Disks if it doesn't like the current one: Click on the cogwheel for drive operations and select “...
David Foerster's user avatar
23 votes

My 'USB flash' does not have write permission. I can't copy files into it via Nautilus?

It is not necessary to format the flash drive or to nuke the partition. You can go to mount and then change the ownership of your flashdrive. On ubuntu : cd /media sudo chown -R username drivename ...
Richard's user avatar
  • 1,001
21 votes

Flashing Ubuntu ISO to USB stick with dd: recommended block size

My standard dd block size is bs=4096 Some years ago I tested different block sizes, and found that bs=4096 is a good value for most cases. It made no big difference to increase the block size to ...
sudodus's user avatar
  • 46.6k
20 votes

How to maximize the life of a pendrive which has a full installation of Ubuntu MATE 18.04 on it

To increase the lifespan of your USB stick, minimising the number of read/writes in various ways: Disable Swap Swapping is the process of using part of the USB stick as volatile memory. This will ...
MatsK's user avatar
  • 916
19 votes

Why is it that I am unable to format my pendrive in exfat using gparted?

Workaround: use gnome-disks This is the default pre-installed disk manager tool on Ubuntu that shows on the Dash as "Disks". You can also launch if from the terminal with: gnome-disks ...
Ciro Santilli's user avatar
19 votes

How to get access to USB-storage from an application installed as Snap?

The Ubuntu Software program will now show a Permissions button on the page of each Snap program you have installed. Click on Permissions, and a pop-up window gives you the option 'Read/write files ...
kim holder's user avatar
  • 1,719
18 votes

How to access a usb flash drive from the terminal?

Use udisksctl from package=udisks2 (in both Ubuntu and Debian). Procedure is: Find the ID of the block device you want to mount, using lsblk: user@machine:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE ...
wecac's user avatar
  • 291
18 votes

How to Create a Full Install of Ubuntu 22.04 to USB Device Step by Step

Creating a Full Install of Ubuntu 22.04 to USB that works in both BIOS and UEFI Following is based on using a 16GB Target drive, you may adjust partition sizes for a larger drive. The following looks ...
C.S.Cameron's user avatar
  • 19.8k
17 votes

How to turn off hard drive in Ubuntu?

You likely have the udisks2 package installed; you can use udisksctl power-off -b /dev/sdX where /dev/sdX is the device you'd like to turn off. From udisksctl man page (version 2.7.6): power-off ...
Taylor R's user avatar
  • 546
17 votes

How to fix read-only usb drive?

If the USB was once writable and is now no longer, this suggests 3 things in my mind: A hardware switch on the device has been toggled. If this is the case, the simple fix would be to find that ...
hunteke's user avatar
  • 468
17 votes

What is the best way to format a USB stick such that it can be used with both Linux and Windows?

Currently, the best filesystem to share content between Windows and Linux is exFAT, specially on USB pendrives and SD cards. exFAT is, roughly speaking, a revision of FAT32 without the 4GB max file ...
vitaminace33's user avatar
16 votes

Can Ubuntu be installed to the pendrive it was booted from?

I was too curious to wait for you to check if it works. So I tried and here is my result: Yes, it works with the following recipe :-) Create a live-only drive by cloning ubuntu-16.04.1-desktop-amd64....
sudodus's user avatar
  • 46.6k
15 votes

Live USB on a 2-partition usb-drive

I found an alternative way which is more straightforward. There are 2 important pieces of information one needs to understand about why this works. The first is about the boot process and how the ...
Aurovrata's user avatar
  • 336
14 votes

How to tell which device the USB drive is assigned as?

Simply use lsblk output options to find it out: lsblk -o NAME,TRAN which produces: sda sata ├─sda1 └─sda2 sdb usb └─sdb1 sr0 ...
Ravexina's user avatar
  • 55.9k
13 votes

How to properly copy files from hard drive to USB flash drive in tty4 terminal?

In my case the above answer was no working so i tried this. My system config is Ubuntu 14.04, while updating to 16.06 LTS, suddenly it stopped to work so to copy my important files , I used my pen-...
MD Shahrouq's user avatar
12 votes

How to turn off hard drive in Ubuntu?

You can use the following (here sdc is the name of corresponding block device of interest): sync echo 1 > /sys/block/sdc/device/delete or (from non-root user): sync echo 1 | sudo tee /sys/block/...
Tomilov Anatoliy's user avatar
12 votes

I can't format my live-USB pendrive (udisks-error-quark, 11)

The best way to do is... Open Terminal sudo fdisk -l This will list your all mounted/unmounted device.. Look for your USB device ... you can cross-verify it by from the Disk utility...It may list ...
EngineSense's user avatar
12 votes

Unclear about USB drive ejection: "don't unplug until finished"

I have had this in the past and found a solution that works for me. The command sync will ensure everything is written to all attached disks. You should not need sudo sync for this unless the disk ...
Noki's user avatar
  • 932

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