Comment # 9 on bug 1010656 from
(In reply to Andreas Schneider from comment #8)
> I'm not a kernel developer, but I tried to bisect.
> 
> However after:
> 
> make
> make install
> grub2-mkconfig -o /boot/grub2/grub.cfg
> 
> and reboot I was not able to start that kernel it crashed. Also 'make
> install' told me I need a initrd ...
> 
> So did
> make
> make install
> make modules_install
> mkinitrd
> 
> Now even a normal SUSE kernel doesn't boot anymore. Please provide better
> instructions. I'm going to try to fix my system now ...

Sorry, I overlooked your inquiry!  Too bad that it didn't work easily.

I attach below two scripts I often use for myself; the first one is to install
a self-made kernel.  Just run the script on the kernel tree you built, then
it'll include the kernel, System.map and modules, update bootloader, etc. 
You'd need to pass -f option if the kernel was already installed and you want
to just update / re-install the same kernel version.

Another one is to remove the installed kernels and modules.  Just pass the
kernel version-release string, or pass the file name /boot/vmlinuz-4.4.x-xyz,
then the script will guess and remove the corresponding ones.

Last but not least: don't forget to change CONFIG_LOCALVERSION in your .config
after running make localmodconfig.  The point is to install a different kernel
flavor so that the original kernel is kept intact.


You are receiving this mail because: