genext2fs command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
genext2fs: command not found
or when using sudo you get the following error message
sudo: genext2fs: command not found
Solutions to genext2fs: command not found
How To Fix genext2fs: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu genext2fs is provided by genext2fs package.
genext2fs is:
genext2fs is meant to generate an ext2 filesystem as a normal (non-root) user. It doesn’t require you to mount the image file to copy files on it. It doesn’t even require you to be the superuser to make device nodes.
To fix this problem, we can install more using the command below.
sudo apt-get -y install genext2fs
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install genext2fs.
sudo apt -y install genext2fs
Or if you have aptitude installed you can use the following command.
sudo aptitude install genext2fs
Summary
In this tutorial we learn how to fix genext2fs command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.