Format U disk as FAT32 on Ubuntu
2018-04-26 本文已影响8人
JaedenKil
!!!The following method is waived since this may lead to an android nonrecognition issue.
- Install a tool:
sudo apt-get install dosfstools
- Check your disk:
sudo fsidk -l
Outpur may look like this:
pc@JK:~/Streams$ sudo fdisk -l
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xaa649334
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 1945563135 1945561088 927.7G 83 Linux
/dev/sda2 1945565182 1953523711 7958530 3.8G 5 Extended
/dev/sda5 1945565184 1953523711 7958528 3.8G 82 Linux swap / Solaris
Disk /dev/sdb: 57.7 GiB, 61945675776 bytes, 120987648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00007b07
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 64 120987646 120987583 57.7G 7 HPFS/NTFS/exFAT
- Begin to format
sudo mkdosfs -F 32 -I /dev/sdb1
But it may throw an error:
mkdosfs: /dev/sdb1 contains a mounted filesystem.
So have to unmount the disk:
umount /media/pc/KNIGHT
//This is where the disk is mounted
Then do again sudo mkdosfs -F 32 -I /dev/sdb1
Format is likely to finish in just seconds.
!!!The above method is waived since this may lead to an android nonrecognition issue.
A Disk Genius will do.