akpgateway.blogg.se

Linux how to format usb drive
Linux how to format usb drive









In the Gparted utility, right click on the USB partition you want to format and select Unmount option.ĥ. Before formatting the USB stick, you must first unplug it. To view the details of your USB drive, select it from the dropdown located in the upper right corner as shown in the following screenshot.Īfter you select the USB drive, you can see its details in the Gparted window.ĥ. When the utility starts, the hard disk partition / dev / sda is displayed by default. Enter your password and click Authenticate button.Ĥ. You will need to enter the root password for authentication, since only the root user can run the Gparted utility. Then, in the results, click the Gparted utility to open it.ģ. Run the Gparted utility by pressing the super-key on your keyboard and searching the search bar. Hit Y and then To come in to continue, after that Gparted will be installed on your system.Ģ. The system may offer a Yes / No option to continue the installation procedure. Run the following command in Terminal to install the Gparted utility: $ sudo apt-get install GParted In this tutorial, you have learned to format a USB drive on a Linux system via the command-line interface.1. Similarly, you can format a USB Flash drive with any required file system. Format with EXT4 File System sudo mkfs.ext4 /dev/sdc1.Format with NTFS File System sudo mkfs.ntfs /dev/sdc1.

linux how to format usb drive

  • Format with vFat File System sudo mkfs.vfat /dev/sdc1.
  • 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. 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 that are already mounted. Whenever we attach a USB drive in Ubuntu, it is automatically mounted to the system. Now, You can see that the USD drive is attached as /dev/sdc1 device.

    linux how to format usb drive

    df -h Filesystem 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 for format a USB flash drive using the command line.











    Linux how to format usb drive