update-grub-gfxpayload command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
update-grub-gfxpayload: command not found
or when using sudo you get the following error message
sudo: update-grub-gfxpayload: command not found
Solutions to update-grub-gfxpayload: command not found
How To Fix update-grub-gfxpayload: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu update-grub-gfxpayload is provided by grub-gfxpayload-lists package.
grub-gfxpayload-lists is:
The ‘set gfxpayload=keep’ facility in GRUB provides smooth graphical handover to the Linux kernel. Unfortunately, this does not work on all systems, resulting in a black or corrupt display. This package provides a blacklist of PCI IDs which fail.
We maintain this separately from GRUB because it is likely to be updated on a different schedule.
To fix this problem, we can install more using the command below.
sudo apt-get -y install grub-gfxpayload-lists
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install grub-gfxpayload-lists.
sudo apt -y install grub-gfxpayload-lists
Or if you have aptitude installed you can use the following command.
sudo aptitude install grub-gfxpayload-lists
Summary
In this tutorial we learn how to fix update-grub-gfxpayload command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.