$ sudo update-grub-legacy-ec2 Searching for GRUB installation directory ... found: /boot/grub Searching for default file ... found: /boot/grub/default Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst Searching for splash image ... none found, skipping ... Found kernel: /boot/vmlinuz-4.4.0-1001-aws Found kernel: /boot/vmlinuz-4.4.0-1001-aws Updating /boot/grub/menu.lst ... done
$ sudo update- grub-legacy- ec2 4.4.0-1001- aws 4.4.0-1001- aws
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Updating /boot/grub/menu.lst ... done