overlayroot-chroot command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
overlayroot-chroot: command not found
or when using sudo you get the following error message
sudo: overlayroot-chroot: command not found
Solutions to overlayroot-chroot: command not found
How To Fix overlayroot-chroot: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu overlayroot-chroot is provided by overlayroot package.
overlayroot is:
This package adds functionality to an initramfs built by initramfs-tools. When installed and configured, the initramfs will mount an overlayfs filesystem on top of a read-only root volume.
The changes can be written to a in-memory temporary filesystem, a filesystem on an existing block device, or a dmcrypt encrypted block device.
To fix this problem, we can install more using the command below.
sudo apt-get -y install overlayroot
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install overlayroot.
sudo apt -y install overlayroot
Or if you have aptitude installed you can use the following command.
sudo aptitude install overlayroot
Summary
In this tutorial we learn how to fix overlayroot-chroot command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.