4/15/2023 0 Comments Linux how to format usb driveIf you successfully identified the USB disk, just run the following command to unmount the disk. Give the command sudo mkfs.vfat /dev/sdb and press enter to format your USB drive in Linux. Select the exFAT radio button, then click the Next button. Type a name for your USB drive, select the Other radio button, then click the Next button. 1 lsblk From this list, you can identify your device name and the partition to be formatted. You can now proceed to format your USB drive in Linux. Click on the cogged wheel icon, then click the Format Partition menu option. Step 1: Identify the device You can use this command to list all block devices like HDD, SSD, etc that are connected to your system. dev/sdb on /mnt/usb type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro) So let’s see how you can format your USB drive using some easy terminal commands. Run the following command to view the mount options for your USB disk. rwxr-xr-x 1 root root 1.5G Dec 9 07:26 '- Ye Mantram Vesave (2018) Telugu Proper 720p HDRip AC3 5.1 x264 1.4GB ESubs.mkv' If it’s mounted successfully, run the following command to view the data that is available on your USB disk. Format can be determined by clicking on the Format option. To create a format table (FAT32, NTSF), click on the following link. You can add 2 USBs at a time by choosing your USB size from the combo box. $ df -hįilesystem Size Used Avail Use% Mounted on Using the right click menu, choose the USB you wish to bootable. Run the following df -h command to list all mounted devices in your system. Make a note: Make sure you have to identify the correct USB device because you may format other disks wrongly, if you are not choosing the correct one. The below output is clearly showing that my USB is already mounted in my system successfully. It’s very simple compared with GUI but you should understand few things before proceedingįirst insert your USB into your system and verify whether your USB disk drive is auto mounted or not on your system. Formatting USB drive in Linux command line is very easy but most of the Linux desktop users are scared to do that and they will go for GUI based application instead of CLI.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |