mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 16:26:04 +02:00
kexec: add page
This commit is contained in:
parent
3a0d13a8d2
commit
f8adef4b51
1 changed files with 19 additions and 0 deletions
19
pages/linux/kexec.md
Normal file
19
pages/linux/kexec.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
# kexec
|
||||
|
||||
> Directly reboot into a new kernel.
|
||||
|
||||
- Load a new kernel:
|
||||
|
||||
`kexec -l {{/path/to/kernel}} --initrd={{/path/to/initrd}} --command-line={{arguments}}`
|
||||
|
||||
- Load a new kernel with current boot parameters:
|
||||
|
||||
`kexec -l {{/path/to/kernel}} --initrd={{/path/to/initrd}} --reuse-cmdline`
|
||||
|
||||
- Execute a currently loaded kernel:
|
||||
|
||||
`kexec -e`
|
||||
|
||||
- Unload current kexec target kernel:
|
||||
|
||||
`kexec -u`
|
Loading…
Add table
Reference in a new issue