Creating a file system on a thumb drive

opensuse Leap 15.2 - KDE

I just know this is going to create a “DUH” moment for me, but here goes:

I have a USB thumb drive that I used to create a bootable drive for installation of Leap. Now, of course, I don’t need that data anymore but I cannot figure out how the wipe it and write a fat file system to it.

Bart

Hi
Use YaST Partitioner, just don’t set a mount point? Or from the command line;


su -
lsblk {to identify device}
wipefs -a /dev/sdX2
wipefs -a /dev/sdX1
wipefs -a /dev/sdX
gdisk /dev/sdX
n
1
etc as per on screen instructions
w
mkfs.vfat /dev/sdX1
exit

Got it! Thanks!

Bart