$ sudo update-grub
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.15.0-29-generic
Found initrd image: /boot/initrd.img-4.15.0-29-generic
Found linux image: /boot/vmlinuz-4.15.0-28-generic
Found initrd image: /boot/initrd.img-4.15.0-28-generic
Adding boot menu entry for EFI firmware configuration
done
$ sudo apt-get install grub-efi-amd64-bin
Reading package lists... Done
...
The following packages will be upgraded:
grub-common (2.02-2ubuntu8.1 => 2.02-2ubuntu8.2)
grub-efi-amd64-bin (2.02-2ubuntu8.1 => 2.02-2ubuntu8.2)
grub-efi-amd64-signed (1.93.2+2.02-2ubuntu8.1 => 1.93.3+2.02-2ubuntu8.2)
grub-pc (2.02-2ubuntu8.1 => 2.02-2ubuntu8.2)
grub-pc-bin (2.02-2ubuntu8.1 => 2.02-2ubuntu8.2)
grub2-common (2.02-2ubuntu8.1 => 2.02-2ubuntu8.2)
6 upgraded, 0 newly installed, 0 to remove and 26 not upgraded.
Need to get 4,290 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
...
Replacing config file /etc/default/grub with new version
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.15.0-29-generic
Found initrd image: /boot/initrd.img-4.15.0-29-generic
Found linux image: /boot/vmlinuz-4.15.0-28-generic
Found initrd image: /boot/initrd.img-4.15.0-28-generic
Adding boot menu entry for EFI firmware configuration
done
Setting up grub-efi-amd64-signed (1.93.3+2.02-2ubuntu8.2) ...
Installing for x86_64-efi platform.
Installation finished. No error reported.
It worked on Bionic:
$ sudo update-grub 4.15.0- 29-generic img-4.15. 0-29-generic 4.15.0- 28-generic img-4.15. 0-28-generic
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Adding boot menu entry for EFI firmware configuration
done
$ sudo apt-get install grub-efi-amd64-bin efi-amd64- bin (2.02-2ubuntu8.1 => 2.02-2ubuntu8.2) efi-amd64- signed (1.93.2+ 2.02-2ubuntu8. 1 => 1.93.3+ 2.02-2ubuntu8. 2) 4.15.0- 29-generic img-4.15. 0-29-generic 4.15.0- 28-generic img-4.15. 0-28-generic amd64-signed (1.93.3+ 2.02-2ubuntu8. 2) ...
Reading package lists... Done
...
The following packages will be upgraded:
grub-common (2.02-2ubuntu8.1 => 2.02-2ubuntu8.2)
grub-
grub-
grub-pc (2.02-2ubuntu8.1 => 2.02-2ubuntu8.2)
grub-pc-bin (2.02-2ubuntu8.1 => 2.02-2ubuntu8.2)
grub2-common (2.02-2ubuntu8.1 => 2.02-2ubuntu8.2)
6 upgraded, 0 newly installed, 0 to remove and 26 not upgraded.
Need to get 4,290 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
...
Replacing config file /etc/default/grub with new version
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Adding boot menu entry for EFI firmware configuration
done
Setting up grub-efi-
Installing for x86_64-efi platform.
Installation finished. No error reported.