1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 14:42:19 +02:00
tldr/pages/linux/genkernel.md
Lucas Gabriel Schneider a5fe31bc47
multiple pages: format technical tokens (#5119)
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2021-01-31 12:05:18 -05:00

23 lines
597 B
Markdown

# genkernel
> Gentoo Linux utility to compile and install kernels.
- 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 of the default directory `/usr/src/linux`:
`sudo genkernel --kerneldir={{path/to/directory}} all`