balena-io / etcher

Flash OS images to SD cards & USB drives, safely and easily.
https://etcher.io/
Apache License 2.0
29.99k stars 2.12k forks source link

The writer process ended unexpectedly. #2865

Closed ghost closed 5 years ago

ghost commented 5 years ago
ghost commented 5 years ago

I have an update. I had previously installed Fedora on the USB drive using Fedora Media Writer 4.1.4-1.fc30, and found that I could not manipulate the USB drive in Windows's Disk Management console (formatting partitions would fail), in addition to Etcher. I opened the USB drive in Fedora Media Writer to see if that could still write the USB drive from that app, and found that FMW displayed a popup with an option to "Restore" the USB drive and remove the Fedora live image I had written previously. After letting FMW restore the USB drive, Etcher worked flawlessly.

The error reported by Disk Management console was Cannot zero sectors on disk \\?\PhysicalDrive1. Error code: 5@0101000F

thundron commented 5 years ago

Thank you for your report and investigation, from the logs it looks like there was an issue with the diskpart command; the reason is probably because of some sectors not being healthy, as you found out.