FedoraQt / MediaWriter

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

Fedora MediaWriter made usb drive unusable #626

Open DilanRona opened 1 year ago

DilanRona commented 1 year ago

As stated in the title, I used media writer to write Fedora Gaming to a USB. USB would not boot after I tried it, initial searching said the issue was most usb drives are formatted for NTFS, and not FAT32. So I inserted the stick into a windows machine the next day, getting ready to format the drive.

Drive is completely unusable now, and its a brand new usb that was never used before. Windows cannot detect a volume. So I tried Gnome-Disks, fdisk, parted, and diskpart on windows in an effort to fix the usb, and they all failed. Error messages in all cases boils down to a "no volume in selected disk". Cannot clear the disk, cannot create any partitions, nothing.

grulja commented 1 year ago

You should be able to recover your USB drive using Fedora Media Writer. It should detect there is a Fedora image on it and offer you to restore your drive. In order to recover your drive using other tools, I believe you will have to write a new partition table first.

DilanRona commented 1 year ago

Tried to recover it with media writer. Only options it showed is Download iso, and select iso. No option to restore or repair. Every other tool for Linux and Windows cannot detect any volume, and will not allow the creation of new volumes or partitions.

grulja commented 1 year ago

Try to write a yet another Fedora image on it and when going back to the main menu, there should be option to recover your drive. Where did you write your image? Was it on Windows or on Linux?

Try to use e.g. GParted and when selecting the drive, go to Device > Create Partition Table.

DilanRona commented 1 year ago

Image was written from Fedora 38. Mediawriter cannot pick up the usb at all, regardless how many times I tried. Verified that its in the dev directory, and it does show up as /dev/sdb in my case. But cannot select the usb from Mediawriter.

GParted doesnt list the drive either. When I start it from the command line, passing /dev/sdb it throws out an error, and will not go further.

grulja commented 1 year ago

I'm afraid that your drive is probably damaged, but I don't think FMW is responsible for that as on Linux we are writing the same way as you would do dd if=path/image_name.iso of=device command that is being used for years. I just tried to write a Fedora Games image on an USB drive and it works just fine, I can see an option to recover my drive in FMW.

What does sudo fdisk -l says?

grulja commented 1 year ago

Ping? Have you been able to recover your drive or not?

dbpodrasky commented 7 months ago

Same issue for me, on two different USB drives. FMW is a hot mess.