nixos/docs: updated MBR partitioning steps

This commit is contained in:
Benjamin Sayers 2022-08-25 16:44:10 +01:00 committed by cwlo
parent 2c9fb7abc2
commit 0c59d1f2a3
2 changed files with 16 additions and 1 deletions

View file

@ -243,6 +243,15 @@ OK
</para>
<programlisting>
# parted /dev/sda -- mkpart primary 1MB -8GB
</programlisting>
</listitem>
<listitem>
<para>
Set the <emphasis>root</emphasis> partitions boot flag to
on. This allows the disk to be booted from.
</para>
<programlisting>
# parted /dev/sda -- set 1 boot on
</programlisting>
</listitem>
<listitem>

View file

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