Thank you. Unfortunately, adding the additional PATH to this file doesn't fix the problem. 'grub2-mkconfig' finds the new kernel, but after that we get the problem with PATH for initrd. Fixed. After that I'm happy to get the new problem with 'invalid magic number' and 'you need to load the kernel first'. Hate it... I made it many times. The same steps. Now it's all brok... changed. On Sun, May 12, 2024 at 4:28 PM Andrei Borzenkov <arvidjaar@gmail.com> wrote:
Hey, I'm trying to install the new vanilla kernel on tumbleweed.
What I did: # zypper in gcc make ncurses-devel bison flex libelf-devel
On 12.05.2024 16:50, Alexander Naumov wrote: libopenssl-devel bc
# make menuconfig # make -j4 # make modules_install # make install
Everything fine, I get vmlinux (not vmlinuz), System.map, etc.
Looking at /etc/grub.d/10_linux, it expects
case "x$machine" in xi?86 | xx86_64) klist="/boot/vmlinuz-* /vmlinuz-* /boot/kernel-*" ;;
In /boot I also have initrd.
By trying to update grub2 (by running 'grub2-mkconfig') I don't get any errors (return code 0), everything looks fine, but after that the new kernel is not listed in the config file. Does anybody can tell me what I miss?
I found a lot of documentation about SLE/openSUSE Kernel, but want to install new vanilla without any (open)SUSE-specific scripts, etc.
Thank you.
Cheers, Alex