Formatting a flash drive in Linux

The vast majority of users use the Windows operating system on their computers. However, do not forget about other operating systems that can be an excellent alternative to Windows. One of these operating systems is, of course, Linux. A free OS with many features and benefits. Of course, in many respects it differs from the usual Windows and many things will have to learn again. Formatting USB drives is something unknown to inexperienced Linux users. This article will take a detailed look at how to format a USB flash drive in Linux. Let's figure it out. Go!

This can be done in several ways. All of them equally solve the task, so you just have to choose the most suitable for you.

How to format a USB-drive in Linux OS - in our new article

The first option is to format the USB drive manually. To do this, go to the command line mode and set the command:

# dmesg | tail

This will help to know the name of the flash drive. It will be shown in square brackets. Next, if you want to format in the FAT32 file system, enter the command:

$ sudo mkfs.vfat / dev / media_name

Do not forget to specify the name of the carrier.

Or for formatting in the NTFS file system:

$ sudo mkfs.ntfs / dev / media_name

The second option. If you have Ubuntu installed, you can use the built-in utility called Palimpsest. It is extremely easy to use. First run Palimpsest, then select the USB flash drive, select the necessary file system, enter the name and click on the "Format" button. Very easy and fast. If suddenly this utility is missing on your computer, register the command to install it:

sudo apt-get install palimpsest

The third way is even simpler than the previous one. To do this you need the Gparted utility. All you need is to open the program, select the USB flash drive, then click on it with the right mouse button and specify the desired file system in the "Format to" item. If Gparted is also missing on your PC, run the command to install it:

sudo apt-get install gparted

As you can see, this problem is solved very simply and quickly. Even an inexperienced user can easily cope with this.

Now you know how formatting a flash drive in Linux. Write in the comments, did you manage to solve the task, share your own experience with other users and ask everything that interests you on the topic of this article.