Error: file `/boot/vmlinuz-6.9-x86_64’ not found . Cannot boot into manjaro

I installed the 6.11 kernel, and I got some strange messages. I am not sure it was OK. Please review the following log messages and tell me the installation went well or not.

The following packages will be installed:
linux611
linux611-nvidia

Starting
resolving dependencies...
looking for conflicting packages...
Packages (2) linux611-6.11.2-4  linux611-nvidia-550.120-7
Total Download Size:   189,97 MiB
Total Installed Size:  195,15 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
linux611-6.11.2-4-x86_64 downloading...
 linux611-nvidia-550.120-7-x86_64 downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing linux611...
Optional dependencies for linux611
    wireless-regdb: to set the correct wireless channels of your country [installed]
installing linux611-nvidia...
:: Running post-transaction hooks...
(1/5) Arming ConditionNeedsUpdate...
(2/5) Updating module dependencies...
(3/5) Install DKMS modules
==> ERROR: Missing 6.11.2-4-MANJARO kernel headers for module v4l2loopback/0.13.2.
(4/5) Updating linux initcpios...
==> 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.2-4-MANJARO'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [microcode]
-> Running build hook: [kms]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> 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.2-4-MANJARO'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [microcode]
-> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> 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
(5/5) Updating Kernel initcpios for Nvidia-DRM...


Done ...

It went well.
However:
you should be aware that this kernel may become EOL soon or at some time.

Install at least one that is labelled LTS.
Or two.

6.11 will be phased out eventually

in the GUI
manjaro-settings-manager

choose and install
boot into one of them
remove what you don’t want - except the one you are currently using …
as you don’t want to pull the rug from under your feet - and the system won’t let you do it either

Thanks for advices, soon I will install an LTS kernel.

You wrote: “it will be remembered for next time, as long as /etc/default/grub contains GRUB_DEFAULT=saved”.
In the GRUB advanced menu that shows still the 6.9 kernel.
Is there another way communicate with GRUB: please take my setting and remember that?
For the record, when I edit the grub config with ‘e’ the system boots well with the kernel 6.11.

in the “advanced” menu, all the possibilities are shown

What should happen with

is:
you select a kernel to boot from
you boot
you shut down
the next time you boot, that last choice should be the default

… is it not?



… whatever that is supposed to mean … :man_shrugging:

Do you suppose, at machine start in the advanced grub menu there is an option to boot the 6.11 kernel?

I don’t “suppose” anything.

Why don’t yo try and look?

1 Like

6.9 shouldn’t be installed any more, so it shouldn’t show in the grub menu.

Sounds like your grub hasn’t been updated for some reason.

sudo grub-mkconfig -o /boot/grub/grub.cfg

You need to select another kernel in the advanced menu.

I tried, and looked. And as I wrote earlier more than once, in the advanced grub menu is still the 6.9 option.

Are there any other kernels there?

… and why would it not be?

It’s not supported anymore - but it is still installed
and you did not remove it

Why would it not be there then?

No idea what the actual problem is.

Can’t you boot / choose to boot another kernel that is also installed?

Perhaps this:

And the new linux-meta which is AFAIK meant to remove EOL kernels.

:man_shrugging:

In the case of there are any other kernels I would wrote that. But I didn’t wrote.
So, as I wrote in the grub menu is the 6.9 kernel option.
Should I wrote there is no the 5.5 kernel, there is no 5.9 kernel, there is no 6.5, 6.6, 6.9, 6.10? Why?

Because it was replaced by the 6.10 and later (after cca. 30 mminutes) by the 6.11.

I didn’t ask you to list all non-installed kernels…I asked you to clarify if any others were listed…as what you wrote only tells us that 6.9 is there.

You could have just ignored the others…or just wondering why 6.9 was still there.

ls /boot

I’m a little more practical about this.
but:
I do have experience
general Linux experience
Arch experience
Manjaro experience.

And I do know how to thread beyond the recommended and beaten path.

I genuinely don’t grasp what the OP’s issue is :man_shrugging:

Perhaps you didn’t read this:
“I installed the 6.11 kernel, …”

I did read that, which is why was was asking for clarification. :smile:

So list the files in /boot, so we can see if the correct files are there. I also posted the command to update grub, the output of which could be helpful, even if the command itself doesn’t fix it.

ls /boot

I guess that is my fault I didn’t see any requirement from you to clarify if any others were listed. Could you be so kind to point out in which your post contains that. I think I must to learn to read better posts.

Of course.

EDIT:

@Nachlese

It seems grub doesn’t have any entries for the installed kernels but does have an old entry for 6.9, which is no longer installed.

I was thinking it may have been an issue I had recently, the initramfs had no version in the filename, but upon further inspection this indicates otherwise: