diff --git a/nixos/doc/manual/administration/rebooting.chapter.md b/nixos/doc/manual/administration/rebooting.chapter.md
new file mode 100644
index 000000000000..7a16a3a4ce5c
--- /dev/null
+++ b/nixos/doc/manual/administration/rebooting.chapter.md
@@ -0,0 +1,31 @@
+# Rebooting and Shutting Down {#sec-rebooting}
+
+The system can be shut down (and automatically powered off) by doing:
+
+```ShellSession
+# shutdown
+```
+
+This is equivalent to running `systemctl poweroff`.
+
+To reboot the system, run
+
+```ShellSession
+# reboot
+```
+
+which is equivalent to `systemctl reboot`. Alternatively, you can
+quickly reboot the system using `kexec`, which bypasses the BIOS by
+directly loading the new kernel into memory:
+
+```ShellSession
+# systemctl kexec
+```
+
+The machine can be suspended to RAM (if supported) using `systemctl
+ suspend`, and suspended to disk using `systemctl
+ hibernate`.
+
+These commands can be run by any user who is logged in locally, i.e. on
+a virtual console or in X11; otherwise, the user is asked for
+authentication.
diff --git a/nixos/doc/manual/administration/rebooting.xml b/nixos/doc/manual/administration/rebooting.xml
deleted file mode 100644
index c57d885c5f3c..000000000000
--- a/nixos/doc/manual/administration/rebooting.xml
+++ /dev/null
@@ -1,35 +0,0 @@
-
- Rebooting and Shutting Down
-
- The system can be shut down (and automatically powered off) by doing:
-
-# shutdown
-
- This is equivalent to running systemctl poweroff.
-
-
- To reboot the system, run
-
-# reboot
-
- which is equivalent to systemctl reboot. Alternatively,
- you can quickly reboot the system using kexec, which
- bypasses the BIOS by directly loading the new kernel into memory:
-
-# systemctl kexec
-
-
-
- The machine can be suspended to RAM (if supported) using systemctl
- suspend, and suspended to disk using systemctl
- hibernate.
-
-
- These commands can be run by any user who is logged in locally, i.e. on a
- virtual console or in X11; otherwise, the user is asked for authentication.
-
-
diff --git a/nixos/doc/manual/administration/running.xml b/nixos/doc/manual/administration/running.xml
index 73dff4691920..30322e7239c7 100644
--- a/nixos/doc/manual/administration/running.xml
+++ b/nixos/doc/manual/administration/running.xml
@@ -11,7 +11,7 @@
-
+
diff --git a/nixos/doc/manual/from_md/administration/rebooting.chapter.xml b/nixos/doc/manual/from_md/administration/rebooting.chapter.xml
new file mode 100644
index 000000000000..78ee75afb642
--- /dev/null
+++ b/nixos/doc/manual/from_md/administration/rebooting.chapter.xml
@@ -0,0 +1,38 @@
+
+ Rebooting and Shutting Down
+
+ The system can be shut down (and automatically powered off) by
+ doing:
+
+
+# shutdown
+
+
+ This is equivalent to running systemctl poweroff.
+
+
+ To reboot the system, run
+
+
+# reboot
+
+
+ which is equivalent to systemctl reboot.
+ Alternatively, you can quickly reboot the system using
+ kexec, which bypasses the BIOS by directly
+ loading the new kernel into memory:
+
+
+# systemctl kexec
+
+
+ The machine can be suspended to RAM (if supported) using
+ systemctl suspend, and suspended to disk using
+ systemctl hibernate.
+
+
+ These commands can be run by any user who is logged in locally, i.e.
+ on a virtual console or in X11; otherwise, the user is asked for
+ authentication.
+
+