Bootloader equivalent to Rufus
from tombruzzo@lemm.ee to linux@lemmy.ml on 12 Jun 12:40
https://lemm.ee/post/34426844

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?

#linux

threaded - newest

eth0slash0@lemmy.world on 12 Jun 12:55 next collapse

One of these should do what you’re looking for. Each has a slightly different approach.

etcher.balena.io

unetbootin.github.io

www.ventoy.net/en/index.html

muhyb@programming.dev on 12 Jun 13:05 next collapse

From this list, only Unetbootin can create Windows installation disk. For this, there is also WoeUSB but it’s CLI only.

jws_shadotak@sh.itjust.works on 12 Jun 13:14 collapse

Ventoy can do windows installations as well

muhyb@programming.dev on 12 Jun 13:32 next collapse

Didn’t know about that. Thanks for the clarification!

BearOfaTime@lemm.ee on 12 Jun 17:35 collapse

Ventoy kicks ass for a multi-boot drive. Just drop the ISO on the drive and Ventoy sees it. Slick

Ghoelian@lemmy.dbzer0.com on 12 Jun 13:08 next collapse

+1 for ventoy. With that you can just flash ventoy on it once, then copy iso’s over to the usb drive without reformatting or reflashing anything.

Telorand@reddthat.com on 12 Jun 13:54 next collapse

I could never get Ventoy to work. From Windows ISO’s to several versions of Linux, it never got detected as a bootable drive. YMMV

I like the idea, but it would be great if it was more compatible with different setups.

BearOfaTime@lemm.ee on 12 Jun 17:30 next collapse

I’ve found some thumb drives don’t like to boot.

Ventoy has worked for almost everything. Proxmox doesn’t like it.

Telorand@reddthat.com on 12 Jun 18:33 next collapse

To be fair, I seem to have a not-so-super superpower to blind pick the USB devices that have the least support for Linux stuff (the aforementioned drives, a WiFi module, etc.).

BearOfaTime@lemm.ee on 14 Jun 14:59 collapse

Hahahaha, sorry to hear (but I empathize). I can be a cheap bastard, so I have some shitty thumb drives around. I figure they eventually die anyway, so this stuff isn’t permanent.

I keep a folder on my server with the tools and noted to rebuild each one. Sometimes I even make an image with the tools, and only leave the ISOs out.

f4f4f4f4f4f4f4f4@sopuli.xyz on 14 Jun 00:30 collapse

I maintain older hardware at work. We have a platform based on a Biostar motherboard with no USB3 ports, and it will not boot from any USB3 drive I’ve tried. Any USB2 drives work fine. Picky, picky! 🤷

Certainity45@lemmy.ml on 13 Jun 06:06 collapse

Your machine is UEFI, which means your usb stick must be formatted in gpt. Ventoy defaults to mbr which means lagacy bios. It is just 3 mouse click setup.

Try again. Because it is the best method. I just updated 2,5 years old Ventoy stick without any issues without re-formatting.

Telorand@reddthat.com on 13 Jun 12:05 collapse

Hey, thanks! I’ll give that a try. I really like the idea of having a one stick to rule them all, so hopefully that works

bigmclargehuge@lemmy.world on 12 Jun 13:57 collapse

I’ve had issues with Ventoy on multiple computers with multiple isos. +1 for convenience, -1 for not working 3/4 of the time (for me, I’m sure there are numerous factors).

governorkeagan@lemdro.id on 12 Jun 13:11 next collapse

Popsicle from Pop!_OS is also very good - really simple. I’m not sure if it can create a bootable Windows USB though.

github.com/pop-os/popsicle

Fedora Media Writer is also another good option.

docs.fedoraproject.org/…/preparing-boot-media/

tombruzzo@lemm.ee on 12 Jun 13:11 collapse

Thanks, I’ll check these out

om1k@sopuli.xyz on 12 Jun 13:18 next collapse

ventoy is what has worked best for me

Frederic@beehaw.org on 12 Jun 13:19 next collapse

Well, on MX I’m using “MX Live USB Maker” which can flash any ISO on thumb drive, it’s a built-in tool.

Now I’m using Ventoy, you just put multiple ISO on the thumb drive and choose it when you boot the USB drive, it’s wonderful, no more “1 OS per drive”, you just take a 32GB USB drive and you can put 10 distro on it.

www.ventoy.net/en/screenshot.html

ulkesh@beehaw.org on 12 Jun 13:31 next collapse

Ventoy is great as others have said, and probably would do what you want since it has its own installer and is its own bootloader, and can boot isos loaded on the USB drive.

If you want something that works, in my experience, as well as Rufus, maybe take a look at Balena Etcher, too.

owenfromcanada@lemmy.world on 12 Jun 13:40 next collapse

They obviously don’t have the features that Rufus has, but I’ve ended up using the default USB image writers that come pre-installed (found them on both Mint and Manjaro, probably available on others). If you’re just looking to write an ISO, check to see if you already have one.

tombruzzo@lemm.ee on 12 Jun 14:55 collapse

That’s what I ended up going with on Fedora

vvv@programming.dev on 12 Jun 14:05 next collapse

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

turbowafflz@lemmy.world on 12 Jun 14:49 next collapse

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

vvv@programming.dev on 12 Jun 17:50 next collapse

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

rotopenguin@infosec.pub on 12 Jun 18:33 collapse

Betterest is pv image.img > /dev/sdx

Barzaria@lemmy.dbzer0.com on 12 Jun 19:02 collapse

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.

bloodfart@lemmy.ml on 12 Jun 14:13 next collapse

dd

Sometimes stuff won’t chain boot from within ventoy.

HubertManne@moist.catsweat.com on 12 Jun 14:49 next collapse

darn I thought this was about my dream thing which would be a flashed boot loader on a drive where you had a folder you could add iso's and it would automatically give you a list of isos to boot from.

kurcatovium@lemm.ee on 12 Jun 14:55 collapse

Something like Ventoy?

HubertManne@moist.catsweat.com on 12 Jun 15:15 next collapse

ooh. imma go google that. thanks.

HubertManne@moist.catsweat.com on 12 Jun 15:26 collapse

oms! this is exactly what I have been looking for.

tombruzzo@lemm.ee on 12 Jun 14:56 next collapse

Thanks everyone. I tried ventoy but it didn’t work straight away. I do like the idea of having a list of isos to pick from, but it might take more tweaking to get right.

I went with the boot loading tool in Fedora since I just wanted to flash mint to do a reinstall on my kids’ laptop

boredsquirrel@slrpnk.net on 12 Jun 14:59 next collapse

What?

Rufus just flashes ISOs to disks. On Linux you can doo that with

  • udisksctl or dd
  • Impression
  • Fedora Media Writer
  • KDE Iso Image writer
  • Balena Etcher

But you are talking about something completely different and Ventoy does that.

rotopenguin@infosec.pub on 12 Jun 18:35 next collapse

Raspberry pi imager is supposed to be pretty good

ShortN0te@lemmy.ml on 12 Jun 20:37 next collapse

Or just cat file.img > /dev/…

boredsquirrel@slrpnk.net on 12 Jun 21:40 collapse

I think you should use dd for that?

ShortN0te@lemmy.ml on 13 Jun 06:04 next collapse

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

boredsquirrel@slrpnk.net on 13 Jun 14:18 collapse

What

qpsLCV5@lemmy.ml on 13 Jun 11:01 collapse

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.

boredsquirrel@slrpnk.net on 13 Jun 14:18 collapse

cat is for writing files, dd for writing disks.

Can you explain how this can work?

ShortN0te@lemmy.ml on 13 Jun 14:54 next collapse

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 on 13 Jun 17:56 collapse

Cool, need to try that

tuna@discuss.tchncs.de on 16 Jun 14:44 collapse

/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

eruchitanda@lemmy.world on 12 Jun 22:13 collapse

TIL you can do that with udisksctl. How can you do that?

I usually just use dd or Ventoy.

boredsquirrel@slrpnk.net on 13 Jun 14:30 collapse

I thought that was what Impression uses but it doesnt tell that anymore. So I dont know

Corgana@startrek.website on 12 Jun 18:41 next collapse

Balena Etcher is what you want, though AFAIK if you’re making a Windows installer no Linux programs have the convenient options to disable TPM and online account etc that make Rufus so nice.

pineapplelover@lemm.ee on 12 Jun 18:42 next collapse

Ventoy ftw

Barzaria@lemmy.dbzer0.com on 12 Jun 19:03 next collapse

If you want a GUI, I would use Balena Etcher. You might be able to use raspberri pi imager too.

Nibodhika@lemmy.world on 12 Jun 21:22 next collapse

Personally I have a USB drive with Ventou and have been using that for a long time.

But before that I just did a dd. Although I seem to remember someone doing a benchmark and realizing that piping the file was faster. Here’s what I mean by that:

In bash you have the echo command which prints text:

echo "Hello"

Will print Hello.

In bash you can send the output of a command to a file, so:

echo "Hello" > hello.txt

Will write Hello in the hello.txt file.

In bash you can use the cat command to read files:

cat hello.txt

Will print the Hello we wrote in that file earlier.

In Linux drives are files, so if your USB drive is in /dev/sdb (DON’T JUST BLINDLY COPY THIS) you can create an image of it like so:

cat /dev/sdb > usb.iso

But also the devices are writable, so you can flash an image to a disk by doing it the other way around:

cat image.iso > /dev/sdb 
foremanguy92_@lemmy.ml on 13 Jun 06:22 next collapse

The principal alternative to Rufus is Balena etchter, but for me it works 1/5 times. But now I’m using Ventoy and… Just use it, it damn fucking good!

psion1369@lemmy.world on 13 Jun 13:37 next collapse

My honest recommendation is dd It works, it does it’s job, and doesn’t need to many bells and whistles. My only complaint is that there isn’t an easy way to show progress. But as a background command, it works.

therealjcdenton@lemmy.zip on 13 Jun 18:51 next collapse

github.com/pop-os/popsicle

BaumGeist@lemmy.ml on 13 Jun 23:10 next collapse

I haven’t found a good GUI (Balena’s Etcher is cross platform, but the flatpak never worked for me)

dd has never failed me

sudo dd if=<path to ISO file> of=<path to USB> bs=4M status=progress conv=fsync

(double, triple and quadruple check that the output file, of=, is the correct device with multiple different commands before running this)

scratchandgame@lemmy.ml on 14 Jun 07:09 collapse

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

A BLOODY STUPID IDEA!

Using Wine is just stupid enough.

dd is safe. I have used Balena’s Etcher 2 years ago but it seems the drive isn’t bootable in UEFI mode!

Rakarake@lemmy.world on 15 Jun 09:37 collapse

Ah, “the linux community” 😌 🧘