about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2022-09-10 14:12:23 +0200
committerGitHub <noreply@github.com>2022-09-10 14:12:23 +0200
commitd20ff65f00bc310572278b1173d6bad469fd67a3 (patch)
treecb431df62efc1058095916d5c1f6a1713fee2965 /nixos
parent725fe60de069ccdb8ba22da63d740cc572c559cb (diff)
parentc9627929279ebba679a357e3d5169e8011b2d692 (diff)
downloadnixlib-d20ff65f00bc310572278b1173d6bad469fd67a3.tar
nixlib-d20ff65f00bc310572278b1173d6bad469fd67a3.tar.gz
nixlib-d20ff65f00bc310572278b1173d6bad469fd67a3.tar.bz2
nixlib-d20ff65f00bc310572278b1173d6bad469fd67a3.tar.lz
nixlib-d20ff65f00bc310572278b1173d6bad469fd67a3.tar.xz
nixlib-d20ff65f00bc310572278b1173d6bad469fd67a3.tar.zst
nixlib-d20ff65f00bc310572278b1173d6bad469fd67a3.zip
Merge pull request #188314 from cw1o/docs/update-mbr-partition-steps
nixos/docs: updated MBR partitioning steps
Diffstat (limited to 'nixos')
-rw-r--r--nixos/doc/manual/from_md/installation/installing.chapter.xml9
-rw-r--r--nixos/doc/manual/installation/installing.chapter.md8
2 files changed, 16 insertions, 1 deletions
diff --git a/nixos/doc/manual/from_md/installation/installing.chapter.xml b/nixos/doc/manual/from_md/installation/installing.chapter.xml
index 0112458674b5..e0ff368b800c 100644
--- a/nixos/doc/manual/from_md/installation/installing.chapter.xml
+++ b/nixos/doc/manual/from_md/installation/installing.chapter.xml
@@ -247,6 +247,15 @@ OK
         </listitem>
         <listitem>
           <para>
+            Set the root partition’s boot flag to on. This allows the
+            disk to be booted from.
+          </para>
+          <programlisting>
+# parted /dev/sda -- set 1 boot on
+</programlisting>
+        </listitem>
+        <listitem>
+          <para>
             Finally, add a <emphasis>swap</emphasis> partition. The size
             required will vary according to needs, here a 8GiB one is
             created.
diff --git a/nixos/doc/manual/installation/installing.chapter.md b/nixos/doc/manual/installation/installing.chapter.md
index 7254f9d18406..b1e58b14b783 100644
--- a/nixos/doc/manual/installation/installing.chapter.md
+++ b/nixos/doc/manual/installation/installing.chapter.md
@@ -183,7 +183,13 @@ update /etc/fstab.
     # parted /dev/sda -- mkpart primary 1MB -8GB
     ```
 
-3.  Finally, add a *swap* partition. The size required will vary
+3.  Set the root partition's boot flag to on. This allows the disk to be booted from.
+
+    ```ShellSession
+    # parted /dev/sda -- set 1 boot on
+    ```
+
+4.  Finally, add a *swap* partition. The size required will vary
     according to needs, here a 8GiB one is created.
 
     ```ShellSession