How to Format USB Flash Drive in Linux Terminal for Windows (FAT32, NTFS) and Linux (EXT4)
HTML-код
- Опубликовано: 27 окт 2020
- Detect the flash drive using
lsblk
To show selected disk output type
lsblk -f /dev/sd*
To format the usb disk, first unmount the disk from computer
sudo umount /dev/sdb1
Wipe out all the existing filesystem on the disk
sudo wipefs -a /dev/sdb
create disk partition table
sudo cfdisk /dev/sdb
Format the flash drive to windows compatible filesystem (FAT32)
sudo mkfs.vfat -n "USBFAT32" /dev/sdb1
Format the flash drive to windows compatible filesystem (NTFS)
sudo mkntfs -Q -L "USBNTFS" /dev/sdb1
Format the flash drive to Linux based filesystem (EXT4)
sudo mkfs.ext4 -L "USBEXT4" /dev/sdb1
Safely remove the flash drive
sudo eject /dev/sdb
Thank you for watching this video! Please like, share and subscribe:
ruclips.net/user/aumacademy?...
======================================
Share this video: • How to Format USB Flas...
======================================
the only video that could help me, thank bro!!
Thanks sir you helped me
Now I find a good video after wasting whole day
Happy to help
Thank you so much, that was really helpful
thanks! everything is works!
Thank you 🙂🙂
thanks Brother.
Thanks.
thanks amigo!
legend, thank you!
You're welcome!
Nice it really help all students...
Glad to hear that
If I was to use a FAT32 format from how you've explained it, will it allow to read and write from USB in Linux? I only discovered recently this is a problem. I can't read and write from my FAT32 USB (I did it before I saw this video.)
Thank you.
Welcome
none of these windows type file systems work because pop os doesnt have the repos installed...where do i get them?
How to format my usb to exFAT
Thanks 👍
Welcome 👍