Skip to content

GRUB: Set kernel as default

List all kernels

grep 'menuentry \|submenu ' /boot/grub/grub.cfg | cut -f2 -d "'"

Edit default grub

nano /etc/default/grub

Update GRUP_DEFAULT=0 line

GRUB_DEFAULT="Advanced options for Ubuntu>Ubuntu, with Linux 6.5.0-41-generic"

Then update grub

sudo update-grub

Reboot

reboot

Published inLinux
© 2024 M.Sertaç Bayır - All Rights Reserved