mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
22 lines
642 B
Plaintext
22 lines
642 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# kernel-install
|
|
|
|
> Add and remove kernel and initrd images to and from `/boot`.
|
|
> More information: <https://www.freedesktop.org/software/systemd/man/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}}`
|