Tips to Install Mkfs.vfat On Mac Kali Ubuntu Debian Arch with Examples
mkfs.vfat
Creates an MS-DOS filesystem inside a partition. Want to create MS-DOS based filesystem on your Linux distro or Mac? We can use Mkfs.vfat to install the required packages and dependencies which will be taken care of this amazing command. For more detailed analysis and explanation read github.
Install mkfs.vfat
-
Debian
apt-get install dosfstoolsClick to copy -
Ubuntu
apt-get install dosfstoolsClick to copy -
Alpine OS
apk add dosfstoolsClick to copy -
Arch Linux
pacman -S dosfstoolsClick to copy -
Kali Linux
apt-get install dosfstoolsClick to copy -
CentOS
yum install dosfstoolsClick to copy -
Fedora
dnf install dosfstoolsClick to copy -
Raspbian
apt-get install dosfstoolsClick to copy -
macOS
brew install dosfstoolsClick to copy
Creates an MS-DOS filesystem inside a partition.
How to use mkfs.vfat?
Below are few example commands for mkfs.vfat that you can use in the terminal.
Create a.vfat filesystem inside partition 1 on device b (`sdb1`):mkfs.vfat /dev/sdb1Click to copyCreate filesystem with a volume-name:mkfs.vfat -n volume_name /dev/sdb1Click to copyCreate filesystem with a volume-id:mkfs.vfat -i volume_id /dev/sdb1Click to copyUse 5 instead of 2 file allocation tables:mkfs.vfat -f 5 /dev/sdb1Click to copy
The MSDOS mkfs.vfat is a very useful utility that we can use on our Mac or linux terminals. You can see which commands are available to install it on your system. It will download the 2026 packages for you if you are using this command to install it on the system.




