#HOW TO FORMAT USB DRIVE WINDOWS 10 WITH CMD KEYGEN#
In this tutorial, you have learned to format USB drive on Linux system via command line interface.Įsta entrada fue publicada en Comandos, Consola, Linux, Terminal y etiquetada df, formar, mkfs, mount, umount por. According to the list disk information, check which disk is your USB flash drive.
Step 3: Type list disk and press 'Enter'. If at some point you are not sure about the disk number, stop proceeding. Similarly, you can format USB Flash drive with any required file system. Step 2: On the Command Prompt window, type diskpart and press 'Enter'. You might overwrite any hard disk on the computer. To format a USB drive, most of the users prefer VFAT and NTFS file systems because they can be easily used on the Windows operating system.įormat with vFat File System sudo mkfs.vfat /dev/sdc1įormat with NTFS File System sudo mkfs.ntfs /dev/sdc1įormat with EXT4 File System sudo mkfs.ext4 /dev/sdc1 Now, Use one of the following commands as per the file system you want. So first un-mount /dev/sdc1 USB drive on your system. We can not format any disk on Linux systems which are already mounted. Whenever we attach a USB drive in Ubuntu, it automatically mounted to the system. Now, You can see that the USD drive is attached as /dev/sdc1 device. Then,type diskpart and press enter to launch the program. dev/sdc1 14.8G 1.4G 13.4G 10% /media/tecadmin Open the command prompt by typing cmd at the search box, right-click the program and select Run as Administrator. df -hįilesystem Size Used Avail Use% Mounted on This is the step you need to take care, because you may format the wrong disk if not correctly identify your disk. Insert a USB drive into your system and identify your USB drive correctly. This tutorial will help Ubuntu (Linux) users with the simple steps of USB flash drive formatting via command line. Some of the Ubuntu users are not familiar with terminal commands. Formatting a USB drive in Ubuntu using Terminal commands is much easier as formatting it in Windows systems.