System booting and working fine, unstable branch.
Then sudo pacman -Suy
answer No.
Open Manjaro Settings Manager, Kernels and install linux611-6.11.1-1
, which installs linux611 6.11.1-1
and linux611-headers 6.11.1-1
.
After reboot the newer kernel is missing.
Perhaps for some reason the GRUB menu file didn’t get updated (it should be done automatically).
Check the timestamp on /boot/grub/grub.cfg, which might give you a clue. If necessary try running sudo update-grub
. (Perhaps just give that a go anyway).
beermad:
/boot/grub/grub.cfg
$ ls -l /boot/grub/grub.cfg
-rw-r--r-- 1 root root 9347 jun 19 13:24 /boot/grub/grub.cfg
Can’t update grub:
$ sudo update-grub
sudo: update-grub: command not found
Hmmm…
Curiously, update-grub seems to be a standalone package, though it shows as having been automatically installed on my own system. I only found out yesterday from the update’s thread here that update-grub is just a simplified wrapper for grub-mkconfig, so try:
sudo grub-mkconfig -o /boot/grub/grub.cfg
instead
2 Likes
@Tribble as well:
the sequence of commands which update-grub runs is:
sudo mkinitcpio -P
and then
sudo grub-mkconfig -o /boot/grub/grub.cfg
the first creates the initrd, the second updates the grub config file
the second one alone might not work
Install update-grub
- the kernel installer tool might rely on it being present.
3 Likes
BG405
3 October 2024 12:00
6
If not installed (or to find out if it is):
sudo pacman -Syu update-grub
I think it was separated out at some point. Mine’s also an old installation, ~7yr, and I seem to recall using this command well before 2024 (oldest entry I can find for it in my bash history is from mid-March this year).
1 Like
Working now:
$ sudo mkinitcpio -P
==> Building image from preset: /etc/mkinitcpio.d/linux516.preset: 'default'
==> Using configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-5.16-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.16-x86_64.img
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-5.16-x86_64'
==> Building image from preset: /etc/mkinitcpio.d/linux516.preset: 'fallback'
==> Using configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-5.16-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.16-x86_64-fallback.img -S autodetect
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-5.16-x86_64'
==> Building image from preset: /etc/mkinitcpio.d/linux519.preset: 'default'
==> Using configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-5.19-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.19-x86_64.img
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-5.19-x86_64'
==> Building image from preset: /etc/mkinitcpio.d/linux519.preset: 'fallback'
==> Using configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-5.19-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.19-x86_64-fallback.img -S autodetect
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-5.19-x86_64'
==> Building image from preset: /etc/mkinitcpio.d/linux610.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-6.10-x86_64 -g /boot/initramfs-6.10-x86_64.img
==> Starting build: '6.10.7-1-MANJARO'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [kms]
-> Running build hook: [block]
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-6.10-x86_64.img'
-> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux610.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-6.10-x86_64 -g /boot/initramfs-6.10-x86_64-fallback.img -S autodetect
==> Starting build: '6.10.7-1-MANJARO'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-6.10-x86_64-fallback.img'
-> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux611.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-6.11-x86_64 -g /boot/initramfs-6.11-x86_64.img
==> Starting build: '6.11.1-1-MANJARO'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [kms]
-> Running build hook: [block]
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-6.11-x86_64.img'
-> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux611.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-6.11-x86_64 -g /boot/initramfs-6.11-x86_64-fallback.img -S autodetect
==> Starting build: '6.11.1-1-MANJARO'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-6.11-x86_64-fallback.img'
-> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux68.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-6.8-x86_64 -g /boot/initramfs-6.8-x86_64.img
==> ERROR: '/lib/modules/6.8.12-3-MANJARO' is not a valid kernel module directory
==> Building image from preset: /etc/mkinitcpio.d/linux68.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-6.8-x86_64 -g /boot/initramfs-6.8-x86_64-fallback.img -S autodetect
==> ERROR: '/lib/modules/6.8.12-3-MANJARO' is not a valid kernel module directory
==> Building image from preset: /etc/mkinitcpio.d/linux69.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-6.9-x86_64 -g /boot/initramfs-6.9-x86_64.img
==> Starting build: '6.9.12-3-MANJARO'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [kms]
-> Running build hook: [block]
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-6.9-x86_64.img'
-> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux69.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-6.9-x86_64 -g /boot/initramfs-6.9-x86_64-fallback.img -S autodetect
==> Starting build: '6.9.12-3-MANJARO'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-6.9-x86_64-fallback.img'
-> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
$ sudo grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-6.11-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-6.11-x86_64.img
Found initrd fallback image: /boot/initramfs-6.11-x86_64-fallback.img
Found linux image: /boot/vmlinuz-6.10-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-6.10-x86_64.img
Found initrd fallback image: /boot/initramfs-6.10-x86_64-fallback.img
Found linux image: /boot/vmlinuz-6.9-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-6.9-x86_64.img
Found initrd fallback image: /boot/initramfs-6.9-x86_64-fallback.img
Found linux image: /boot/vmlinuz-6.8-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-6.8-x86_64.img
Found initrd fallback image: /boot/initramfs-6.8-x86_64-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
$ uname -r
6.11.1-1-MANJARO
Thanks for the help, but it’s clear there’s a bug in the manjaro update scripts.
My suspicion is that they’re relying on update-grub being installed. So if you haven’t yet done so, I’d suggest installing it.
1 Like
Linux kernels 6.8 and 6.9 are not longer supported, you should have a look into Announcements before updating. Procedure would be to install a supported kernel, boot into it and then to remove the EOL kernels and no longer supprted kernels.
2 Likes
BG405
3 October 2024 13:00
10
An additional comment on this: Having old unsupported kernels present is likely to cause issues with future upgrades. Particularly if you try to perform the upgrade while actually running one of these kernels.
1 Like
system
Closed
6 October 2024 13:00
11
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.