Kernel upgrade

Hello everyone,

How do I upgrade the Endeavouros 6.6.30 kernel version to match the arch 6.8.9 kernel version?
Thanks,

Those are both different kernels which is good, one is the lts ( long term version ) and the other is the current version. A lot of people use both in case one fails like the current version can on some units.

1 Like

you have two packages installed, linux (bleeding edge) and linux-lts (older). If you want bleeding edge to be the first selection you need to modify /efi/loader/loader.conf and mark default.

Example from my system


/efi🔒 
❯ ls -R
Permissions Size User Date Modified Name
drwxr-xr-x     - root 23 May 15:58  ce0b8651479f40518458642f8f335896
drwxr-xr-x     - root 27 Dec  2022  EFI
drwxr-xr-x     - root 23 May 16:24  loader

./ce0b8651479f40518458642f8f335896:
Permissions Size User Date Modified Name
drwxr-xr-x     - root 23 May 15:58  6.6.31-2-lts
drwxr-xr-x     - root 23 May 15:59  6.9.1-arch1-2

./ce0b8651479f40518458642f8f335896/6.6.31-2-lts:
Permissions Size User Date Modified Name
.rwxr-xr-x   18M root 23 May 15:58  initrd
.rwxr-xr-x   61M root 23 May 15:58  initrd-fallback
.rwxr-xr-x   13M root 23 May 15:58  linux

./ce0b8651479f40518458642f8f335896/6.9.1-arch1-2:
Permissions Size User Date Modified Name
.rwxr-xr-x   18M root 23 May 15:59  initrd
.rwxr-xr-x   63M root 23 May 15:59  initrd-fallback
.rwxr-xr-x   13M root 23 May 15:59  linux

./EFI:
Permissions Size User Date Modified Name
drwxr-xr-x     - root 22 May 21:39  BOOT
drwxr-xr-x     - root 27 Dec  2022  Linux
drwxr-xr-x     - root 22 May 21:39  systemd

./EFI/BOOT:
Permissions Size User Date Modified Name
.rwxr-xr-x  101k root 21 May 14:59  BOOTX64.EFI

./EFI/Linux:

./EFI/systemd:
Permissions Size User Date Modified Name
.rwxr-xr-x  101k root 21 May 14:59  systemd-bootx64.efi

./loader:
Permissions Size User Date Modified Name
drwxr-xr-x     - root 23 May 15:59  entries
.rwxr-xr-x     6 root 27 Dec  2022  entries.srel
.rwxr-xr-x    97 root 18 May 11:34  loader.conf
.rwxr-xr-x    32 root 23 May 16:24  random-seed

./loader/entries:
Permissions Size User Date Modified Name
.rwxr-xr-x   608 root 23 May 15:58  ce0b8651479f40518458642f8f335896-6.6.31-2-lts-fallback.conf
.rwxr-xr-x   568 root 23 May 15:58  ce0b8651479f40518458642f8f335896-6.6.31-2-lts.conf
.rwxr-xr-x   612 root 23 May 15:59  ce0b8651479f40518458642f8f335896-6.9.1-arch1-2-fallback.conf
.rwxr-xr-x   572 root 23 May 15:59  ce0b8651479f40518458642f8f335896-6.9.1-arch1-2.conf

/efi🔒 
❯ cat loader/loader.conf 
default ce0b8651479f40518458642f8f335896-6.9*
timeout 5
console-mode auto
reboot-for-bitlocker 1

/efi🔒 
❯ 
2 Likes

Thank you both for the responses.
So I should leave it as is, I assume that the 6.6.30-2-lts is the default version. Will the hardware work better on the 6.8.9-arch1-2 kernel version?

lts can be better for old hardware and the newer can be better for newer hardware, use what works best for your computer.

LTS is not the default, at this moment it would be 6.9.1.

You are using systemd-boot so switching default kerenel is very easy. At the point of boot when you select which kernel you want to boot just select one you want default and press ‘d’.

So to load the 6.8.9-arch1-2 as the default one I need to edit the ```
loader.conf and add at the end of the line -6.8* ?

I can select the third option on boot as well.

If you follow the wiki, you can copy paste the string there and it will ensure you are always booting the latest.

https://discovery.endeavouros.com/installation/systemd-boot/2022/12/

In /efi/loader/loader.conf

default 665eca4ae83246df8ec17d1cbc6a1763-*-arch?-?.conf
1 Like

Great, I will add -*-arch?-?.conf

Thanks,

You will need a * at the beginning of that:

*-*-arch?-?.conf

I will do so.

Thank you,