mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-20 05:50:31 +00:00
Update cheatsheets
This commit is contained in:
25
linux/kexec
Normal file
25
linux/kexec
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# kexec
|
||||
|
||||
> Directly reboot into a new kernel.
|
||||
> More information: <https://manned.org/kexec>.
|
||||
|
||||
- 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`
|
||||
Reference in New Issue
Block a user