Table of Contents

Grub

Tips

Troubleshooting - Boot Failure without HDMI Connection

https://www.reddit.com/r/Ubuntu/comments/v0ff1r/ubuntu_2204_server_wont_boot_without_hdmi_plugged/

sudo vi /etc/default/grub
## GRUB_CMDLINE_LINUX_DEFAULT="quiet nomodeset"
## GRUB_TERMINAL=console
sudo update-grub

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