Finally, a simple Linux app that flashes a wide variety of bootable image formats to block devices such as USB drives, external HDDs and SSDs, and SD cards. It is designed to be straightforward and "just work". It exists as a GUI app and a CLI tool.
Simply download and install the .deb package. It should work on most modern Debian/Ubuntu-based systems, and is tested and working on Linux Mint 22.1. The program currently only comes in .deb format, though it can easily be ported to other distros/Flatpak for those interested in contributing towards that.
This README file and the program itself will use the words "image" and "device" often. Here's what they mean:
-
"image" = bootable operating system disk image file (e.g. the .iso file)
- "image" does NOT mean "picture"
-
"device" = USB stick, external USB HDD, external USB SSD, or SD card that can be flashed
- "device" does NOT refer to the/a computer, phone, tablet, etc.
This program has rigorous built-in safeguards to prevent flashing the computer's internal hard drive. It also displays a warning before flashing/erasing a device with an option to cancel. However, this program comes with ABSOLUTELY NO WARRANTY, and I am not responsible for unintended data loss. The program is designed to only identify anything mounted under /media or /mnt as a removable storage device. If you have any internal/external drives with important data mounted in these locations, the program may recognize them as a USB stick, so be careful not to select them. YOU HAVE BEEN WARNED!
Simply grab the latest .deb release from the side pane on the right, and install it using:
$ sudo apt install [PATH_TO_DEB_FILE]
For example, if you downloaded the .deb to the Downloads folder:
$ sudo apt install ~/Downloads/simple-usb-flasher-1.3-all.deb
Simply launch Simple USB Flasher from the applications menu, or run the following command in a terminal window:
$ simple-usb-flasher
Or, for more verbose output:
$ simple-usb-flasher --verbose
Simple USB Flasher also has a CLI tool: simple-usb-flasher-cli. In fact, the backend of the program is a collection of Bash scripts (the Python GTK+ app also uses these scripts under the hood). The usage for simple-usb-flasher-cli is as follows:
simple-usb-flasher-cli: [ACTIONS] [PARAMETERS] [OPTIONS]
ACTIONS:
erase [DEVICE] Erase [DEVICE] to use it as a normal storage device again. Formats to exFAT by default, but can be used with --ask-method to select a filesystem.
flash [PATH_TO_IMAGE] [DEVICE] Flash image [PATH_TO_IMAGE] to [DEVICE].
list-devices List available external USB drives, SD cards, or USB SSDs/HDDs that can be flashed
list-supported-file-types Show a list of file types supported for flashing
FLASH OPTIONS:
--ask-method If multiple decompression methods are available for an image type, prompt the user for which one to use. If this options is not applied, the default option will be used.
--windows Use this flag if flashing a Microsoft Windows image to a device (requires WoeUSB).
--skip-size-check Don't check to see if image will fit on device, attempt flashing anyway.
--skip-size-check-smart Same as '--skip-size-check', but only skips checking size if it 'may take a while'.
OTHER OPTIONS:
--verbose Increase output verbosity
To print this screen in the terminal, you can run:
$ simple-usb-flasher-cli --help, or simply $ simple-usb-flasher-cli with no arguments.
- .7z
- .bz2
- .gz
- .img
- .iso
- .lzma
- .rar
- .tar
- .tar.bz2
- .tar.gz
- .tar.lzma
- .tar.xz
- .tar.zst
- .xz
- .zip
- .zst
NOTE: If you attempt to flash an image of a file type that is not in the list above, the program will give you a warning letting you know that the file type is not supported. However, it will still allow you to flash the image if you want, but doing so may corrupt the device (which can be easily fixed using GParted, see Known Issues below).
This program can flash Microsoft Windows images, but only if WoeUSB is installed. To install WoeUSB on Ubuntu and its derivatives, run the following commands in a terminal window:
$ sudo add-apt-repository ppa:tomtomtom/woeusb
$ sudo apt update
$ sudo apt install woeusb
NOTE: While installing WoeUSB guarantees that Windows images will flash properly, it may still be possible to flash a Windows image without having WoeUSB installed and have it boot. In testing, this has worked in some cases, but not in others. Installing WoeUSB is highly recommended whenever possible, however.
Simple USB Flasher allows the option to flash an image even when it detects that doing so probably won't work, such as when the image is too big for the target device, or the image does not appear to be a bootable one. This option is available in the hope that some unconventional OS images can still be flashed, but it has a downside. Sometimes, the flashing will fail in a way that leaves the target device with no partitions. This causes the device to not mount when it is plugged in to the computer. This same issue can occur if the device is removed (or some other error occurs) while it is being erased.
Luckily, the fix is simple, but it requires another software: GParted. It is widely available on most Linux distros and can be installed on Debian/Ubuntu based distros with:
$ sudo apt install gparted
Once installed, open GParted, navigate to the target device, navigate to Device > Create Partition Table... from the top menu bar, and use either msdos or gpt. Then, go to Partition > New and create a partition with the fat32, exfat, or ntfs filesystem.
That's it! Exit GParted and your device should now mount properly (you may have to unplug it and plug it back in).







