Files
tldr/pages.zh/linux/kernel-install.md

16 lines
552 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# kernel-install
> 将内核和初始化ramdiskinitrd镜像添加到 `/boot` 或从中删除。
> 更多信息:<https://manned.org/kernel-install.8>。
- 将内核和初始化文件系统initramfs镜像添加到引导加载程序分区
`sudo kernel-install add {{kernel-version}} {{kernel-image}} {{path/to/initrd-file ...}}`
- 从引导加载程序分区中删除内核:
`sudo kernel-install remove {{kernel-version}}`
- 显示已配置或自动检测的各种路径和参数:
`sudo kernel-install inspect {{kernel-image}}`