Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Unable to write ISO on Win11 #772

Closed
nathanieloffer opened this issue Nov 28, 2024 · 17 comments · Fixed by #773
Closed

Unable to write ISO on Win11 #772

nathanieloffer opened this issue Nov 28, 2024 · 17 comments · Fixed by #773

Comments

@nathanieloffer
Copy link

I downloaded and installed Fedora Writer, started it and pointed it to the already downloaded Fedora Workstation 41 iso. It had already selected my USB thumb drive so I started the process. Then it stopped with the following errors

By writing, you will lose all of the data on General UDisk (15.6 GB).
Selected: Fedora-Workstation-Live-x86_64-41-1.4.iso

Failed to remove partitions from the drive
Failed to write entire image. Total written: 0 byte(s) out of 2.29 GB
Failed to remove partitions from the drive
Failed to write entire image. Total written: 0 byte(s) out of 2.29 GB
Failed to remove partitions from the drive
Failed to write entire image. Total written: 0 byte(s) out of 2.29 GB

FedoraMediaWriter.log
FedoraMediaWriter-helper.log

@grulja
Copy link
Collaborator

grulja commented Nov 28, 2024

Does this happen all the time?

It looks like the main app doesn't have any issue using the WMI interface, but the helper process fails to use it and because of that automatically fails to run some actions. I will look into that.

@nathanieloffer
Copy link
Author

I've tried it several times. I've closed it down and restarted it. It's always the same.

@grulja
Copy link
Collaborator

grulja commented Nov 28, 2024

Let's see if #773 makes any change. There will be a Windows installer available to download here https://github.com/FedoraQt/MediaWriter/actions/runs/12072072243 in artifacts after the CI run is finished. Can you please test it?

@NiranjNinja16
Copy link

NiranjNinja16 commented Nov 28, 2024

@grulja , Tried the artifacts Windows installer in your shared link, but it didn't recognize the USB device at all.
image

Note: Tried with the properly working 5.2.0 and writing failure version 5.2.1 and my USB device is recognized.

@nathanieloffer
Copy link
Author

Let's see if #773 makes any change. There will be a Windows installer available to download here https://github.com/FedoraQt/MediaWriter/actions/runs/12072072243 in artifacts after the CI run is finished. Can you please test it?

This version of the application wasn't able to detect my USB drive

Screenshot 2024-11-29 045629

@PalladinRex
Copy link

PalladinRex commented Nov 28, 2024

I've been having this same issue with two different USB sticks. One of which is a 32GB stick that should not be having any issues like this, the other is a 128GB stick that I've used in the past for a windows launcher and I know it works.
I can download the ISO file easily enough, but I'm consistently getting the same error message:

This would be my first time trying to install or use a Linux system as a refugee from Windows, and I can't say that this has been a welcoming issue to run in to.

image

@fbitancurt
Copy link

I actually been having the same problem since yesterday and just now came across the issue here on the repo.

Also, this happend to me as well when trying out the new version:

Let's see if #773 makes any change. There will be a Windows installer available to download here https://github.com/FedoraQt/MediaWriter/actions/runs/12072072243 in artifacts after the CI run is finished. Can you please test it?

This version of the application wasn't able to detect my USB drive

Screenshot 2024-11-29 045629

@grulja
Copy link
Collaborator

grulja commented Nov 29, 2024

It looks this broke either with migration to Windows 2022 in the CI or to Qt 6.8. I can also reproduce now on a machine where it worked before. I assume when you download FedoraMediawriter 5.2.0 (not 5.2.1) then it works?

@nathanieloffer
Copy link
Author

Correct, I downgraded to version 5.2.0 and the image wrote to the drive without issue.

grulja added a commit that referenced this issue Nov 29, 2024
@grulja
Copy link
Collaborator

grulja commented Nov 29, 2024

The new fixed build from https://github.com/FedoraQt/MediaWriter/actions/runs/12081786560 now also works for me. Can you please also verify?

You have to download it from https://github.com/FedoraQt/MediaWriter/actions/runs/12081786560/attempts/1 as I triggered again failed MacOS job and the previous builds disappeared from the main page.

@grulja
Copy link
Collaborator

grulja commented Nov 29, 2024

I tested it in a VM and on an laptop with Windows 11 and it worked so I merged it now. I will make a new release with this fix.

@PalladinRex
Copy link

I tested it in a VM and on an laptop with Windows 11 and it worked so I merged it now. I will make a new release with this fix.

This would be very appreciated! I'm still new to both Linux and Github, and would appreciate a nice and easy "DOWNLOAD" button. :P :P :P
Thank you again @grulja for the hard work!

grulja added a commit that referenced this issue Nov 29, 2024
@grulja
Copy link
Collaborator

grulja commented Nov 29, 2024

I tested it in a VM and on an laptop with Windows 11 and it worked so I merged it now. I will make a new release with this fix.

This would be very appreciated! I'm still new to both Linux and Github, and would appreciate a nice and easy "DOWNLOAD" button. :P :P :P Thank you again @grulja for the hard work!

Here you go https://github.com/FedoraQt/MediaWriter/releases/tag/5.2.2.

@PalladinRex
Copy link

Still got the same issue. At least now Fedora Writer will also actually reformat my USB drive.
Does this have anything to do with the fact that I'm on Windows 10 and not 11? Fedora Writer is letting me download the ISO file fine (both 40 AND 41), but won't write them to the USB stick.

image

@grulja
Copy link
Collaborator

grulja commented Nov 29, 2024

Still got the same issue. At least now Fedora Writer will also actually reformat my USB drive. Does this have anything to do with the fact that I'm on Windows 10 and not 11? Fedora Writer is letting me download the ISO file fine (both 40 AND 41), but won't write them to the USB stick.

This is going to be a different issue. Can you try unplugging and plugging your USB drive again? Or maybe trying a different one?

@PalladinRex
Copy link

Still got the same issue. At least now Fedora Writer will also actually reformat my USB drive. Does this have anything to do with the fact that I'm on Windows 10 and not 11? Fedora Writer is letting me download the ISO file fine (both 40 AND 41), but won't write them to the USB stick.

This is going to be a different issue. Can you try unplugging and plugging your USB drive again? Or maybe trying a different one?

Tried this on two other USBs, including one that has never been used before. Same results.
Should I make this into a new issue?

@grulja
Copy link
Collaborator

grulja commented Nov 29, 2024

Still got the same issue. At least now Fedora Writer will also actually reformat my USB drive. Does this have anything to do with the fact that I'm on Windows 10 and not 11? Fedora Writer is letting me download the ISO file fine (both 40 AND 41), but won't write them to the USB stick.

This is going to be a different issue. Can you try unplugging and plugging your USB drive again? Or maybe trying a different one?

Tried this on two other USBs, including one that has never been used before. Same results. Should I make this into a new issue?

Yes, please. I will install Windows 10 to test this.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants