Neofetch says i'm using an older kernel even though i have only the latest kernel installed

i think there’s a problem with grub .

Yes, depending on what Garuda packages you removed this is very likely.

This is a very simple request; can you take a look when you have a chance? The output could be informative.

1 Like

i did . it didnt show me any output

No output at all would indicate you did not do it correctly. What was your method for reinstalling the kernel?

Try like this:

sudo pacman -S linux-zen

I mean i did reinstall the kernel , no errors

how do i reinstall garuda grub default settings?

Please paste the output into the thread, whether or not you see any errors.

sudo pacman -S linux-zen                                                                  ░▒▓ ✘ 1  6s ▓▒░
[sudo] password for houssem:          
warning: linux-zen-6.6.2.zen1-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) linux-zen-6.6.2.zen1-1

Total Installed Size:  133.26 MiB
Net Upgrade Size:        0.00 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                        [--------------------------------------] 100%
(1/1) checking package integrity                                      [--------------------------------------] 100%
(1/1) loading package files                                           [--------------------------------------] 100%
(1/1) checking for file conflicts                                     [--------------------------------------] 100%
(1/1) checking available disk space                                   [--------------------------------------] 100%
:: Running pre-transaction hooks...
(1/3) Rejecting pacman transaction if running in snapshot...
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: warning: stray \ before /
(2/3) Performing snapper pre snapshots for the following configurations...
==> root: 2254
(3/3) Saving Linux kernel modules...
:: Processing package changes...
(1/1) reinstalling linux-zen                                          [--------------------------------------] 100%
:: Running post-transaction hooks...
( 1/10) Restoring Linux kernel modules...
++ uname -r
+ KVER=6.5.8-zen1-1-zen
+ test -e /usr/lib/modules/backup/6.5.8-zen1-1-zen
+ rsync -AHXal --ignore-existing /usr/lib/modules/backup/6.5.8-zen1-1-zen /usr/lib/modules/
+ rm -rf /usr/lib/modules/backup
( 2/10) Arming ConditionNeedsUpdate...
( 3/10) Updating module dependencies...
( 4/10) Updating linux initcpios...


!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

The kernel update failed to determine how to update initramfs.
You will need to update manually using mkinitcpio or dracut yourself or your system WILL NOT BE BOOTABLE.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Waiting 10 seconds.

( 5/10) Refreshing PackageKit...
( 6/10) Foreign/AUR package notification
pamac-appstream-hook 1-1
spotify-remove-ad-banner 5-1
( 7/10) Orphaned package notification...
=> No orphans found.
( 8/10) Checking for .pacnew and .pacsave files...
.pac* files found:
/etc/bluetooth/main.conf.pacnew
/etc/shells.pacnew
/etc/locale.gen.pacnew
/etc/default/grub.pacnew
/etc/default/grub-btrfs/config.pacnew
/etc/pamac.conf.pacsave.6
/etc/pamac.conf.pacsave.8
/etc/pacman.conf.pacnew
/etc/pacman.d/mirrorlist.pacnew
/etc/paru.conf.pacnew
/etc/samba/smb.conf.pacnew
/etc/sudoers.pacnew
Please check and merge
( 9/10) Performing snapper post snapshots for the following configurations...
==> root: 2255
(10/10) Syncing all file systems...

now I have errors

Yes…yes you do. :smirk:

My advice is to restore a snapshot from before this adventure took place:

2 Likes

okay

  1. uname -r returns the wrong kernel version:
++ uname -r
+ KVER=6.5.8-zen1-1-zen
  1. The why is here:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!

The kernel update failed to determine how to update initramfs.
You will need to update manually using mkinitcpio or dracut yourself or your system WILL NOT BE BOOTABLE.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!

This is the reason why fastfetch, inxi and garuda-gnome-settings show the “wrong” kernel version.

  1. Whether mkinitcpio or dracut is installed can only be guessed, since he hasn’t posted garuda-inxi yet.

  2. I respect your patience @BluishHumility, it’s too much for me on a Sunday :saluting_face:

3 Likes

Yes, that’s right. Since they don’t have garuda-inxi my guess is they removed the garuda-common-settings package…but the initramfs error makes me suspect they also removed garuda-dracut-support (which provides the 90-dracut-install.hook and the dracut-rebuild script).

Who knows what else? That’s why I think it will be best to restore a snapshot, and then make a better effort to not blindly uninstall stuff.

These apps were all showing the “right” kernel version actually–as in, they were accurately showing the kernel version that had been booted. The more recent kernel version was not able to be booted because there was no initramfs for it. Oops! :face_with_peeking_eye:

I’m not going to lie, I was :pinching_hand: this close to bailing out on this thread. :joy:

4 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.