Flash format is an activity that aims to empty the files stored in it. This method is done for various reasons such as want to copy new files, remove the virus, and others.
Flash format in Linux is not much different from the format of flash in Windows. It’s just that there are various ways of formatting that you can do. You can use your own way depending on your understanding of which is easy.
In this discussion I will use two of the most common and easy to use to format the flash in Linux, that is how to format the flash manually and through the terminal. The type of Linux that I use here is Ubuntu 16.04 desktop version.
How to Format Flashdisk in Ubuntu Linux
1. Manual Flashdisk Format
How to format the flash manually here I use is the most frequently used by the user. The steps are as follows.
1. Open your file explorer or directory. Click on the flash you want formatted for if your flasdisk is read, what is it, and are you sure to format it.
2. After that, right click on your flash device as pointed at the picture. Click Format to empty your flash.
3. Next there are the options (Erase, Type, and Format) that you can customize to your needs on this Volume Format. You can follow the default selections as shown.
In the Erase section I select ‘Dont overwrite existing data (Quick)’. This option makes the formatting process much faster.
For Type here I choose FAT format but you can choose another like NTFS.
Then, write a new name for your flash device in the Name field.
Next, click the Format button.
4. After that, a confirmation will appear again to convince you to format the correct flash. At this stage will be displayed type of your flash device as indicated by the arrows in the picture. The flash that I format is branded hp and 16GB capacity. Click the Format button to start the process of formatting the flash.
5. Format your flash has been successful. You can check it by reopening your flashdisk directory and see that the flash is empty.
2. Format flash through Terminal
In addition to manually, you can format the flash through the terminal. How to? Follow the steps below.
1. First, you can check the contents of your flash first to make sure you format it. Here, my flash name is My FD.
2. Open your terminal. You can use the shortcut by pressing Ctrl + Alt + T on the keyboard. Type command:
sudo fdisk -l
The above command aims to know the address of your flash. The command uses the word sudo, where the terminal will ask for your input password first. Enter your password, then the terminal will show the device specifications installed on your computer.
The connected device that is the flash that we will format. You can make sure the device is your flash by observing its Size. In the example picture above is written 15.1 G, means that the flash that will format me loaded as much as 15.1 GB. Then, remember the address. The address is listed in the Device field, where in the above picture it says / dev / sdb1.
3. Next, use the flash address we have previously known to run the umount command. This command aims to release the pendrive is related. Flashdisk that is related you can see in the file explorer where the name of the flash there are arrow keys like the image below.
Use the command below to remove your flash.
sudo umount / dev / sdb1
4. Next, you can type the command like below to format the flash.
sudo mkfs.vfat / dev / sdb1
In the command there is the word ‘vfat’ where FAT states the format of the flash after it is formatted. You can replace it with ntfs, hfs, ext2, ext3, ext4, and others based on your needs such mcfol.
5. Finally, your flash is successfully formatted. To check it please open your explorer file and prove your flash is empty.
Before formatting the flash, make sure no important files will be deleted. Back up previous data if you are worried about losing your files. That’s how to format flashdisk on Linux Ubuntu with ease. Please respond to the comment field below. thanks.