this post was submitted on 12 Jun 2024
33 points (100.0% liked)

Linux

1259 readers
85 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
[–] boredsquirrel@slrpnk.net 5 points 5 months ago (2 children)

I think you should use dd for that?

[–] ShortN0te@lemmy.ml 3 points 5 months ago (1 children)

Why? I am free to use whatever I want. This is not Microsoft Windows.

[–] qpsLCV5@lemmy.ml 2 points 5 months ago (2 children)

using dd for that is outdated info that everyone keeps blindly parroting with zero understanding why. cat is simpler and works fine.

note: both cat and dd only work for this when the image is made in a compatible way, my linux isos always work fine but a windows iso didnt and needs a more specific tool.

[–] ReversalHatchery 1 points 5 months ago

It is not outdated at all.

To be able to pipe to a disk, you have to open a root shell. That's more dangerous than just running a single dd command with toot, as you can forget about it and run other commands that way too.

[–] boredsquirrel@slrpnk.net 1 points 5 months ago (2 children)

cat is for writing files, dd for writing disks.

Can you explain how this can work?

[–] ShortN0te@lemmy.ml 5 points 5 months ago (1 children)

No, cat is not for writing files. Cat is for reading files and directing the data to standard output.

With ">" you are directing standard output to a file, in this case a blockdevice.

[–] boredsquirrel@slrpnk.net 1 points 5 months ago

Cool, need to try that

[–] tuna@discuss.tchncs.de 2 points 5 months ago

/dev/sdX is a file, and both dd, cat can read files in full. You can even try something like zstd to compress it too.

One of the nice things about dd though is you can see the progress with --status=progress