Install grub-legacy-ec2 by entering the following commands in the terminal:
sudo apt update sudo apt install grub-legacy-ec2
Description:
Handles update-grub for ec2 instances
EC2 instances that use grub-legacy as a bootloader need a way to keep /boot/grub/menu.lst up to date while not conflicting with grub-pc. This package provides that.
Version: 1:1
Section: admin