mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-08 10:46:01 +00:00
Update cheatsheets
This commit is contained in:
29
linux/genkernel
Normal file
29
linux/genkernel
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user