Options (9)
-o, --optionsbooleanAdd custom kernel options
Example:
sudo kernelstub {{[-o|--options]}} "{{quiet splash mitigations=off}}"-v, --verbosebooleanRun in verbose mode with `systemd-boot` configuration
Example:
sudo kernelstub {{[-v|--verbose]}} {{[-l|--loader]}}-l, --loaderbooleanRun in verbose mode with `systemd-boot` configuration
Example:
sudo kernelstub {{[-v|--verbose]}} {{[-l|--loader]}}-m, --manage-onlybooleanCopy kernel only to ESP without NVRAM changes
Example:
sudo kernelstub {{[-m|--manage-only]}}-c, --dry-runbooleanRun a simulation without making any changes (dry-run)
Example:
sudo kernelstub {{[-c|--dry-run]}}-k, --kernel-pathbooleanSpecify paths manually
Example:
sudo kernelstub {{[-k|--kernel-path]}} /{{path/to/vmlinuz}} {{[-i|--initrd-path]}} /{{path/to/initrd.img}} {{[-e|--esp-path]}} /{{path/to/efi_partition}}-i, --initrd-pathbooleanSpecify paths manually
Example:
sudo kernelstub {{[-k|--kernel-path]}} /{{path/to/vmlinuz}} {{[-i|--initrd-path]}} /{{path/to/initrd.img}} {{[-e|--esp-path]}} /{{path/to/efi_partition}}-e, --esp-pathbooleanSpecify paths manually
Example:
sudo kernelstub {{[-k|--kernel-path]}} /{{path/to/vmlinuz}} {{[-i|--initrd-path]}} /{{path/to/initrd.img}} {{[-e|--esp-path]}} /{{path/to/efi_partition}}-p, --print-configbooleanShow current configuration
Example:
sudo kernelstub {{[-p|--print-config]}}Examples (7)
Configure the current kernel with default options
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_partitionShow current configuration
sudo kernelstub [-p|--print-config]made by @shridhargupta | data from tldr-pages