Steps to reproduce: ---
Ubuntu 18.04 image in AWS r5.metal instance type.
$ lsb_release -cs bionic
$ dmesg | grep DMI: [ 0.000000] DMI: Amazon EC2 r5.metal/Not Specified, BIOS 1.0 10/16/2017
$ uname -rv 5.4.0-1045-aws #47~18.04.1-Ubuntu SMP Tue Apr 13 15:58:14 UTC 2021
$ sudo add-apt-repository ppa:canonical-kernel-team/ppa
$ sudo apt install linux-image-4.15.0-1113-aws
$ sudo grub-reboot 'Advanced options for Ubuntu>Ubuntu, with Linux 4.15.0-1113-aws'
$ sudo grub-editenv /boot/grub/grubenv list next_entry=Advanced options for Ubuntu>Ubuntu, with Linux 4.15.0-1113-aws
$ sudo reboot
The system should not come back from reboot (which usually takes 10-15 minutes on r5.metal)
Steps to reproduce:
---
Ubuntu 18.04 image in AWS r5.metal instance type.
$ lsb_release -cs
bionic
$ dmesg | grep DMI:
[ 0.000000] DMI: Amazon EC2 r5.metal/Not Specified, BIOS 1.0 10/16/2017
$ uname -rv
5.4.0-1045-aws #47~18.04.1-Ubuntu SMP Tue Apr 13 15:58:14 UTC 2021
$ sudo add-apt-repository ppa:canonical- kernel- team/ppa
$ sudo apt install linux-image- 4.15.0- 1113-aws
$ sudo grub-reboot 'Advanced options for Ubuntu>Ubuntu, with Linux 4.15.0-1113-aws'
$ sudo grub-editenv /boot/grub/grubenv list
next_entry=Advanced options for Ubuntu>Ubuntu, with Linux 4.15.0-1113-aws
$ sudo reboot
The system should not come back from reboot (which usually takes 10-15 minutes on r5.metal)