diff options
author | Benjamin Sayers <bsayers2302@outlook.com> | 2022-08-25 16:44:10 +0100 |
---|---|---|
committer | cwlo <git@cwlo.io> | 2022-08-25 20:13:46 +0100 |
commit | 0c59d1f2a3799c6004435b91d682b4448511ea3c (patch) | |
tree | bb69e49aaa1b448a17e02034a2a2a4ceecfcc129 /nixos | |
parent | 2c9fb7abc2277f18cd11a2726cdfab57078cdb6f (diff) | |
download | nixlib-0c59d1f2a3799c6004435b91d682b4448511ea3c.tar nixlib-0c59d1f2a3799c6004435b91d682b4448511ea3c.tar.gz nixlib-0c59d1f2a3799c6004435b91d682b4448511ea3c.tar.bz2 nixlib-0c59d1f2a3799c6004435b91d682b4448511ea3c.tar.lz nixlib-0c59d1f2a3799c6004435b91d682b4448511ea3c.tar.xz nixlib-0c59d1f2a3799c6004435b91d682b4448511ea3c.tar.zst nixlib-0c59d1f2a3799c6004435b91d682b4448511ea3c.zip |
nixos/docs: updated MBR partitioning steps
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/doc/manual/from_md/installation/installing.chapter.xml | 9 | ||||
-rw-r--r-- | nixos/doc/manual/installation/installing.chapter.md | 8 |
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..59a11fdfe275 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 <emphasis>root</emphasis> 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..d4c0e74939d1 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 |