FedoraQt / MediaWriter

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

Windows 10, flash drive is not writable #96

Open pwl4909 opened 7 years ago

pwl4909 commented 7 years ago

Hello,

The following error was given for two different flash drives. Using the preset Fedora Workstation, and then a custom image using the downloaded iso. The drives were also set back to factory default using Fedora Media Writer several times.

Thank you for any help.

image

pwl4909 commented 7 years ago

The drive becomes undetected, so I can no longer view what is inside. After plugging back in FMW recognizes the drive as already having a live partition on it. At this point I restored to factory default and tried again. I am wondering if the live partition was successful and ran into a snag at the end.

Would there be a safe way to verify the flash drive? would there be any risk in trying to boot from the flash drive?

On Wed, Jul 12, 2017 at 5:17 AM, squimrel notifications@github.com wrote:

Only the "Access is denied." error is relevant.

I'd guess that either:

  • you don't have permission.
  • another program already uses the disk.
  • diskpart holds on to the disk for longer than expected.
  • Windows does something else that's weird.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MartinBriza/MediaWriter/issues/96#issuecomment-314704935, or mute the thread https://github.com/notifications/unsubscribe-auth/AF8_yI2EgahLMRDJRaaq05pcHrrS_ZVNks5sNI8hgaJpZM4OVB5F .

squimrel commented 7 years ago

It breaks most likely just after it "cleaned" the drive and before anything gets written to it. From Windows you can not manually verify the drive but it's definitely broken anyways. There's no risk in trying to boot from the flash drive.

Only the "Access is denied." error is relevant. (The error handling is messed up after that point that's why you get multiple errors.)

I'd guess that either:

  • you don't have permission.
  • another program already uses the disk.
  • diskpart holds on to the disk for longer than expected.
  • Windows does something else that's weird.

Generic Windows debugging as always:

mihawk90 commented 7 years ago

This seems to be a bigger issue. Rufus has the same issue when writing in ISO mode. Writing the ISO Image in DD Mode did work perfectly fine though. So this seems to be an issue with how Windows 10 handles things differently.

squimrel commented 7 years ago

What exactly do you suspect to be the issue?

What's DD and ISO mode? How Windows 10 handles what differently?

MartinBriza commented 7 years ago

That's strange because FMW basically uses a DD-like approach to writing the iso to the flash drive. Are you sure the drive is alright? That means, can you use it as a regular flash drive, write and then read data successfully to/from it?

pwl4909 commented 7 years ago

Yes I can access the drive normally, I have also attempted this with a different flash drive with the same result and the flash drives are different as in not the same brand.

Additionally I have tried this on a different windows 10 computer with the same result.

On Jul 14, 2017 9:16 AM, "Martin Bříza" notifications@github.com wrote:

That's strange because FMW basically uses a DD-like approach to writing the iso to the flash drive. Are you sure the drive is alright? That means, can you use it as a regular flash drive, write and then read data successfully to/from it?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MartinBriza/MediaWriter/issues/96#issuecomment-315356871, or mute the thread https://github.com/notifications/unsubscribe-auth/AF8_yHHP97myKvH8nvYfaasgCmjC-hKQks5sN2oUgaJpZM4OVB5F .

darrenbarklie commented 7 years ago

+1 for this exact same problem.

Win 10 setup that I previously managed to successfully installed F25 without a hitch. Attempting to clean install F26 and I hit the above issues, with multiple USB drives, fresh installs of the MediaWriter and generic Windows debugging precautions. No FedoraMediaWriter.log is produced.

tsssystems commented 7 years ago

Same issues with both a 64GB corsair originally formatted as ExFAT and a 2GB giveaway drive originally formatted as FAT32. In both cases after FMW fails the drive shows up in W10 disk management as "unallocated". Reformatting makes the flash drive usable again by everything (except FMW).

Will just download the 64bit ISO and burn it to DVD...

mihawk90 commented 7 years ago

What exactly do you suspect to be the issue?

Honestly, no idea. Just pointing out that it doesn't seem to be MediaWriter itself, but something underneath? I haven't looked at any code so really no idea, just thought that pointing a direction might help :)

Are you sure the drive is alright?

Brand new drive fresh out the box, never been formatted before. And after I tried and failed with MediaWriter it worked fine with Rufus, at least the writing, I didn't get the time to try the booting part yet.

pwl4909 commented 7 years ago

I was able to install Ubuntu properly from the flash drive, I plan on trying FMW this weekend with the previous version of Fedora to further isolate the issue. If no luck with that attept it from ubuntu.

On Jul 25, 2017 6:33 PM, "Tarulia" notifications@github.com wrote:

What exactly do you suspect to be the issue?

Honestly, no idea. Just pointing out that it doesn't seem to be MediaWriter itself, but something underneath? I haven't looked at any code so really no idea, just thought that pointing a direction might help :)

Are you sure the drive is alright?

Brand new drive fresh out the box, never been formatted before. And after I tried and failed with MediaWriter it worked fine with Rufus, at least the writing, I didn't get the time to try the booting part yet.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MartinBriza/MediaWriter/issues/96#issuecomment-317892517, or mute the thread https://github.com/notifications/unsubscribe-auth/AF8_yPUDH_KiZVmPJ9Hk8ziH0w1PoGjPks5sRm0hgaJpZM4OVB5F .

pwl4909 commented 7 years ago

I was able to successfully install Fedora 25, using FMW onto the same 4GB flash drive that was giving me issues with 26 on Windows 10. I would have to think that means something with 26 is messing things up. I admittedly have limited knowledge of what is going on under the hood here.

kaiyoma commented 6 years ago

I'm getting a very similar error on Windows 10:

error

At this point, my USB drive doesn't show up in Windows Explorer anymore (but it does show up in Disk Management). I've tried every combination of ejecting and unmounting and restoring, but I always get this error. If I restart the program with this drive plugged in, it seems to recognize the fact that the drive has already been written:

message

Junaid94 commented 6 years ago

So all I did was to turn off my Real-Time Protection. Settings -> Update & Security -> Windows Defender -> Open Windows Defender Security Center -> Virus & Threat Protection -> Virus & Threat Protection Settings -> Real-Time Protection. And it worked for me, it started writing the iso to the usb.

utebehemoth commented 5 years ago

So all I did was to turn off my Real-Time Protection. Settings -> Update & Security -> Windows Defender -> Open Windows Defender Security Center -> Virus & Threat Protection -> Virus & Threat Protection Settings -> Real-Time Protection. And it worked for me, it started writing the iso to the usb.

This worked for me as well. Thanks for the suggestion.

aarondoet commented 4 years ago

I'd be interested in a way to get my USB drive working again. Deleting/creating new partitions does not help, I can't format the usb drive or give it a drive letter. Nothing I tried was working. I ended trying Etcher to flash the image on the usb drive and the two drives I tried to use with Media Writer could not be written to by Etcher either, but a third one was working perfectly fine. Now I have no clue how to get the two usb drives working again...

sbhattarai5 commented 3 years ago

For making my usb work again, I used a third party app called MiniTool partition. I cleaned the disk with the app and initialize with GPT option. It was working again. I'm not sure why I'm getting error for installing linux using fedora media writer.

maxmod commented 3 years ago

When i stuck used format usb to clean all partition than fedoraqt work here the utility for windows - Link redacted by @MartinBriza because the project is really sketchy and was linked to via a bit.ly link.

ljr55555 commented 2 years ago

The solution provided by Junaid94 above worked for me as well -- Windows 10 w. latest patches, latest FMC, and Fedora 36 ISO is finally on my removable disk!

So all I did was to turn off my Real-Time Protection. Settings -> Update & Security -> Windows Defender -> Open Windows Defender Security Center -> Virus & Threat Protection -> Virus & Threat Protection Settings -> Real-Time Protection. And it worked for me, it started writing the iso to the usb.

escalonn commented 1 year ago

this problem is affecting me, on windows 10. the indicated fix does not change the results. rufus is giving write-protection errors i haven't diagnosed so it's possible it's some kind of partial hardware failure.

greenrd commented 6 months ago

Rebooting and running Media Writer as Administrator worked for me. Not sure which part was the important part.