Problem Description:
i used Balena etcher to make a bootable thumbdrive, and now i can’t re-format it because it says its write protected. can anyone tell me how to put the drive back into a state where i am able to re-format to use it for something else?
Make sure you select the correct drive and then first unmount it then from the gear icon you should have an option to Format Partition.
Unless you really need the USB stick, it is always a good idea to have a spare bootable one around in case you ever need it to boot the computer and perform repairs or the like.
This usually happens after flashing a Linux ISO with tools like Etcher. The drive isn’t actually write-protected - it’s using an ISO9660 filesystem, which is read-only by design.
Because of that, normal formatting tools often fail or only try to format a single partition while leaving the original layout intact.
Using GNOME Disks is a good suggestion, but you you need to recreate the entire partition table, not just format a partition.
The proper fix is to completely wipe the existing signatures and start fresh. For example on Linux:
sudo wipefs -all /dev/sdX
(Replace /dev/sdX with your actual USB device (you can identify it using lsblk — look for the correct size and removable drive)
After that, create a new partition table (MBR or GPT) and format it normally (e.g. FAT32). Tools like GNOME Disks, GParted, or fdisk can do this.
If wiping fails and the device is still read-only at the block level, then it may be a hardware issue (some USB controllers lock themselves to read-only when they start failing).
If still have Windows you may be able to write a new MBR and blow the partition out, then setup. As others have said gparted should be able to sort it for you. You could also use dd in a terminal to zero out the USB file system
How to create a partition table, partitions and file systems
In Ubuntu you can use several tools for this purpose, to create a partition table, partitions and file systems, tools that understand what needs to be done. Some tools are easier are safer to use. I would recommend tools that provide a final checkpoint, where you can make sure that you are targeting the correct device (to reduce the risk of destroying valuable data on some other device).
GNOME Disks is already mentioned in previous answers.
Gparted has also been mentioned. It has a good graphical user interface.
mkusb is a tool, that I created in order to manage USB devices (making USB drives bootable (to run live systems, persistent live systems and to install Ubuntu or other operating systems) and restoring the USB devices to data devices).
If you cannot or don’t want to use the ppa contents, you can install components of mkusb via a tarball from github: click on the green button and download a zip file, extract its content, extract the content from one or more tarballs …
If it still does not work, you can analyze the problem according to this link and if you are lucky, find a solution.
Your device seems to still be mounted (used by the system), you need to unmount it first or alternatively use the –force option additionally to –all in your wipefs command
I guess this is the wrong forum for questions on Windows. But did you try plugging the thumbdrive in while running Windows? Maybe Windows CLI tool diskpart is of some help.
yes, I know , not the right place for windows questions.
But, I was trying to use linux to resolve the problem, and didn’t want to start another discussion for the ongoing issue I’m experiencing with this current USB drive.
I will try using diskpart, and see if I have any luck with it.