Skip to content

Media Writer produces USB stick with FAIL media check #669

@eshfield

Description

@eshfield

IMG_20231111_194418

This is a copy of my post to thread on Fedora Project Discussion:
https://discussion.fedoraproject.org/t/failed-media-on-startup-made-with-fedora-media-writer/83867

I have encountered a problem trying to install Fedora 39 created with Fedora Media Writer 5.0.6 on Windows 11 with my Lenovo IdeaPad 5 14ARE05 81YM00CFRK notebook. Media check fails with the same 004.8% of progress passed. Media Writer have worked without errors — it did media check successfully after downloading and writing the Fedora image to my USB stick.

I have tried two different USB sticks without luck. I am ready to add any additional information to nail that bug.

I have USB 3.2 type A port on my computer and Kingstone DTSE9 16 GB USB 2.0 stick.

Activity

changed the title [-]Media Writer produces USB-image with FAIL media check[/-] [+]Media Writer produces USB stick with FAIL media check[/+] on Nov 11, 2023
eshfield

eshfield commented on Nov 11, 2023

@eshfield
Author

Here is an another mention of that problem, posted 8 months ago:
https://www.reddit.com/r/Fedora/comments/11r7gi8/fedora_media_check_fails_at_48_every_time_during/

Fun fact — if I choose a non-default option to run Fedora Live without media check then it does run successfully.

eshfield

eshfield commented on Nov 12, 2023

@eshfield
Author

I verified the ISO file downloaded by Media Writer with this commands in my WSL2:

curl -O https://fedoraproject.org/fedora.gpg
gpgv --keyring ./fedora.gpg Fedora-Workstation-39-1.5-x86_64-CHECKSUM
sha256sum -c Fedora-Workstation-39-1.5-x86_64-CHECKSUM

The output says:

Fedora-Workstation-Live-x86_64-39-1.5.iso: OK
sha256sum: WARNING: 19 lines are improperly formatted

Could these improperly formatted lines be the problem?

EDITED: The answer is no — manually downloaded with Google Chrome ISO from the official site has the same 19 improperly formatted lines.

bwenrich

bwenrich commented on Jan 8, 2024

@bwenrich

I am also getting the same failure in the media check after booting the USB made with Fedora Media Writer. The failure happens at the same point as you mentioned - 4.8%

My environment:

  • Windows 10 Pro (x64, 22H2)
  • Fedora Media Writer 5.0.6
  • generic 16GB USB 2.0 drive
  • ISO Fedora-Silverblue-ostree-x86_64-39-1.5.iso
  • ISO sha256sum confirmed OK

Similar reports of the issue:

eshfield

eshfield commented on Jan 8, 2024

@eshfield
Author

A workaround I used is to download an ISO file manually and use Rufus to create a bootable USB stick.

Espionage724

Espionage724 commented on Jan 20, 2024

@Espionage724

I've had a failed media check when using the 5.0.9 win64 release with either F38 or F39 workstation (downloaded through Firefox). It was the only time I tried that release and its possible my media check failure could have happened from something unrelated, but I've used and continue using the latest dev/pre-release version (Oct 25, 2023) without issue and haven't seen any failed checks, including a few hours ago today with F39 Workstation. I recently replaced bad RAM and can't rule that out as a reason for the bad media write.

I flash downloaded images from Firefox or aria2c with MediaWriter on Windows 10 LTSC 21H2 to a 1TB external HDD and Indexing disabled (removed the whole Search service). I never tried downloading an image from MediaWriter itself.

Update: I've been using Etcher for a while now on Windows and have had zero bad media checks with many F40 image writes; it's what I use for everything needing a dd'd image on Windows now.

farchord

farchord commented on Mar 13, 2024

@farchord
Contributor

Right mine's also failing, but only using the Windows version (Latest)

farchord

farchord commented on Mar 14, 2024

@farchord
Contributor

Backlink to the fedora bug (Proposed as a release blocker): https://bugzilla.redhat.com/show_bug.cgi?id=2269373

Buggem

Buggem commented on Apr 14, 2024

@Buggem

Mine also failed on 4.8% exactly... I also got the same "failed to start" message. I just download the ISO and used dd to copy it to my USB Stick.

kparal

kparal commented on Sep 13, 2024

@kparal

This sometimes happens even outside of Windows, but might be seen the most there. A common issue description is here:
https://discussion.fedoraproject.org/t/install-media-sometimes-fail-media-check-at-4-8/108478

sbagneris

sbagneris commented on Feb 11, 2025

@sbagneris

This is not unique to media writer or Windows. I have produced USB stick with Balena Etcher on both macOS and windows and I have the same issue. ISO file checksum OK.

Buggem

Buggem commented on Feb 11, 2025

@Buggem

This is not unique to media writer or Windows. I have produced USB stick with Balena Etcher on both macOS and windows and I have the same issue. ISO file checksum OK.

Just a bad USB, but failing on 4.8% on two instances can't be a coincidence.

sbagneris

sbagneris commented on Feb 12, 2025

@sbagneris

Thanks for the thumbs down and assuming I didn't do my homework. And nope, 3 different USB sticks and portable USB HDD on two different machines and same 4.8% failure in all instances. It's most definitely not a "bad USB stick". Yes, again, ISO checksums OK in all instances.

30 remaining items

kparal

kparal commented on Oct 30, 2025

@kparal

Congratulations on killing the readability of this issue. @grulja you might want to take some action, like hiding all the recent comments, or similar.

Please file different problems as separate tickets. This one is strictly related to the 4.8% verification fail issue. All other conversation should be elsewhere.

RokeJulianLockhart

RokeJulianLockhart commented on Oct 30, 2025

@RokeJulianLockhart
sbagneris

sbagneris commented on Oct 30, 2025

@sbagneris

#669 (comment)

This issue is not limited to media creation under Windows. See my earlier comments.

RokeJulianLockhart

RokeJulianLockhart commented on Oct 30, 2025

@RokeJulianLockhart

@sbagneris, do you know what version of Balena Etcher reproduced this? The sole corroboration I see of this is at r/NobaraProject/comments/1334kr9, 1 unless forums.balena.io/t/36537/80 also refers to the same. If not, you might assist if you report this issue to Balena's GitHub, too. Perhaps, both packages utilise a problematic library.

Footnotes

  1. !J34LA0x0TwnjZlQICcF1NZEif2wahq9xXjrvBLLQn6Y:reddit.com/event/$895mU003BUyec6j5Ny0ByIxj1z1R6cUsqnsT0FU8Ju0

sbagneris

sbagneris commented on Oct 30, 2025

@sbagneris

I downloaded the latest version of balena etcher for x64 linux (2.1.4) along with the latest fedora 43 iso and burned the lot on my arch whatever laptop. Booted the USB and same error at 4.8% validation. The issue is agnostic of OS or image writer.

RokeJulianLockhart

RokeJulianLockhart commented on Oct 30, 2025

@RokeJulianLockhart
sbagneris

sbagneris commented on Oct 30, 2025

@sbagneris

Unlikely hardware. I have attempted this accross half a dozen USB sticks and a few external HDD's on various target machine and the result is the same in every case: failure at 4.8%.

Just for kicks I wrote the iso to USB with dd. No fancy tool here. Same result. Failure at 4.8%. If you want I'll drag a DVD burner and do it like it's 2004 and burn it on a coaster but I suspect the outcome like in every case is going to be the exact same.

It's not Windows, it's not Balena, it's not the phase of the moon or the size of your left shoe. Something is fundamentally wrong with either the way the iso are created or the piece of code that does the checking.

GabrielMGitHub

GabrielMGitHub commented on Oct 30, 2025

@GabrielMGitHub

Unlikely hardware. I have attempted this accross half a dozen USB sticks and a few external HDD's on various target machine and the result is the same in every case: failure at 4.8%.

Just for kicks I wrote the iso to USB with dd. No fancy tool here. Same result. Failure at 4.8%. If you want I'll drag a DVD burner and do it like it's 2004 and burn it on a coaster but I suspect the outcome like in every case is going to be the exact same.

It's not Windows, it's not Balena, it's not the phase of the moon or the size of your left shoe. Something is fundamentally wrong with either the way the iso are created or the piece of code that does the checking.

Either Balena used part of the Fedora application code and carried over the bugs (I'm skeptical about that) or the problem is actually with the way the Fedora ISO is built. I've never had this problem with ISOs from other distributions! I vote for the problem being that the Fedora ISO is poorly constructed!

RokeJulianLockhart

RokeJulianLockhart commented on Oct 30, 2025

@RokeJulianLockhart

@GabrielMGitHub, that'd make sense. Where would one report a bug with the ISO creation process? It's not Media Writer's purview, since the ISOs are merely downloaded via it, and are available elsewhere.

GabrielMGitHub

GabrielMGitHub commented on Oct 30, 2025

@GabrielMGitHub

@GabrielMGitHub, that'd make sense. Where would one report a bug with the ISO creation process? It's not Media Writer's purview, since the ISOs are merely downloaded via it, and are available elsewhere.

Whenever I tried to download an ISO using Fedora Media Writer, I encountered problems. Now I go to the Fedora website and download the ISO directly, then I verify the SHA256 checksum. Only after that do I use Fedora Media Writer to write the image.

The problem should first be reported as if the issue were with Fedora Media Writer; the developers should verify and conduct their test cases, conclude that the problem is with the ISO, and then report it to the Fedora team. This is not the job of the end users.

If the problem occurs when using Fedora Media Writer, the user cannot independently determine whether the problem lies with the ISO file or not, or whether it's definitely a problem with Fedora Media Writer. The user reports what they see; they don't have the power to guess.

I have a degree in computer science, and one of my postgraduate degrees is in Software Project Management. Your way of thinking is completely wrong!

Does the Fedora Media Writer tool generate logs? If so, please provide the path for users to attach this data. If possible, create a test routine that the user can perform using the tool and then report the output of this test. If the tool does not generate logs, and there is no way to perform practical tests, I believe the tool needs to be rewritten or discontinued due to its inefficiency in generating debug triggers.

Why don't you create a question with the team that develops the Fedora ISO creation tool and include a link to this discussion or other existing ones as a reference? This way, they will be aware of the issue and could work together. This responsibility should not be in the hands of the end user, but of the Fedora Media Writer developers.

My words here are not intended to offend anyone, but merely to bring reality to the table in the interest of reaching a conclusion and, based on that, identifying the root cause of the problem.

RokeJulianLockhart

RokeJulianLockhart commented on Oct 30, 2025

@RokeJulianLockhart

Whenever I tried to download an ISO using Fedora Media Writer, I encountered problems. Now I go to the Fedora website and download the ISO directly, then I verify the SHA256 checksum. Only after that do I use Fedora Media Writer to write the image.

@GabrielMGitHub, so it solely occurs with ISOs downloaded via FMW? @sbagneris, is that what you did when you tested Balena; downloaded the ISO via FMW, then wrote it with Balena? If not, this information appears contradictory, hence my confusion.

I have a degree in computer science, and one of my postgraduate degrees is in Software Project Management. Your way of thinking is completely wrong!

I don't know what you're referring to, nor why you informed, presumably me, of this.

GabrielMGitHub

GabrielMGitHub commented on Oct 30, 2025

@GabrielMGitHub
david-ct

david-ct commented on Oct 30, 2025

@david-ct

Thank you to everyone for the detailed testing. The evidence that multiple tools (Balena Etcher, dd, Fedora Media Writer) and different operating systems all fail consistently at the 4.8% validation point strongly suggests the issue lies either in:

  • The Fedora ISO file structure/creation process itself.

  • A common validation library used by these tools.

Since the problem is agnostic to the writing tool, reporting this to the Fedora ISO or QA team is the highest-leverage next step, as they control the source file.

@RokeJulianLockhart, would you be willing to search for the official Fedora bug reporting channel for ISO/QA issues so we can move this from discussion to official action?

locked as off topic and limited conversation to collaborators on Oct 30, 2025
grulja

grulja commented on Oct 30, 2025

@grulja
Collaborator

I'm going to lock the conversation now as it's not going anywhere. The issue here is caused by Windows auto-mounting the device after we write an image to it and modifies the content, creating some files on the device, making it to later fail the checksum. I'm planning to look into this to see whether there is anything we can do about it, but it is certainly not an issue in the Fedora images or any other library used for the validation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @drguildo@sbagneris@kparal@grulja@farchord

        Issue actions