Skip to content

Instantly share code, notes, and snippets.

@YSaxon
Last active February 3, 2023 20:00
Show Gist options
  • Save YSaxon/b64a984ab92c07dfe214467d63c5eb50 to your computer and use it in GitHub Desktop.
Save YSaxon/b64a984ab92c07dfe214467d63c5eb50 to your computer and use it in GitHub Desktop.
notes on changing the boot kernel in Ubuntu on AWS ec2
This script is possibly helpful in downloading other kernels: https://raw.githubusercontent.com/pimlie/ubuntu-mainline-kernel.sh/master/ubuntu-mainline-kernel.sh
Follow this to enable GRUB: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/grub.html
Comment out the GRUB_FORCE line in /etc/default/grub.d/40-force-partuuid.cfg
Also, take a look at the Grub Menu with the script here: https://askubuntu.com/a/1019214
And then you can use that exact menu option (eg "1>2") displayed by that script as the GRUB_DEFAULT in /etc/default/grub
The you can enable the serial console and use it in AWS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment