Forum

Wed Feb 28 14:42:19 2024 UTC
Cards: The Package Manager
Re: Extremely slow download speed
Sun Feb 25 23:31:04 2024 UTC
Cards: The Package Manager
Extremely slow download speed
Sat Feb 24 03:36:33 2024 UTC
General
Re: Shutdown issues
Sun Feb 18 19:09:11 2024 UTC
General
Re: Shutdown issues
Sun Feb 18 12:29:38 2024 UTC
General
Re: Wireguard Package Request
Sun Feb 18 11:03:40 2024 UTC
General
Re: Shutdown issues
Sat Feb 17 19:58:32 2024 UTC
General
Re: Shutdown issues
Sat Feb 17 11:02:14 2024 UTC
General
Re: Shutdown issues
Sat Feb 17 04:58:06 2024 UTC
General
Shutdown issues
Wed Feb 14 06:37:03 2024 UTC
General
Re: Wireguard Package Request [SOLVED]

Sun Jan 21 17:46:40 2024 UTC

Change the default kernel boot

Introduction

NuTyX provides several kernel.

To list them :

cards search kernel
(cli-extra) kernel-419 4.19.223 The 4.19 longterm support Linux Kernel version
...
(cli-extra) kernel-54 5.4.169 The 5.4 longterm support Linux Kernel version
...
(cli-extra) kernel-510 5.10.89 The 5.10 longterm support Linux Kernel version 
...
(cli-extra) kernel-515 5.15.12 The 5.15 longterm support Linux Kernel version
..
(cli-extra) kernel-61 6.1.8 The 6.1 longterm support Linux Kernel version
..
(cli-extra) kernel-66 6.6.2 The 6.6 longterm support Linux Kernel version
..

For this example, we are going to use the "kernel-419".

Kernel installation

To install the kernel (4.19) :

sudo cards install kernel-419

More information about cards commands : base commands

Set the new kernel by default

You have to edit /boot/grub/grub.cfg file which is the GRUB configuration file.

Edit the menuentry function.

By default the kernel is defined by this line :

linux	/boot/kernel-stable root=/dev/nvme0n1p3 ro quiet verbose=no

/boot/kernel-stable indicates that the stable version of the kernel will be used.

You have to modify kenerl-stable by the kernel that you want to use.

In this example kernel-stable with kernel-419.

linux	/boot/kernel-419 root=/dev/nvme0n1p3 ro quiet verbose=no

Then, save the file and reboot, you can then check by opening a terminal and type the command:

uname -r
4.19.223-NuTyX-419
to verify if it succed.

Be the first to comment on this subject.