Some notes of genkernel

Here I listing some notes when I use genkernel in gentoo for the box ‘par’. The reference is Configuring the Kernel. Because I did not copy the configure file as default via # zcat /proc/config.gz > /usr/share/genkernel/arch/x86/kernel-config, the configuration will be reset every time I generated it. Because it is for some historical issue, I’ve found alternative way to it.

1
2
# cp /etc/kernels/{old kernel version} /etc/kernels/{new kernel version}
# genkernel --menuconfig all

Finally, after compiling, the bzImage, modules will be installed into corresponding directories.

Another notice is, we should check the links for the kernel in the /boot directory and the configuration in grub to avoid any configuration issues.

Leave a Reply

Your email address will not be published. Required fields are marked *