FedoraQt / MediaWriter

Fedora Media Writer - Write Fedora Images to Portable Media
GNU General Public License v2.0
735 stars 157 forks source link

Unable to write CentOS 8 iso to USB stick in Windows 10 Pro #346

Open SomervilleTom opened 3 years ago

SomervilleTom commented 3 years ago

Fedora Media Writer fails while attempting to create a bootable USB3 stick for the Centos 8 standard DVD iso (about 8G).

fedora_media_writer_failure

The same tool writes the Rocky Linux 8.4 DVD ISO to the same stick with no issues -- this is therefore related to the ISO being written. I've replicated this failure on two different Windows 10 Pro systems on two new identical USB sticks.

I've turned off the various real-time protection tools in each Windows system, and that makes no difference.

I see no mechanism to learn anything more about what is causing the error -- "Your drive is probably damaged" doesn't provide much information. FWIW, I'm able to copy the entire 8GB ISO to the same stick while the stick is formatted as an ntsf volume. The various microsoft testing tools say that the stick is fine.

Contrary to the documentation here, I see no evidence that Fedora Media Writer created any log files at all. I've looked in all the usual places and see none.

I'm in a Catch-22 here -- it appears that I can only create a bootable USB3 stick from a Linux system, and I can only get a Linux system by creating a bootable USB3 stick from Windows. I thought Fedora Media Writer was the answer -- it seems not.

I've tried doing the same with Rufus, and that also failed at the end of its attempt to copy the ISO to the stick.

I appreciate any guidance this community can offer. If nothing else, if Fedora Media Writer could drop SOME sort of error log somewhere, it might help identify the issue.

SomervilleTom commented 3 years ago

I've just confirmed that the same failure occurs using a 256GB USB3 stick from a different supplier.

Fedora Media Writer is unable to create bootable USB media containing the CentOS 8 DVD iso on Windows 10 Pro. That's the bottom line.

grulja commented 3 years ago

Thank you for your report. I will try to look into the issue soon.

SomervilleTom commented 3 years ago

@grulja: I appreciate your attention.

Yesterday I confirmed that the DVD iso I was trying to store on the stick was itself corrupted. I ran sha256sum on it, and the result didn't match the published sha256. I downloaded a new copy of the iso, verified it, and then tried again with Fedora Media Writer. With the verified DVD iso, it worked just fine.

So this is actually a feature of Fedora Media Writer -- it apparently auto-detects corrupted source files. :)

More seriously, perhaps it is the complaint itself from Fedora Media Writer that sent me in the wrong direction. Perhaps a complaint along the lines of "Validation of the stored file failed. Verify the integrity of the original file and media"

grulja commented 3 years ago

Good to know, I'll see whether we can further improve this situation and give users more information about failures.