nullbootctl command not found

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

Introduction

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

nullbootctl: command not found

or when using sudo you get the following error message

sudo: nullbootctl: command not found

Solutions to nullbootctl: command not found

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

In Ubuntu nullbootctl is provided by nullboot package.

nullboot is:

nullboot installs kernel.efi binaries to the EFI system partition, registers them with the shim fallback loader and the UEFI boot order, and reseals the system for new kernel versions.

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

sudo apt-get -y install nullboot

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

You can also use apt command to install nullboot.

sudo apt -y install nullboot

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

sudo aptitude install nullboot

Summary

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