which kernel I am running

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
bradnag
Posts: 48
Joined: 1. Nov 2022, 23:38

which kernel I am running

Post by bradnag »

Hi Folks,

1. I am running kernel 5.15.161 and regularly do upgrade with

Code: Select all

slapt-get -u && slapt-get --upgrade 
and

Code: Select all

slapt-get -i kernel-huge kernel-headers kernel-modules kernel-firmware kernel-source
D o I need to upgrade this kernel? I know slackware is 15.0 and the current is a rolling upgrade. Will this kernel ever upgrade using the command above or I have to install manually (which I do not want to do).
2. How can I know (other than grub) if I am running huge or generic? This salix is on partition on a multiboot machine (Ubuntu/Salix/Alpine)

Code: Select all

ll /boot
total 42232
drwxr-xr-x  4 root root     4096 May  6 18:51 ./
drwxr-xr-x 27 root root     4096 May  6 21:43 ../
lrwxrwxrwx  1 root root       38 Oct 18  2022 README.initrd -> /usr/doc/mkinitrd-1.4.11/README.initrd
lrwxrwxrwx  1 root root       27 May  6 10:07 System.map -> System.map-generic-5.15.161
-rw-r--r--  1 root root  5126698 Jun 16  2024 System.map-generic-5.15.161
-rw-r--r--  1 root root  6925103 Jun 16  2024 System.map-huge-5.15.161
-rw-r--r--  1 root root   148480 May  5 14:03 amd-ucode.img
-rw-r--r--  1 root root      137 Oct 18  2022 boot_message.txt
-rw-r--r--  1 root root      426 Aug  8  2022 coffee.dat
lrwxrwxrwx  1 root root       27 May  6 10:07 config -> config-generic-5.15.161.x64
-rw-r--r--  1 root root   239646 Jun 16  2024 config-generic-5.15.161.x64
-rw-r--r--  1 root root   239615 Jun 16  2024 config-huge-5.15.161.x64
-rwxr-xr-x  1 root root   215987 Nov 20  2017 elilo-ia32.efi*
-rwxr-xr-x  1 root root   237749 Nov 20  2017 elilo-x86_64.efi*
drwxr-xr-x  2 root root     4096 Sep 10  2021 grub/
drwxr-xr-x 14 root root     4096 May  6 18:51 initrd-tree/
-rw-r--r--  1 root root 10259517 May  6 18:51 initrd.gz
-rw-r--r--  1 root root      432 Aug  8  2022 inside.dat
-rw-r--r--  1 root root      424 Aug  8  2022 onlyblue.dat
-rw-r--r--  1 root root   307318 Aug  8  2022 salix.bmp
-rw-r--r--  1 root root      423 Aug  8  2022 tuxlogo.dat
lrwxrwxrwx  1 root root       24 May  6 10:07 vmlinuz -> vmlinuz-generic-5.15.161
lrwxrwxrwx  1 root root       24 May  6 10:07 vmlinuz-generic -> vmlinuz-generic-5.15.161
-rw-r--r--  1 root root  7834080 Jun 16  2024 vmlinuz-generic-5.15.161
lrwxrwxrwx  1 root root       21 Jun 29  2024 vmlinuz-huge -> vmlinuz-huge-5.15.161
-rw-r--r--  1 root root 11650336 Jun 16  2024 vmlinuz-huge-5.15.161
Thanks a lot!
User avatar
sammy
Posts: 32
Joined: 12. Sep 2013, 18:52

Re: which kernel I am running

Post by sammy »

1. Kernel 5.15.161 is the most recent one, so there's no need to update it.
2. Your ls output shows that vmlinuz is linked to the generic kernel, and if lilo or grub uses vmlinuz and not vmlinuz-huge, then the generic kernel is beeing booted.
bradnag
Posts: 48
Joined: 1. Nov 2022, 23:38

Re: which kernel I am running

Post by bradnag »

OK, thank you very much. This kernel is for some quite time and I thought maybe I am not upgrading properly.
bradnag
Posts: 48
Joined: 1. Nov 2022, 23:38

Re: which kernel I am running

Post by bradnag »

Is there a way to check which kernel generic or huge is running other than boodloaders?
User avatar
laprjns
Salix Warrior
Posts: 1112
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: which kernel I am running

Post by laprjns »

Use the command "uname -a" in a terminal. Here's what the response looks like.

Code: Select all

rich[~]$ uname -a
Linux Rich-Laptop.laprjns.com 5.15.161 #1 SMP PREEMPT Sun Jun 16 15:55:06 CDT 2024 x86_64 AMD Athlon Gold 3150U with Radeon Graphics AuthenticAMD GNU/Linux
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
bradnag
Posts: 48
Joined: 1. Nov 2022, 23:38

Re: which kernel I am running

Post by bradnag »

where tells you if it is huge or generic?
DidierSpaier
Posts: 539
Joined: 20. Jun 2016, 20:15

Re: which kernel I am running

Post by DidierSpaier »

cat /proc/cmdline
bradnag
Posts: 48
Joined: 1. Nov 2022, 23:38

Re: which kernel I am running

Post by bradnag »

Thank you, yes this shows what kernel booted.
Post Reply