The officially official Devuan Forum!

You are not logged in.

#1 2024-08-22 04:21:28

ofvergara
Member
Registered: 2020-07-17
Posts: 16  

how to install kernel 6.6.47 (or 6.10.6) in a new daedalus install

Hello devuan team,
i have a question. I am interested in buying this 2023 mid-range laptop (Asus Tuf A16 Ryzen 7 7735hs) however, it runs into some detection issues with previous year kernels, except for newer kernels (6.4.8 and above, which solve many detections problems).

I am not keen in trying excalibur due to the usrmerge thing, so i prefer to stick with daedalus (however, the installation kernel is 6.1.38).
which is the best way to install the new kernel, at installation time or after the first install?
what are the steps to install the most recent long-term kernel 6.6.47?  (or, should i try the stable version 6.10.6 instead?)

I will appreciate your guidance with some commands lines to make this possible smile
From what i read it's a good laptop.

Read some additional info, links below:

Long term kernel 6.6.47; 2024-08-19
Asus TUF A16 Advantage Edition (2023) laptop compatibility check
Asus TUF Gaming A16 2023 Advantage Edition in Linux

Thank you very much for your kind assistance.
Omar

Offline

#2 2024-08-22 10:08:57

delgado
Member
Registered: 2022-07-14
Posts: 208  

Re: how to install kernel 6.6.47 (or 6.10.6) in a new daedalus install

Adding the daedalus-backports repository would be a convenient way to have a quite current kernel (6.9).

cat /etc/apt/sources.list | grep backports
deb http://deb.devuan.org/merged daedalus-backports main contrib non-free non-free-firmware

apt install -t daedalus-backports linux-image-amd64

Beside the kernel, firmware can be a major problem especially on new notebooks. There are no backports releases by now, e.g. https://pkginfo.devuan.org/cgi-bin/poli … *&x=submit . I would go for the newest packages for all build-in components.

Offline

#3 2024-08-22 10:34:23

alexkemp
Member
Registered: 2018-05-14
Posts: 338  

Re: how to install kernel 6.6.47 (or 6.10.6) in a new daedalus install

I've got bpo in my sources & yet the latest image installed is 6.1.99:

$ grep ^[^#] /etc/apt/sources.list /etc/apt/sources.list.d/*
/etc/apt/sources.list:deb http://deb.devuan.org/merged daedalus                  main non-free-firmware non-free contrib
/etc/apt/sources.list:deb http://deb.devuan.org/merged daedalus-updates          main non-free-firmware non-free contrib
/etc/apt/sources.list:deb http://deb.devuan.org/merged daedalus-security         main non-free-firmware non-free contrib
/etc/apt/sources.list:deb http://deb.devuan.org/merged daedalus-proposed-updates main non-free-firmware non-free contrib
/etc/apt/sources.list:deb http://deb.devuan.org/merged daedalus-backports        main non-free-firmware non-free contrib
/etc/apt/sources.list.d/josm.list:deb https://josm.openstreetmap.de/apt/ alldist universe  
$ apt search linux-image-amd64
Sorting... Done
Full Text Search... Done
linux-image-amd64/stable-security,stable-proposed-updates,now 6.1.99-1 amd64 [installed]
  Linux for 64-bit PCs (meta-package)

linux-image-amd64-dbg/stable-security,stable-proposed-updates 6.1.99-1 amd64
  Debugging symbols for Linux amd64 configuration (meta-package)

linux-image-amd64-signed-template/stable-security,stable-proposed-updates 6.1.99-1 amd64
  Template for signed linux-image packages for amd64

It's not that other, later kernels are not available; they are but for some reason are not picked up:

$ apt search linux-image | fgrep bpo

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

linux-headers-6.9.7+bpo-amd64/stable-backports 6.9.7-1~bpo12+1 amd64
  Header files for Linux 6.9.7+bpo-amd64
linux-headers-6.9.7+bpo-cloud-amd64/stable-backports 6.9.7-1~bpo12+1 amd64
  Header files for Linux 6.9.7+bpo-cloud-amd64
linux-headers-6.9.7+bpo-rt-amd64/stable-backports 6.9.7-1~bpo12+1 amd64
  Header files for Linux 6.9.7+bpo-rt-amd64
linux-image-5.14.0-0.bpo.2-amd64/now 5.14.9-2~bpo11+1 amd64 [residual-config]
linux-image-5.15.0-0.bpo.2-amd64/now 5.15.5-2~bpo11+1 amd64 [residual-config]
linux-image-5.15.0-0.bpo.3-amd64/now 5.15.15-2~bpo11+1 amd64 [residual-config]
linux-image-5.16.0-0.bpo.3-amd64/now 5.16.11-1~bpo11+1 amd64 [residual-config]
linux-image-5.16.0-0.bpo.4-amd64/now 5.16.12-1~bpo11+1 amd64 [residual-config]
linux-image-5.18.0-0.bpo.1-amd64/now 5.18.2-1~bpo11+1 amd64 [residual-config]
linux-image-5.18.0-0.deb11.3-amd64/now 5.18.14-1~bpo11+1 amd64 [residual-config]
linux-image-5.18.0-0.deb11.4-amd64/now 5.18.16-1~bpo11+1 amd64 [residual-config]
linux-image-5.19.0-0.deb11.2-amd64/now 5.19.11-1~bpo11+1 amd64 [residual-config]
linux-image-6.0.0-0.deb11.2-amd64/now 6.0.3-1~bpo11+1 amd64 [residual-config]
linux-image-6.0.0-0.deb11.6-amd64/now 6.0.12-1~bpo11+1 amd64 [residual-config]
linux-image-6.1.0-0.deb11.5-amd64/now 6.1.12-1~bpo11+1 amd64 [residual-config]
linux-image-6.1.0-0.deb11.6-amd64/now 6.1.15-1~bpo11+1 amd64 [residual-config]
linux-image-6.1.0-0.deb11.7-amd64/now 6.1.20-2~bpo11+1 amd64 [residual-config]
linux-image-6.9.7+bpo-amd64/stable-backports 6.9.7-1~bpo12+1 amd64
linux-image-6.9.7+bpo-amd64-dbg/stable-backports 6.9.7-1~bpo12+1 amd64
  Debug symbols for linux-image-6.9.7+bpo-amd64
linux-image-6.9.7+bpo-amd64-unsigned/stable-backports 6.9.7-1~bpo12+1 amd64
linux-image-6.9.7+bpo-cloud-amd64/stable-backports 6.9.7-1~bpo12+1 amd64
linux-image-6.9.7+bpo-cloud-amd64-dbg/stable-backports 6.9.7-1~bpo12+1 amd64
  Debug symbols for linux-image-6.9.7+bpo-cloud-amd64
linux-image-6.9.7+bpo-cloud-amd64-unsigned/stable-backports 6.9.7-1~bpo12+1 amd64
linux-image-6.9.7+bpo-rt-amd64/stable-backports 6.9.7-1~bpo12+1 amd64
linux-image-6.9.7+bpo-rt-amd64-dbg/stable-backports 6.9.7-1~bpo12+1 amd64
  Debug symbols for linux-image-6.9.7+bpo-rt-amd64
linux-image-6.9.7+bpo-rt-amd64-unsigned/stable-backports 6.9.7-1~bpo12+1 amd64

Last edited by alexkemp (2024-08-22 10:35:09)

Offline

#4 2024-08-22 12:11:49

rolfie
Member
Registered: 2017-11-25
Posts: 1,161  

Re: how to install kernel 6.6.47 (or 6.10.6) in a new daedalus install

@alexkemp: kernel updates are handled by the (meta)-package linux-image-amd64.

When this package is installed from the main branch, you will automagically receive the main line kernel updates. When this package is installed from the bpo branch (apt -t daedalus-backports install linux-image-amd64), you will get the bpo kernel updates.

Security updates are a separate story.

When you only install a dedicated kernel image from bpo, you won't get updates.

Online

#5 2024-08-22 18:37:07

alexkemp
Member
Registered: 2018-05-14
Posts: 338  

Re: how to install kernel 6.6.47 (or 6.10.6) in a new daedalus install

Thanks for the info, @rolfie (new to me, even after all these years).

Offline

#6 2024-08-22 19:24:31

greenjeans
Member
Registered: 2017-04-07
Posts: 531  
Website

Re: how to install kernel 6.6.47 (or 6.10.6) in a new daedalus install

which is the best way to install the new kernel, at installation time or after the first install?
what are the steps to install the most recent long-term kernel 6.6.47?  (or, should i try the stable version 6.10.6 instead?)

To answer these questions: Firstly know that i'm not one of the ninjas here, just a GUI-guy who like to tinker and only uses a terminal when I have to, so take it for what it's worth.

Installing new kernel, much easier to do post-initial install of system.

I do everything except 3rd party stuff through Synaptic. So install new kernel and then close Synaptic. Re-boot, at the grub screen choose advanced options boot, hit the edit button, edit the file where it says what kernel to use to boot to your new one, then boot.

You should be using your new kernel now, to verify open a terminal and

uname -r

to check.

Now put system through it's paces to verify everything works. If it does, you can now delete the old kernel through Synaptic, do so. Then open a terminal, su-to-root then run

update-grub

.

That's how I do it anyway, always works, just updated to new kernel a week ago in fact.


https://sourceforge.net/projects/vuu-do/
Vuu-do GNU/Linux, minimal Devuan-based openbox systems to build on, maximal versions if you prefer your linux fully-loaded.

Please donate to support Devuan and init freedom! https://devuan.org/os/donate

Offline

#7 2024-08-23 21:19:51

zapper
Member
Registered: 2017-05-29
Posts: 956  

Re: how to install kernel 6.6.47 (or 6.10.6) in a new daedalus install

There is another way to get newer kernels:

https://www.fsfla.org/ikiwiki/selibre/l … sh.en.html

If you follow this guide, it will work.

BUT! If you need/want blobs, this method is useless to you.

I currently use it on my framework amd laptop. Now that the wifi card has been replaced it works completely fine.

Still, you get new kernels quite often.  LTS and the usual one as well.


Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term  If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Peace Be With us All!

Offline

Board footer