uml_mount command not found

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

Introduction

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

uml_mount: command not found

or when using sudo you get the following error message

sudo: uml_mount: command not found

Solutions to uml_mount: command not found

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

In Ubuntu uml_mount is provided by uml-utilities package.

uml-utilities is:

User-mode Linux is a port of the Linux kernel to its own system call interface. It provides a kind of virtual machine, which runs Linux as a user process under another Linux kernel. This is useful for kernel development, sandboxing, jailing, experimentation, and many other things.

This package contains userspace utilities for use with User-mode Linux, including uml_mconsole, uml_moo, uml_switch, uml_net and tunctl.

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

sudo apt-get -y install uml-utilities

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

You can also use apt command to install uml-utilities.

sudo apt -y install uml-utilities

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

sudo aptitude install uml-utilities

Summary

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