The only working PC I have is a 32-bit x86 and has a minimal Debian installation. I need to flash a USB with an ISO file from it to make a live system. I tried for a few days to get flathub or appimage working there, but just can’t. I decided an apt package would be the easiest course of action, but neither Rufus, Impress or BalenaEtcher seem to be available in default repos. It there a program that is there? A bare .elf executable with no packaging would also be fine.
Scrolled a while and didn’t see it:
dd if=image.iso of=/dev/yourstick bs=4M ; sync
And what is yourstick? lsblk and determine by size. Use the device node, not a partition, e.g. /dev/sdb and not /dev/sdb1.
Balena Etcher has a .deb file on their GitHub releases.
https://github.com/balena-io/etcher#debian-and-ubuntu-based-package-repository-gnulinux-x86x64
Should be able to just download and double click it, on Debian.
Ventoy can handle multiple images on the same device
+1 for Ventoy. For anyone who hasn’t heard of it, the Ventoy utility sets up a USB key with a small bootable partition, then fills the rest with an exFAT partition where you can drop your ISOs. Booting from the stick just gives you a list of bootable images to choose from.
It’s bloody magic. Super convenient, and tellingly the last iso I ever “burned” - now it’s all simple file copy operations from any device. 😎👌
Balena Etcher. Just because no-one else has mentioned it in the comments so far.
It was mentioned in the post. Doesn’t seem to be in apt.
I always had to look up how to use the dd command until a few years back I saw somewhere that you can literally just use cp and the results won’t be worse in any way.
cp image.iso /dev/sdXWon’t this break if the flash drive isn’t marked as bootable?
This works. You can also cat image.iso >/dev/sdx
I always laugh at windows users with their external random apps to do something elementary
there’s no fucking way
You sure it wasn’t
cat?I know you can use a root shell with
cat image.ISO > /dev/[...]for disk images/ISO in disk image Format (so most ISO that aren’t Windows) but using thecpcommand would be news for me.Hmm, cp has smart block size handling & co (unlike dd) but
catis just a stream and pipe & redirect also buffer. Advantage of cp is, you can just sudo it.Cat too. It works largely the same way
cpdoes indeed work too!I am 100% certain, I’ve done this many times over the past few years.
Real LPT in the comments.
dd if=image.iso of=/dev/sdX bs=64M status=progress
Oops hit the wrong key, main drive formatted
It’s called “disk destroyer” for a reason.
Always double check your dd commands folks.
Nah… If you use
of=/dev/sdait won’t touch your main drive \sIt freaks me out, but these days with nvme disks this is actually true
Lessons for Newbs right here folks
Safer with bs=4M on older flash.
Thanks, seems it worked. It should be noted that
/dev/over normal/run/media/path can be found withlsblkcommand, out of 2 with identical letter use latter with digit
mkusb is a simple bash script around dd to make things easier. I always have it installed on my laptop, in my ~/bin/.
I typically just ‘dd’
The ones that come to my mind that you can install from APT are:
- gnome-disk-utility
- isoimagewriter
As others have said,
ddwill work, or if you really want, you can download the x86 Linux AppImage file from Balena’s website, extract it, then just run it (you may need to mark it as executable first). Should work just fine, and it’ll give you the same GUI as alwaysYou should be able to use dd to create bootable device. Ubuntu has a guide, just replace their iso with yours: scroll all the way down to Using the Linux command line
you should be able to create bootable flash drives with dd
Have you tried Raspberry Pi Imager or popsicle?
DD?
Worse tool for the job. cp, cat, pv, are better.
I’m pretty sure gnome-disks can
yup. works very well. been using it whenever an image fails to boot properly on my multiboot usb…











