nixos/docs: updated MBR partitioning steps
This commit is contained in:
parent
2c9fb7abc2
commit
0c59d1f2a3
|
@ -243,6 +243,15 @@ OK
|
|||
</para>
|
||||
<programlisting>
|
||||
# parted /dev/sda -- mkpart primary 1MB -8GB
|
||||
</programlisting>
|
||||
</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>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue