Grub2 Advanced menu
by KrazyKanuk from LinuxQuestions.org on (#4X4J0)
I am running Slackware 14.2+ with the stock 4.19.81 kernel and grub 2.02. I downloaded and compiled from source the 5.4 kernel and installed it and ran
Code:sudo grub-mkconfig -o /boot/grub/grub.cfgWhen I reboot it lists the stock kernel unless I go into advanced menu then it is the last entry in the list because it lists the stock kernels as something like 14.2+ Slackware vmlinuz-4.19.81 and the 5.4 kernel as vmlinuz-5.4. from my understanding it does this because the 14.2+ is obviously larger then the new 5.4. Is there a way I can get the 5.4 listed on the main page and all the stock kernels listed in the advanced menu?
Thank you in advance for any light you can shed on this issue.


Code:sudo grub-mkconfig -o /boot/grub/grub.cfgWhen I reboot it lists the stock kernel unless I go into advanced menu then it is the last entry in the list because it lists the stock kernels as something like 14.2+ Slackware vmlinuz-4.19.81 and the 5.4 kernel as vmlinuz-5.4. from my understanding it does this because the 14.2+ is obviously larger then the new 5.4. Is there a way I can get the 5.4 listed on the main page and all the stock kernels listed in the advanced menu?
Thank you in advance for any light you can shed on this issue.