0

My USB was corrupted when I tried to format it on windows to put a bootable Ubuntu on it.

I tried to format it on Windows it failed. I tried on Ubuntu with disk utility but it failed, so I tried with GParted. It said there was no partition table, and failed to create it because the media was not found. The usb was on /dev/sdb but everytime I tried to write to it, it would fail and disappear fom /dev/sdb.

I tried to clean it with dd if=/dev/zero of=/dev/sdb but now I can't find it with lsblk or GParted.

I can still find it with disk utility, there is a Drive on /dev/sdb but under volume it says "No media"

I can find it with ls /dev/disk/by-id/usb-Specific_STORAGE_DEVICE-0\:0.

However I can't format it, I tried sudo fdisk /dev/disk/by-id/usb-Specific_STORAGE_DEVICE-0\:0 but it says

fdisk: cannot open /dev/disk/by-id/usb-Specific_STORAGE_DEVICE-0:0: No medium found  

How can I fix that USB and format it correctly ?

0 Answers0