[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: choosing default kernel in grub



Hi!

Thanks a lot.,

John Paul Adrian Glaubitz wrote:
The entry names can be found in /boot/grub/grub.cfg:

root@raverin:~# grep gnulinux-advanced /boot/grub/grub.cfg
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-a8314d10-9c39-438b-9dc4-9db2e05a6530' {
root@raverin:~#

Mind the syntax above if you need to use a kernel from the advanced section
with ">", i.e. "gnulinux-advanced...>gnulinux-4.19".

the ">" is exactly the trick to go into the submenu.

So I did:
grep gnulinux-advanced /boot/grub/grub.cfg

and find the advanced menu which is similar to yours, but with different guid.

Then
 grep advanced /boot/grub/grub.cfg

to see the different menu entries, choose the kernel, add..

sudo update-grub

et voilà, back in business.


Riccardo


Reply to: