2017-07-27 22:21:36 +01:00
|
|
|
# genkernel
|
|
|
|
|
|
|
|
> Gentoo Linux utility to compile and install kernels.
|
2021-07-09 15:45:55 +01:00
|
|
|
> More information: <https://wiki.gentoo.org/wiki/Genkernel>.
|
2017-07-27 22:21:36 +01:00
|
|
|
|
|
|
|
- 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`
|
|
|
|
|
2021-08-15 18:59:09 +01:00
|
|
|
- Use a kernel source outside the default directory `/usr/src/linux`:
|
2017-07-27 22:21:36 +01:00
|
|
|
|
|
|
|
`sudo genkernel --kerneldir={{path/to/directory}} all`
|