I have installed Windows 11 and Ubuntu 22.04. Both systems work properly. I’m using GRUB to select the desired system.
The first entry in the GRUB menu is Ubuntu 22.04 and launches Ubuntu with kernel 6.5.0-15-generic.
This kernel has problems connecting to the network (LAN), but this is not my issue here. Using menu entry Advanced options for Ubuntu Ubuntu, with Linux 6.5.0-40-generic launches Ubuntu with proper network access.
I don’t want to always use the advanced mode to get a proper working system. How can I change the first entry in the GRUB menu `Ubuntu 22.04 to use Ubuntu with kernel 6.5.0-40-generic? I haven’t found this in GNU GRUB manual.