Explorar o código

kexec: add page

Marius Gherman %!s(int64=7) %!d(string=hai) anos
pai
achega
f8adef4b51
Modificáronse 1 ficheiros con 19 adicións e 0 borrados
  1. 19 0
      pages/linux/kexec.md

+ 19 - 0
pages/linux/kexec.md

@@ -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`