![How to format usb drive on linux](https://cdn3.cdnme.se/5447227/9-3/1_64e61dfaddf2b33c615a3cd3.png)
![how to format usb drive on linux how to format usb drive on linux](https://benisnous.com/wp-content/uploads/2020/09/How-to-Format-USB-drive-in-Linux-Ubuntu-using-terminal.jpg)
If you successfully identified the USB disk, just run the following command to unmount the disk. dev/sdb on /mnt/usb type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro) 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. To verify that the mount operation succeeded, you can run the lsblk -p grep 'disk' on more time. Just make sure to replace the /dev/sdb disk name with the disk name of your USB drive: sudo mount /dev/sdb /mnt/usbdrive. dev/sda2 932G 546G 387G 59% /run/media/daygeek/DATA Run the following command to mount the disk. $ df -hįilesystem Size Used Avail Use% Mounted on 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.
![How to format usb drive on linux](https://cdn3.cdnme.se/5447227/9-3/1_64e61dfaddf2b33c615a3cd3.png)