fsremap command not found

In this troubleshooting guide we learn how to fix fsremap command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

fsremap: command not found

or when using sudo you get the following error message

sudo: fsremap: command not found

Solutions to fsremap: command not found

How To Fix fsremap: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu fsremap is provided by fstransform package.

fstransform is:

fstransform is a tool to change a file-system from one format to another, for example from jfs/xfs/reiser to ext2/ext3/ext4, in-place and without the need for backup. Idea from convertfs, but it is fully independent code.

The current version of fstransform is fully functional, and ready for testing from the general public. It has been tested on the following file-systems, both as source and target: ext2, ext3, ext4, jfs, minix, reiserfs, xfs.

To fix this problem, we can install more using the command below.

sudo apt-get -y install fstransform

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install fstransform.

sudo apt -y install fstransform

Or if you have aptitude installed you can use the following command.

sudo aptitude install fstransform

Summary

In this tutorial we learn how to fix fsremap command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.