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.
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.
could you express yourself a little more precisely? your topic is chaotic, what you need, i not understood. genkernel archlinux have not, read this:
https://wiki.archlinux.org/index.php/GRUB
https://wiki.archlinux.org/index.php/Mkinitcpio
https://wiki.archlinux.org and https://wiki.artixlinux.org will your best friend now ;) welcome in archlinux's world
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?
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:
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 (https://wiki.archlinux.org/index.php/GRUB/Tips_and_tricks)
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.