Tips to Install Mkfs.vfat On Mac Kali Ubuntu Debian Arch with Examples

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.

Maintainer: Andreas Bombe



Section: otherosfs

Install mkfs.vfat

  • Debian apt-get install dosfstools Click to copy
  • Ubuntu apt-get install dosfstools Click to copy
  • Alpine OS apk add dosfstools Click to copy
  • Arch Linux pacman -S dosfstools Click to copy
  • Kali Linux apt-get install dosfstools Click to copy
  • CentOS yum install dosfstools Click to copy
  • Fedora dnf install dosfstools Click to copy
  • Raspbian apt-get install dosfstools Click to copy
  • macOS brew install dosfstools Click 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 copy
Create filesystem with a volume-name:
mkfs.vfat -n volume_name /dev/sdb1Click to copy
Create filesystem with a volume-id:
mkfs.vfat -i volume_id /dev/sdb1Click to copy
Use 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.