mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 17:26:01 +02:00
genkernel: add page (#1433)
This commit is contained in:
parent
9abde0228e
commit
3f4742d021
1 changed files with 23 additions and 0 deletions
23
pages/linux/genkernel.md
Normal file
23
pages/linux/genkernel.md
Normal file
|
@ -0,0 +1,23 @@
|
|||
# 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`
|
Loading…
Add table
Reference in a new issue