Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] grub with kernel AND kernel-lts and the version number in the filemane. (Read 1113 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] grub with kernel AND kernel-lts and the version number in the filemane.

Hi there, i have an issue but i cant find anything bout it on the web.
I use kernel and kernel-lts, both files i found in the /boot/ directory. Is there a possibility, that the version number in the filename also appears? Before Artix i have used Gentoo with the programm "genkernel", there was an option in the config file. Is something like that in Arch / Artix aviable, too?

And also i can't find something to modify GRUB to show both kenels so i can choice which one i'll use to boot.

Re: grub with kernel AND kernel-lts and the version number in the filemane.

Reply #1
Have you run # update-grub ? Then you can set the default kernel in /etc/default/grub something like this:
GRUB_DEFAULT="1>4"
Look in /boot/grub/grub.cfg and count the menu lines to get the right numbers, and you start counting from 0 not 1.
The > and quotes let you select a kernel to boot from the advanced options submenu, so you don't need to make a custom entry for the main menu, although you could do that too if you wanted. Run update-grub again afterwards. Pacman doesn't run update-grub after installing kernels to save time on updates when it usually isn't needed, you need to do it manually.


Re: grub with kernel AND kernel-lts and the version number in the filemane.

Reply #3
We pretty comprehend the fact that, English is not everyone's native language.

But, in any case, we need to comprehend, what are you talking about, so to assist you further.

Therefore, can you provide the following?
  • what is the issue?
  • what have you installed?

Re: grub with kernel AND kernel-lts and the version number in the filemane.

Reply #4
Yes, english isn't my native language, so sometimes i have problems to explain what i really need, i am sorry.
I have corrected the wrong sentence in the first post:
Is there a possibility, that the filename also appears? =>  Is there a possibility, that the version number in the filename also appears?
I mean something like "/boot/vmlinuz-linux-lts-5.10.18-1"

With grub i mean something like:
Code: [Select]
Linux Artix
Linux Artix (LTS kernel)
in the grub boot menu.

Re: grub with kernel AND kernel-lts and the version number in the filemane.

Reply #5
Yes, english isn't my native language, so sometimes i have problems to explain what i really need, i am sorry.
I have corrected the wrong sentence in the first post:
Is there a possibility, that the filename also appears? =>  Is there a possibility, that the version number in the filename also appears?
I mean something like "/boot/vmlinuz-linux-lts-5.10.18-1"

With grub i mean something like:
Code: [Select]
Linux Artix
Linux Artix (LTS kernel)
in the grub boot menu.
In the grub boot menu, you can edit the entries, in too ways:

  • By installing grub-customizer and run it, or
  • By following the wiki


Re: grub with kernel AND kernel-lts and the version number in the filemane.

Reply #6
I have found the Problem with GRUB, i have Edited "/etc/default/grub" and added the Line "GRUB_ENABLE_SUBMENU=false", then i removed the fallback option from mkcpio. So there are two Options to boot in GRUB: linux and linux-lts.
Thank you.