snippetbashTip
genkernel — Gentoo Linux utility to compile and install kernels. More information: <https://wiki.gentoo.org/wiki
Viewed 0 times
commandgentooandcompileclilinuxgenkernelutility
linux
Problem
How to use the
genkernel command: Gentoo Linux utility to compile and install kernels. More information: <https://wiki.gentoo.org/wiki/Genkernel>.Solution
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 allBuild and install the bzImage, initramfs, kernel, or ramdisk only:
sudo genkernel {{bzImage|initramfs|kernel|ramdisk}}Apply changes to the kernel configuration before compiling and installing:
sudo genkernel --menuconfig allGenerate a kernel with a custom name:
sudo genkernel --kernname={{custom_name}} allUse a kernel source outside the default directory
/usr/src/linux:sudo genkernel --kerneldir={{path/to/directory}} allCode Snippets
Automatically compile and install a generic kernel
sudo genkernel allBuild and install the bzImage, initramfs, kernel, or ramdisk only
sudo genkernel {{bzImage|initramfs|kernel|ramdisk}}Apply changes to the kernel configuration before compiling and installing
sudo genkernel --menuconfig allGenerate a kernel with a custom name
sudo genkernel --kernname={{custom_name}} allUse a kernel source outside the default directory `/usr/src/linux`
sudo genkernel --kerneldir={{path/to/directory}} allContext
tldr-pages: linux/genkernel
Revisions (0)
No revisions yet.