this post was submitted on 19 Feb 2025
519 points (100.0% liked)

Privacy

34054 readers
1235 users here now

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

Related communities

much thanks to @gary_host_laptop for the logo design :)

founded 5 years ago
MODERATORS
 

I am shocked by this - the quote in below is very concerning:

"However, in 2024, the situation changed: balenaEtcher started sharing the file name of the image and the model of the USB stick with the Balena company and possibly with third parties."

Can't see myself using this software anymore...

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 7 hours ago

Thats a shame, it was one of the few disk imagers that "just worked"

[–] [email protected] 6 points 9 hours ago (1 children)

i still had issues using 150MB electron based bloated and heavy software instead of rufus, not that it worked for me anyway

[–] [email protected] 1 points 5 hours ago (1 children)

I only tried to use it once, and same. 150MB of a Web app to copy an ISO? I think I was using a Macbook to flash it and decided to use ventoy instead, with my PC.

[–] [email protected] 2 points 5 hours ago (1 children)

I understand that it needed a GUI, but 150 megs?? When :

~ 
❯ ll `which dd`
-rwxr-xr-x 1 root root 63K Sep 29 16:36 /usr/bin/dd*

~ 
❯ 
[–] [email protected] 1 points 5 hours ago* (last edited 5 hours ago)

Yeah Mac has dd too, I often forget about the terminal existing there. I wish Ventoy for Mac was a thing tho.

[–] [email protected] 3 points 8 hours ago* (last edited 8 hours ago) (1 children)

Unrelated to balenaEtcher but I haven't been able to flash ISO files from Windows 11, either by using Rufus, Etcher, Fedora Media Writer, or even the WSL. I need to borrow a computer running a FLOSS operating system or to install OpenBSD first, and then from OpenBSD to download and burn an ISO file.

[–] [email protected] 2 points 5 hours ago

That sounds like an issue with your computer rather than W11. I just used Etcher on my W11 desktop to flash Mint XFCE yesterday with no issues.

[–] [email protected] 13 points 16 hours ago

Here's a wildcard people might not know about: Raspberry Pi Imager

I use it because it's faster than Etcher and it also has a bunch of quick links to download popular images (mainly for RPI and other arm-based SBCs) in one click which is handy if you use those regularly.

[–] [email protected] 14 points 22 hours ago

Wow, I was not aware of that. I really liked balena. Thankfully, I haven't been using it since installing Mint.

[–] [email protected] 16 points 23 hours ago (1 children)

Just use dd. It's not that hard. You pass it 2 arguments: if= the file you want to flash, and of= the destination. If you're feeling fancy, pass in some status=progress. And don't forget to prepend it with sudo. That's it.

[–] [email protected] 10 points 23 hours ago* (last edited 23 hours ago) (2 children)

I just tried this the other day and was unable to boot from the USB. Any chance you could shed some light on what I might have screwed up?

The command was:

dd if=fedora.iso of=/dev/sdc bs=4M status=progress

The USB stick was not mounted and the fedora image was verified. The command completed successfully but I couldn't boot from it. When I used fedora writer to burn the same image to the same USB stick it booted no problem.

Edit: spelling & capitalization

[–] [email protected] 15 points 21 hours ago (2 children)

Don't use Fedora myself, but it may not be a hybrid ISO that becomes bootable when written... so I looked and you are missing a flag

dd if=/path/to/image.iso of=/dev/sdX bs=8M status=progress oflag=direct

From https://docs.fedoraproject.org/en-US/quick-docs/creating-and-using-a-live-installation-image/

[–] [email protected] 1 points 7 hours ago (1 children)

I don't think oflags=direct has any influence on the result. Apparently that's about disabling the page cache in the kernel, which can avoid a situation in which the system slows down due to buildup yet-to-write pages.

[–] [email protected] 2 points 5 hours ago* (last edited 5 hours ago) (1 children)

Perhaps not. But the flag allows for direct I/O for data, bypassing buffers which can be overrun with certain size blocks, potentially causing dirty buffer depending on the machine being used. My understanding is that it's "more reliable" for writing (especially on shitty USB Flash drives) and getting the exact ISO properly written.

But it could be useless all the same - I'm just pointing out that OPs command is not the one recommended by Fedora when writing their ISO. Also OP is less likely to pull the drive before buffers have flushed this way.

[–] [email protected] 1 points 4 hours ago

Oh yeah that's where I was getting at, but I didn't have time to write that out earlier. I agree that OP probably pulled out the usb stick before buffers were flushed. I imagine that direct I/O would mitigate this problem a lot because presumably whatever buffers still exist (there would some hardware buffers and I think Linux kernel I/O buffers) will be minimal compared to the potentially large amount of dirty pages one might accumulate using normal cached writes. So I imagine those buffers would be empty very shortly (less than one second maybe?) after dd finishes, whereas I've seen regular dd finish tens of seconds before my usb stick stopped blinking it's LED. Still if you wait for that long the result will be the same.

[–] [email protected] 7 points 21 hours ago (1 children)

Ah! Thank you! I knew it was something I screwed up!

[–] [email protected] 16 points 20 hours ago (2 children)

You didn't screw up, you beautifully proved why the CLI is never a simple solution.

[–] [email protected] 1 points 5 hours ago

It reminded me when I told a coworker he could force the Windows shutdowns with the command 'shutdown -p -f" from either a Run.exe or a cmd window.

Then he said it wasn't working, and that the cmd window would just open and close quickly but no shutdown.

Imagine my surprise when he was doing shutdown -pf .

[–] [email protected] 2 points 11 hours ago

This is why people trying to pass this as a primary option baffle me a bit. dd is not that bad in isolation, but all of these little commands add up.

If we want Linux to be mainstream, we need to accept that most users aren't going to be linux enthusiasts. They just want a PC that works normally.

[–] [email protected] 3 points 21 hours ago (1 children)

Did you make sure that the of is correct? lsblk to make sure.

If your sure it wrote to the right drive i would make sure that you have a good download. Did you run your checksums?

I think fedora works with secureboot but you might want to disable it just to see if that is the issue. I believe you can reenable it after install.

Make sure to go into the bios and boot from external drive/usb.

Out of 15 years of using dd i have never had a problem.

[–] [email protected] 2 points 21 hours ago (1 children)

I did verify with lsblk, with a listing before and after plugging in the stick to be absolutely sure.

I also did verify the checksum of the ISO.

I'll double check SecureBoot, but as I mentioned, the same ISO written to the same stick with Fedora writer did boot in the same machine it wouldn't boot from with the dd version.

I know it's something I did or didn't do to make it work correctly, so this is not me trying to dunk on dd, just trying to understand what I did wrong.

[–] [email protected] 1 points 19 hours ago

just trying to understand what I did wrong.

You might not have done anything wrong.

There is also the possibility of a bad USB drive or write memory failure. There is lots of things that could go wrong that's not your fault. Might try a different USB or a different USB port on your machine.

You might want to try zeroing out the USB, if=/dev/zero. Then you might need to make a new partition table. You can use something like gparted. Or https://linuxconfig.org/how-to-manipulate-partition-tables-with-fdisk-cfdisk-and-sfdisk-on-linux

You can try GPT or DOS. I dont think it matters.

Not sure if the ISO will have the partition table so you might want make the new partition table just to be sure the stick defiantly has one. If dd overwrites it from the iso no harm no foul.

Thats all the troubleshooting steps I can think of right now.

[–] [email protected] 13 points 1 day ago (2 children)
[–] [email protected] 1 points 3 hours ago

I guess I could install Ventoy on the raspberry Pi's SD card, but I prefer it to be bare, since the idea is to keep it simple.

[–] [email protected] 6 points 23 hours ago

Ventoy uses several blobs without any instructions of compiling them yourself?

[–] [email protected] 27 points 1 day ago* (last edited 1 day ago)

Friendship ended with Balena

Now Rufus is my new best friend

[–] [email protected] 21 points 1 day ago

Rufus is great! I worked with the maintainer to fix a bug in hardware they didn't have and it was a very pleasant experience.

[–] [email protected] 13 points 1 day ago* (last edited 7 hours ago) (4 children)

Balenaetcher has, for me at least, failed to write to USBs for the last 3 years or so that I've tried to use it - meanwhile random iso writers from flatpak have been more reliable for me. Very obnoxious that so many iso related sites recommend it. Rufus kicks tons of ass, if for whatever reason you're still on windows.

Also on most distros I've tried, the disk utility has some sort of right click or context menu that gets you a 'restore disk image' button that works great as well.

Edit= I used Popsicle USB writer from flatpak on steam deck with no issue today! Made by system76 (makers of popOS) and found on flatpak. It is absolutely no frills, but works well enough to write an SD card image for a raspberry pi! 🙂

load more comments (4 replies)
[–] [email protected] 16 points 1 day ago (8 children)

Why use a fancy GUI tool when good old dd does the trick

[–] [email protected] 7 points 1 day ago* (last edited 1 day ago)

for Windows

load more comments (7 replies)
[–] [email protected] 35 points 1 day ago (7 children)

Is no one aware of Fedora Media Writer? It's FOSS and the most trustworthy ISO burning software in existence. It's only issue is that its named as if it is written only for producing Fedora bootable media. It works for everything.

[–] [email protected] 13 points 1 day ago (3 children)

Opensuse has one too. And dd exists for the brave or the foolish

load more comments (3 replies)
load more comments (6 replies)
[–] [email protected] 15 points 1 day ago

Linux mint factory USB creator just right click and make bootable.

[–] [email protected] 44 points 1 day ago (1 children)

If you need a FOSS, cross platform GUI for bootable USB sticks, Raspberry Pi Imager is a really good solution.
It is mainly used to flash SD cards for RPIs, but also you can burn any ISO on any support with it.

[–] [email protected] 6 points 1 day ago

I used to use the fedora media writer but the RPi imager software is so easy I switched

load more comments
view more: next ›