mkfs.ext4

Creates an ext4 filesystem inside a partition. More information: <https://manned.org/mkfs.ext4>.

Install

All systems
curl cmd.cat/mkfs.ext4.sh
Debian Debian
apt-get install e2fsprogs
Ubuntu
apt-get install e2fsprogs
Alpine
apk add e2fsprogs
Arch Arch Linux
pacman -S e2fsprogs
image/svg+xml Kali Linux
apt-get install e2fsprogs
CentOS
yum install e2fsprogs
Fedora
dnf install e2fsprogs
Windows (WSL2)
sudo apt-get update sudo apt-get install e2fsprogs
OS X
brew install e2fsprogs
Raspbian
apt-get install e2fsprogs
Docker
docker run cmd.cat/mkfs.ext4 mkfs.ext4 powered by Commando

Creates an ext4 filesystem inside a partition. More information: <https://manned.org/mkfs.ext4>.

  • Create an ext4 filesystem inside partition 1 on device b (`sdb1`):
    sudo mkfs.ext4 /dev/sdb1
  • Create an ext4 filesystem with a volume-label:
    sudo mkfs.ext4 -L volume_label /dev/sdb1

© tl;dr; authors and contributors