This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.

Please visit our production wiki at https://wiki.gentoo.org

Kernel/Rebuild

From Gentoo Wiki (test)
< Kernel
Jump to:navigation Jump to:search
This page contains changes which are not marked for translation.

Common

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

Using GRUB2

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

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

Reboot

Reboot for the new kernel configuration to take effect:

root #reboot