this post was submitted on 12 Jun 2024
44 points (87.9% liked)

Linux

48395 readers
768 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I've been trying to find a linux programming similar to Rufus to flash images of OSes on a thumb drive.

Nothing from the listicles on the internet or the programs in flatpak have worked for me as well as Rufus on Windows.

What have you used that's worked well? Or, could I run Rufus on my linux machine with WINE?

you are viewing a single comment's thread
view the rest of the comments
[–] vvv@programming.dev 8 points 5 months ago (2 children)

dd if=image.img of=/dev/disk/flashdrive is usually all you need

[–] turbowafflz@lemmy.world 4 points 5 months ago (2 children)

The cursed but arguably better way is cp image.img /dev/whatever

[–] vvv@programming.dev 5 points 5 months ago* (last edited 5 months ago)

is that more or less cursed than cat image.img > /dev/whatever?

[–] rotopenguin@infosec.pub 2 points 5 months ago

Betterest is pv image.img > /dev/sdx

[–] Barzaria@lemmy.dbzer0.com 4 points 5 months ago

if is short for input file if is short for output file

This dd command from the command line is what I use because it is built in and perfectly bare bones for my needs. I like to use the command flag --status=progress to show a status bar while duplicating the data. A word of caution: the dd, or 'data duplicator' program is sometimes known as the 'destroy disk' program because if you flash the iso file to the wrong disk/drive you can mess up the drive. Use the appropriate level of caution because there is no undo button. You can use the lsblk command to list the block devices on your machine and use the correct device. Quick instructions: use lsblk to list your block devices and locate your flash drive. If the flash drive is mounted (the /sdb/ will have something like /media/files if it is) you can unmount with $umount /path/to/sdb. Once the drive is unmounted you can use the dd program to duplicate the data (iso file) to your drive.