Mke2fs Installation On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS
Maintainer: Theodore Y. Ts'o
Email: [email protected] .
Website: http://e2fsprogs.sourceforge.net
Section: admin
Install mke2fs
-
Debian
apt-get install e2fsprogsClick to copy -
Ubuntu
apt-get install e2fsprogsClick to copy -
Alpine OS
apk add e2fsprogsClick to copy -
Arch Linux
pacman -S e2fsprogsClick to copy -
Kali Linux
apt-get install e2fsprogsClick to copy -
CentOS
yum install e2fsprogsClick to copy -
Fedora
dnf install e2fsprogsClick to copy -
Raspbian
apt-get install e2fsprogsClick to copy -
macOS
brew install e2fsprogsClick to copy
Creates a Linux filesystem inside a partition.
How to use mke2fs?
Below are few example commands for mke2fs that you can use in the terminal.
Create an ext2 filesystem in partition 1 of device b (`sdb1`):mkfs.ext2 /dev/sdb1Click to copyCreate an ext3 filesystem in partition 1 of device b (`sdb1`):mkfs.ext3 /dev/sdb1Click to copyCreate an ext3 filesystem in partition 1 of device b (`sdb1`):mkfs.ext3 /dev/sdb1Click to copy
Installation of latest mke2fs command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.




