On Thu, Apr 1, 2021 at 2:40 PM Riccardo Mottola <riccardo.mott...@libero.it> wrote: > multix@narya:~/code/linux-stable$ time sudo make install > sh ./arch/sparc/boot/install.sh 5.12.0-rc5+ arch/sparc/boot/zImage \ > System.map "/boot" > run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 5.12.0-rc5+ > /boot/vmlinuz-5.12.0-rc5+ > run-parts: executing /etc/kernel/postinst.d/initramfs-tools 5.12.0-rc5+ > /boot/vmlinuz-5.12.0-rc5+ > update-initramfs: Generating /boot/initrd.img-5.12.0-rc5+ > run-parts: executing /etc/kernel/postinst.d/zz-update-grub 5.12.0-rc5+ > /boot/vmlinuz-5.12.0-rc5+ > Generating grub configuration file ... > Found linux image: /boot/vmlinuz-5.12.0-rc5+ > Found initrd image: /boot/initrd.img-5.12.0-rc5+ > Found linux image: /boot/vmlinuz-5.12.0-rc5+.old > Found initrd image: /boot/initrd.img-5.12.0-rc5+ > Found linux image: /boot/vmlinux-5.10.0-4-sparc64-smp > Found initrd image: /boot/initrd.img-5.10.0-4-sparc64-smp > Found linux image: /boot/vmlinux-5.10.0-trunk-sparc64-smp > Found initrd image: /boot/initrd.img-5.10.0-trunk-sparc64-smp > Found linux image: /boot/vmlinux-5.9.0-5-sparc64-smp > Found initrd image: /boot/initrd.img-5.9.0-5-sparc64-smp > done > > At boot: > > Loading Linux 5.12.0-rc5+ ... > error: premature end of file /vmlinuz-5.12.0-rc5+. > Loading initial ramdisk ... > error: you need to load the kernel first.
current grub2 version does not support compressed image kernels, do the following: gzip -dc /boot/vmlinuz-5.12.0-rc5+ > /boot/vmlinux-5.12.0-rc5+ rm /boot/vmlinuz-5.12.0-rc5+ update-grub and reboot