Skip to content

Create link to vmlinuz in kernel modules directory#195

Open
patjak wants to merge 1 commit into
openSUSE:masterfrom
patjak:fix-missing-vmlinuz
Open

Create link to vmlinuz in kernel modules directory#195
patjak wants to merge 1 commit into
openSUSE:masterfrom
patjak:fix-missing-vmlinuz

Conversation

@patjak

@patjak patjak commented Jun 3, 2026

Copy link
Copy Markdown

I'm not sure if this is the correct way to handle it but it fixes my immediate problem:

sdbootutil expects vmlinuz to exist in the kernel modules directory (eg. /lib/modules/6.14.0/vmlinuz). When doing a normal "make && make modules_install && make install" this file is not created and thus the call to sdbootutil add-kernel fails with the follow error:

  • sdbootutil add-kernel 6.14.0 ERROR: Can't find /lib/modules/6.14.0/vmlinuz

Fix this by creating a symbolic link to /boot/vmlinuz-

sdbootutil expects vmlinuz to exist in the kernel modules directory (eg.
/lib/modules/6.14.0/vmlinuz). When doing a normal "make && make
modules_install && make install" this file is not created and thus the
call to sdbootutil add-kernel <kernel-version> fails with the follow
error:
+ sdbootutil add-kernel 6.14.0
ERROR: Can't find /lib/modules/6.14.0/vmlinuz

Fix this by creating a symbolic link to /boot/vmlinuz-<kernel-version>

Signed-off-by: Patrik Jakobsson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant