mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-11-01 04:05:15 +08:00
17 lines
557 B
Markdown
17 lines
557 B
Markdown
# kernel-install
|
|
|
|
> Add and remove kernel and initrd images to and from `/boot`.
|
|
> More information: <https://www.freedesktop.org/software/systemd/man/latest/kernel-install.html>.
|
|
|
|
- Add kernel and initramfs images to bootloader partition:
|
|
|
|
`sudo kernel-install add {{kernel-version}} {{kernel-image}} {{path/to/initrd-file ...}}`
|
|
|
|
- Remove kernel from the bootloader partition:
|
|
|
|
`sudo kernel-install remove {{kernel-version}}`
|
|
|
|
- Show various paths and parameters that have been configured or auto-detected:
|
|
|
|
`sudo kernel-install inspect {{kernel-image}}`
|