How do you set a kernel to default

one small request,
can you pls tell me how can i set 6.1.7-AMD kernel default. ?
because every i have to boot it from advance option

Defining a new default kernel has some known bugs with btrfs (if you search in the forum you'll find several topics about it).
So, you should edit /etc/default/grub and change GRUB_DEFAULT=0 (which is the first line you see in the GRUB main menu, numbering starts from 0 in GRUB) to e.g. GRUB_DEFAULT=1 (second line in GRUB main menu) or whatever else. If you need to select an entry into a "sub-menu" you can use e.g. GRUB_DEFAULT="1>2" which means go into the submenu in line 2 of the main GRUB menu (1), then (>) select the third line (2).
You should also comment out GRUB_SAVEDEFAULT, e.g.


Pay attention, sometimes some parameters (e.g. GRUB_DEFAULT) might appear more than once in the grub file).
Then sudo update-grub as final step, of course.


This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.