Pre Info 1
locating usb drive
Remove the USB
The USB partition should be removed than. As the remainder of this tutorial,
we'll assume that the device's name is /dev/sdb and that its disc partition
is /dev/sdb1.
sudo umount /dev/sdb1
With the umount command, the device is unmounted. Now that you're ready,
format the USB.
Format the USB Drive
By dismounting the device, you can continue to format it with a new file
system. Make cautious to backup any crucial files because you will lose
access to them after completing this step.
sudo mkfs.vfat -F 32 /dev/sdb1
With the aforementioned command, you can format your USB drive using the
popular FAT32 file system. However, you can choose an alternative file system
like NTFS or exFAT.
format usb drive
To give your gadget a name, use the -n option.
sudo mkfs.vfat -F 32 -n 'live-usb' /dev/sdb1
available devices by discs
A list of all available storage devices, including HDDs and USBs, will be
provided by discs. Connect your USB if you haven't previously, then look for
the drive in the list of linked devices. Click on the USB to choose it.
Format the USB Drive
After selecting the appropriate device, you can start formatting. Selecting
the Gear icon in the bottom menu will bring up the Format Partition option.
format appropriate usb drive
The dialogue box that displays allows you to name the USB drive, select the
partition type, and erase any previously saved data. The best partition type
is FAT since it works with all devices and operating systems. You can select
any alternative type if you'd like.
name usb drive and details
Next, move on to the prompt that displays a data loss warning by clicking
Next. To finish formatting your USB in Linux, click Format.
finish formatting usb in linux
You can replace Discs with the KDE Partition Manager program if you're using
KDE rather than GNOME. There shouldn't be any problems because the steps are
quite identical.
start gparted
Locate the USB Drive
You must choose your unique USB from the top-right option once it has
started. Select the desired device by clicking on the disc icon. The
/dev/sdb device utilized earlier is used in the subsequent example.
dev sdb device
Format the USB Drive
Right-click on the partition table and choose Format to after choosing the
USB drive. Select fat32 as your partition type, or any other type you
prefer. Now that GParted is open, your USB can be formatted with the chosen
file system. There will be a prompt at the bottom informing you that an
operation is about to take place.
partition of usb drive
Now all you have to do is click the green checkmark icon in the top menu,
and a confirmation box will appear. For the USB to be formatted, click
Apply.
usb formatted
Your USB will be formatted in a matter of seconds. GParted will show you a
progress meter to let you know how the operation is going.
Learn More
You can follow these article too for more such operations in Linux. [link]