Files
Adriano Inghingolo ee83d10855 kernelstub: add page (#21615)
Co-authored-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com>
2026-03-24 16:44:09 +01:00

33 lines
872 B
Markdown

# kernelstub
> Automatically manage Linux kernel loading on (U)EFI.
> More information: <https://github.com/isantop/kernelstub#usage>.
- Configure the current kernel with default options:
`sudo kernelstub`
- Add custom kernel options:
`sudo kernelstub {{[-o|--options]}} "{{quiet splash mitigations=off}}"`
- Run in verbose mode with `systemd-boot` configuration:
`sudo kernelstub {{[-v|--verbose]}} {{[-l|--loader]}}`
- Copy kernel only to ESP without NVRAM changes:
`sudo kernelstub {{[-m|--manage-only]}}`
- Run a simulation without making any changes (dry-run):
`sudo kernelstub {{[-c|--dry-run]}}`
- Specify paths manually:
`sudo kernelstub {{[-k|--kernel-path]}} /{{path/to/vmlinuz}} {{[-i|--initrd-path]}} /{{path/to/initrd.img}} {{[-e|--esp-path]}} /{{path/to/efi_partition}}`
- Show current configuration:
`sudo kernelstub {{[-p|--print-config]}}`