Table of Contents

Grub

Troubleshoot

Boot Settings

## Configuration File
sudo find /boot -name "grub.cfg"
## List Menu
cat /boot/grub/grub.cfg | grep 'menuentry ' | cut -f 2 -d "'" | nl -v 0
0  Ubuntu
1  Ubuntu, with Linux 5.15.0-1035-gcp
2  Ubuntu, with Linux 5.15.0-1035-gcp (recovery mode)
3  Ubuntu, with Linux 5.13.0-48-generic
4  Ubuntu, with Linux 5.13.0-48-generic (recovery mode)
5  UEFI Firmware Settings
sudo grub-reboot 3
#sudo grub-set-default 3
sudo reboot

Configuration

sudo vi /etc/default/grub
#GRUB_DEFAULT=0
GRUB_DEFAULT=3
sudo update-grub

References

https://takuya-1st.hatenablog.jp/entry/2020/12/15/000000
https://stackoverflow.com/questions/44426549/how-do-i-install-a-custom-kernel-on-a-google-compute-engine-instance