kexec
Verified for current stable LTS
Kexec Command: Load New Kernel With Initrd And Arguments
Use for load new kernel with initrd and arguments with Kexec. Exact CLI syntax to load new kernel with initrd and arguments using Kexec.
When to use this: Use for load new kernel with initrd and arguments with Kexec.
Command Syntax
kexec -l <path/to/kernel> --initrd=<path/to/initrd> --command-line=<arguments> kexec -l <path/to/kernel> --initrd=<path/to/initrd> --command-line=<arguments> Live Command Builder
Final Command
kexec -l <path/to/kernel> --initrd=<path/to/initrd> --command-line=<arguments> Command Breakdown
-l- Command Option
- Tool-specific option used by this command invocation.
--initrd=<path/to/initrd>- Command Option
- Tool-specific option used by this command invocation.
--command-line=<arguments>- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to load new kernel with initrd and arguments using Kexec.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Kexec Command: Execute Currently Loaded Kernel
kexec -e Kexec Command: Load New Kernel With Initrd And Reuse Boot Parameters kexec -l <path/to/kernel> --initrd=<path/to/initrd> --reuse-cmdline Kexec Command: Unload Current Kexec Target Kernel kexec -u Jmeter Command: Run Test Plan Nongui Logfile jmeter -n -t <path/to/file.jmx> -l <path/to/logfile.jtl> Grep Command: Print File Name And Line Number With Color Output grep -Hn --color=always "<search_pattern>" <path/to/file>