< Kernel

Kernel/Rebuild

Common[edit | edit source]

Exit the kernel configuration and rebuild the kernel using the following command:

root #make && make modules_install

Do not forget to copy the newly compiled kernel image to the /boot location. If applicable mount /boot.

root #mount /boot
root #make install

Update the boot loader[edit | edit source]

Using GRUB2[edit | edit source]

Update the boot loader configuration prior to rebooting the system. For instance, when using GRUB2, these steps can be done by running the following command:

root #grub-mkconfig -o /boot/grub/grub.cfg

Using EFI stub kernel[edit | edit source]

Users of EFI stub kernel follow the procedure in the Installation section.

Reboot[edit | edit source]

Reboot for the new kernel configuration to take effect:

root #reboot
This article is issued from Gentoo. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.