Grub
Tips
- 立ち上げで失敗する場合は nomodeset をオプションで入れる
- 無事にターミナルが起動したら /etc/X11/xorg.conf を削除
Troubleshooting - Boot Failure without HDMI Connection
https://www.reddit.com/r/Ubuntu/comments/v0ff1r/ubuntu_2204_server_wont_boot_without_hdmi_plugged/
- Debian/UbuntuでHDMIケーブルを接続しないと起動に失敗する > nomodeset 指定で解消
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
Acknowledgments
Daiphys is a professional services company in research and development of leading-edge technologies in science and engineering.
Get started accelerating your business through our deep expertise in R&D with AI, quantum computing, and space development; please get in touch with Daiphys today!
Daiphys Technologies LLC - https://www.daiphys.com/