How to install an older kernel  [Solved]

Message
Author
fadi
Posts: 65
Joined: Tue Aug 15, 2023 3:17 pm

How to install an older kernel

#1 Post by fadi »

I installed these packages:

linux-headers-6.1.0-21-amd64 (6.1.90-1)
linux-headers-6.1.0-21-common (6.1.90-1)
linux-image-6.1.0-21-amd64 (6.1.90-1)



Do I need to do something else ?When I upgrade my system to a new kernel I believe there is a compiling process.
Last edited by fadi on Mon Feb 24, 2025 9:40 am, edited 1 time in total.

User avatar
Eadwine Rose
Administrator
Posts: 14918
Joined: Wed Jul 12, 2006 2:10 am

Re: How to install an older kernel

#2 Post by Eadwine Rose »

According to the forum rules (please read): Please provide full Quick System Info, use copy for forum button, no edits.
LiveUSB version is OK if needed.
MX-23.6_x64 July 31 2023 * 6.1.0-37amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
Stevo
Developer
Posts: 14718
Joined: Fri Dec 15, 2006 7:07 pm

Re: How to install an older kernel

#3 Post by Stevo »

Is there a pressing reason to install an older kernel with possible security flaws?
When I upgrade my system to a new kernel I believe there is a compiling process.
That is correct. Use MX Cleanup to remove unused wi-fi drivers to speed up the process.
MXPI = MX Package Installer
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing

fadi
Posts: 65
Joined: Tue Aug 15, 2023 3:17 pm

Re: How to install an older kernel

#4 Post by fadi »

The kernels installed are 6.1.0.31 and 6.0.1.30

Code: Select all

System:
  Kernel: 6.1.0-31-amd64 [6.1.90-1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-21-amd64 root=UUID=<filter> ro quiet splash
    init=/lib/systemd/systemd
  Desktop: Xfce v: 4.20.0 tk: Gtk v: 3.24.38 info: xfce4-panel wm: xfwm v: 4.20.0 vt: 7
    dm: LightDM v: 1.32.0 Distro: MX-23.5_x64 Libretto December 15  2024 base: Debian GNU/Linux 12
    (bookworm)
Machine:
  Type: Laptop System: Hewlett-Packard product: Compaq Presario CQ61 Notebook PC v: Rev 1
    serial: <superuser required> Chassis: Quanta type: 10 serial: <superuser required>
  Mobo: Quanta model: 3069 v: 21.12 serial: <superuser required> BIOS: Hewlett-Packard v: F.14
    date: 09/22/2009
CPU:
  Info: model: Celeron T3000 bits: 64 type: MCP arch: Penryn level: v1 built: 2008
    process: Intel 45nm family: 6 model-id: 0x17 (23) stepping: 0xA (10) microcode: 0xA0B
  Topology: cpus: 1x cores: 2 smt: <unsupported> cache: L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB
    L2: 1024 KiB desc: 1x1024 KiB
  Speed (MHz): avg: 1790 high: 1791 min/max: N/A cores: 1: 1791 2: 1790 bogomips: 7181
  Flags: ht lm nx pae sse sse2 sse3 ssse3

Code: Select all

Graphics:
  Device-1: Intel Mobile 4 Series Integrated Graphics vendor: Hewlett-Packard driver: i915
    v: kernel arch: Gen-5 process: Intel 45nm built: 2008 ports: active: LVDS-1 empty: DP-1, DP-2,
    HDMI-A-1, VGA-1 bus-ID: 00:02.0 chip-ID: 8086:2a42 class-ID: 0300
  Device-2: Quanta HP Webcam-101 type: USB driver: uvcvideo bus-ID: 5-4:6 chip-ID: 0408:0f41
    class-ID: 0e02 serial: <filter

Code: Select all

Drives:
  Local Storage: total: 119.24 GiB used: 54.1 GiB (45.4%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Hikvision model: HS-SSD-Desire S 128G size: 119.24 GiB
    block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s type: SSD serial: <filter> rev: 4A0
    scheme: MBR
My computer is old and I thought I should try and install an older kernel in order to speed it up . The oldest available in the repo is 6.1.0.21. I installed these packages:
linux-headers-6.1.0-21-amd64 (6.1.90-1)
linux-headers-6.1.0-21-common (6.1.90-1)
linux-image-6.1.0-21-amd64 (6.1.90-1)

Am I doing the steps right?

User avatar
j2mcgreg
Global Moderator
Posts: 6988
Joined: Tue Oct 23, 2007 12:04 pm

Re: How to install an older kernel

#5 Post by j2mcgreg »

I would have used MX Package Installer to install the antiX 4.19 or the even older antiX 4.9 ( which would have been current to when your laptop was built). Then try newer kernels until performance starts to suffer.
Last edited by j2mcgreg on Mon Feb 24, 2025 9:45 am, edited 1 time in total.
Reason: typo
HP 15; ryzen 3 5300U APU; 500 Gb SSD; 8GB ram
HP 17; ryzen 3 3200; 500 GB SSD; 12 GB ram
Idea Center 3; 12 gen i5; 256 GB ssd;

In Linux, newer isn't always better. The best solution is the one that works.

fadi
Posts: 65
Joined: Tue Aug 15, 2023 3:17 pm

Re: How to install an older kernel  [Solved]

#6 Post by fadi »

I tried antix kernel 4.9 and 5.10 but none of them booted properly. I will try to install mx 21 series. Sorry to bother you.

User avatar
Stevo
Developer
Posts: 14718
Joined: Fri Dec 15, 2006 7:07 pm

Re: How to install an older kernel

#7 Post by Stevo »

There is little difference between 6.1.0-21 and 6.1.0-31 other than bug fixes. Usually, installing an older kernel won't speed up an older machine. A Liquorix kernel might be more responsive, but I doubt that would be detectable on older hardware. MX 21 kernels won't be any better on MX 23, and usually are more problematic.
MXPI = MX Package Installer
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing

User avatar
DukeComposed
Posts: 1454
Joined: Thu Mar 16, 2023 1:57 pm

Re: How to install an older kernel

#8 Post by DukeComposed »

fadi wrote: Mon Feb 24, 2025 9:24 am My computer is old and I thought I should try and install an older kernel in order to speed it up . The oldest available in the repo is 6.1.0.21.
OK, so you aren't really trying to install an older kernel. You're trying to install a more broken version of the same kernel.
Stevo wrote: Mon Feb 24, 2025 12:01 pm There is little difference between 6.1.0-21 and 6.1.0-31 other than bug fixes.
In other words, you attempted to move from a 6.1 kernel to a less reliable or less secure 6.1 kernel hoping that would make your system faster. This is not how you make your system faster. I haven't seen you mention anything yet about any actual performance issues, so if this is just a case of wishfully thinking running older software is going to be a rejuvenating experience I'd advise against it. Profile, don't speculate. You can test both MX-21 and antiX on the same hardware to gauge whether or not you find them more performant, but if I were in this situation, I'd try the antiX kernels on MX-23 in MXPI first and see if they provide the speed and stability you're looking to find.

fadi
Posts: 65
Joined: Tue Aug 15, 2023 3:17 pm

Re: How to install an older kernel

#9 Post by fadi »

Thanks everyone. I learn more about Linux from you.

Post Reply

Return to “Software / Configuration”