System Grab Bag

View all TLDR pages from Linux (or from all pages)

genkernel

Gentoo Linux utility to compile and install kernels. More information: https://wiki.gentoo.org/wiki/Genkernel.
  • Automatically compile and install a generic kernel:
    sudo genkernel all
  • Build and install the bzImage|initramfs|kernel|ramdisk only:
    sudo genkernel {{bzImage|initramfs|kernel|ramdisk}}
  • Apply changes to the kernel configuration before compiling and installing:
    sudo genkernel --menuconfig all
  • Generate a kernel with a custom name:
    sudo genkernel --kernname={{custom_name}} all
  • Use a kernel source outside the default directory /usr/src/linux:
    sudo genkernel --kerneldir={{path/to/directory}} all

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.