Real-time kernel on Bullseye

a very small Live CD shaped to look and act like Puppy Linux.

Moderator: fredx181

Post Reply
User avatar
fredx181
Posts: 2560
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 273 times
Been thanked: 992 times
Contact:

Real-time kernel on Bullseye

Post by fredx181 »

Need to use real-time kernel on Bullseye or Sid ? Here's how (for frugal install only):
First, install (if not already installed) latest package "upgrade-kernel":

Code: Select all

apt update
apt install upgrade-kernel

Run from Menu > System > Upgrade kernel (which btw, can be used also to upgrade your kernel to newest available)

- Choose partition to build the files on (needs to be a Linux partition, e.g. ext4 formatted)

2021-08-24-184006_502x336_scrot.png
2021-08-24-184006_502x336_scrot.png (45.42 KiB) Viewed 2503 times

- Choose kernel (with "rt" in the name) I chose: linux-image-5.10.0-8-rt-amd64-unsigned ("unsigned" should be OK)

2021-08-24-184136_402x252_scrot.png
2021-08-24-184136_402x252_scrot.png (28.87 KiB) Viewed 2503 times

- Installing...

2021-08-24-184242_887x223_scrot.png
2021-08-24-184242_887x223_scrot.png (44.59 KiB) Viewed 2503 times

- Creating .squashfs module...

2021-08-24-184748_602x183_scrot.png
2021-08-24-184748_602x183_scrot.png (22.66 KiB) Viewed 2503 times

- Finished... copy the files in this directory to the "live" frugal install folder (overwrite existing, recommended to make backup of the original files first)

2021-08-24-184911_552x151_scrot.png
2021-08-24-184911_552x151_scrot.png (16.42 KiB) Viewed 2503 times

Done! Reboot to make use of the new rt kernel.

Fred

User avatar
rockedge
Site Admin
Posts: 5711
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 1990 times
Been thanked: 2097 times
Contact:

Re: Real-time kernel on Bullseye

Post by rockedge »

very nice addition Fred!

User avatar
rcrsn51
Posts: 1202
Joined: Sun Aug 23, 2020 4:26 pm
Been thanked: 272 times

Re: Real-time kernel on Bullseye

Post by rcrsn51 »

Hi Fred:

When I run the mklive script, which kernel does it use - signed or unsigned?

User avatar
fredx181
Posts: 2560
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 273 times
Been thanked: 992 times
Contact:

Re: Real-time kernel on Bullseye

Post by fredx181 »

rcrsn51 wrote: Tue Aug 24, 2021 7:46 pm

Hi Fred:

When I run the mklive script, which kernel does it use - signed or unsigned?

It installs the meta-package: linux-image-amd64 (or for 32bit the i686 package)
That has, at this point in time, dependency: linux-image-5.10.0-8-amd64 (signed). https://packages.debian.org/en/bullseye ... .0-8-amd64

User avatar
fredx181
Posts: 2560
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 273 times
Been thanked: 992 times
Contact:

Re: Real-time kernel on Bullseye

Post by fredx181 »

rockedge wrote: Tue Aug 24, 2021 7:17 pm

very nice addition Fred!

Thanks, this option exists for some time already, just thought I'd do a little promotion now :) .

User avatar
stemsee
Posts: 656
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 0
Has thanked: 160 times
Been thanked: 104 times
Contact:

Re: Real-time kernel on Bullseye

Post by stemsee »

Is this the correct script after update? It doesn't seem to work as shown...

upgrade-kernel.gz
(11.6 KiB) Downloaded 71 times
User avatar
fredx181
Posts: 2560
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 273 times
Been thanked: 992 times
Contact:

Re: Real-time kernel on Bullseye

Post by fredx181 »

stemsee wrote: Wed Aug 25, 2021 11:46 am

Is this the correct script after update? It doesn't seem to work as shown...

upgrade-kernel.gz

No, it's for Ubuntu, probably you took it from FossaDog? Above how-to is for Debian Bullseye.
I don't think Ubuntu has a real-time kernel, but does have a "low-latency" kernel AFAIK.
Btw, upgrade-kernel is not a standalone script, it depends on initramfs skeleton (in /usr/local/cr-initrd)

User avatar
rcrsn51
Posts: 1202
Joined: Sun Aug 23, 2020 4:26 pm
Been thanked: 272 times

Re: Real-time kernel on Bullseye

Post by rcrsn51 »

fredx181 wrote: Tue Aug 24, 2021 8:11 pm

It installs the meta-package: linux-image-amd64 (or for 32bit the i686 package)
That has, at this point in time, dependency: linux-image-5.10.0-8-amd64 (signed). https://packages.debian.org/en/bullseye ... .0-8-amd64

Thanks. This is a huge advantage of overlayfs vs aufs - people can do their own kernel upgrades. And with a reliable kernel from a trustworthy source.

I have made the combo-wifi-driver-pack for k5.10.0-8-amd64.

Post Reply

Return to “DebianDogs”