grub-syslinux2cfg command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
grub-syslinux2cfg: command not found
or when using sudo you get the following error message
sudo: grub-syslinux2cfg: command not found
Solutions to grub-syslinux2cfg: command not found
How To Fix grub-syslinux2cfg: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu grub-syslinux2cfg is provided by grub-common package.
grub-common is:
This package contains common files shared by the distinct flavours of GRUB. It is shared between GRUB Legacy and GRUB 2, although a number of files specific to GRUB 2 are here as long as they do not break GRUB Legacy.
grub-mkrescue needs the suggested packages mtools (for UEFI targets) and xorriso.
To fix this problem, we can install more using the command below.
sudo apt-get -y install grub-common
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install grub-common.
sudo apt -y install grub-common
Or if you have aptitude installed you can use the following command.
sudo aptitude install grub-common
Summary
In this tutorial we learn how to fix grub-syslinux2cfg command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.