1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-23 06:35:23 +02:00

kexec: add page (#1769)

This commit is contained in:
Starbeamrainbowlabs 2017-12-09 17:03:22 +00:00 committed by GitHub
commit 7d7cbb6ceb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

19
pages/linux/kexec.md Normal file
View 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`