Install E2fsprogs by running the following commands:
Please note that the empty --with-root-prefix= option below is supposed to be like this. We did not forget to supply a value there.
./configure --prefix=/usr --with-root-prefix= \
make install &&
The e2fsprogs package contains the chattr, lsattr, uuidgen, badblocks, debugfs, dumpe2fs, e2fsck, e2label, fsck, fsck.ext2, mke2fs, mkfs.ext2, mklost+found and tune2fs programs.
chattr changes the file attributes on a Linux second extended file system.
lsattr lists the file attributes on a second extended file system.
The uuidgen program creates a new universally unique identifier (UUID) using the libuuid library. The new UUID can reasonably be considered unique among all UUIDs created on the local system, and among UUIDs created on other systems in the past and in the future.
badblocks is used to search for bad blocks on a device (usually a disk partition).
The debugfs program is a file system debugger. It can be used to examine and change the state of an ext2 file system.
dumpe2fs prints the super block and blocks group information for the filesystem present on a specified device.
e2fsck is used to check a Linux second extended file system. fsck.ext2 does the same as e2fsck.
e2label will display or change the filesystem label on the ext2 filesystem located on the specified device.
fsck is used to check and optionally repair a Linux file system.
mke2fs is used to create a Linux second extended file system on a device (usually a disk partition). mkfs.ext2 does the same as mke2fs.
mklost+found is used to create a lost+found directory in the current working directory on a Linux second extended file system. mklost+found pre-allocates disk blocks to the directory to make it usable by e2fsck.
tune2fs adjusts tunable filesystem parameters on a Linux second extended filesystem.