Merge pull request #188314 from cw1o/docs/update-mbr-partition-steps

nixos/docs: updated MBR partitioning steps
This commit is contained in:
Florian Klink 2022-09-10 14:12:23 +02:00 committed by GitHub
commit d20ff65f00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 root 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