You are not logged in.

#1 2023-06-12 21:14:26

nolooper
Member
Registered: 2023-06-12
Posts: 2

how to wipe flashed usb

the usb is read only or write protected or something cant remember
i used this usb for flahing iso's using balena and i want to wipe/format everything in the usb(including its contents)
i do not care about any data stored on the usb but i want it to be a usable storage usb where i can save data

Offline

#2 2023-06-12 22:00:25

jonno2002
Member
Registered: 2016-11-21
Posts: 868

Re: how to wipe flashed usb

use one of these tools to repartition/reformat the drive.
https://wiki.archlinux.org/title/Partit … ning_tools

Offline

#3 2023-07-07 17:50:24

plma
Member
Registered: 2023-07-07
Posts: 11

Re: how to wipe flashed usb

You can use shred or dd with either:

 shred -vn 1 /dev/sdX 

or

 dd if=/dev/zero of=/dev/sdX 

Offline

Board footer

Powered by FluxBB