mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
Merge pull request #188314 from cw1o/docs/update-mbr-partition-steps
nixos/docs: updated MBR partitioning steps
This commit is contained in:
commit
d20ff65f00
@ -243,6 +243,15 @@ OK
|
||||
</para>
|
||||
<programlisting>
|
||||
# parted /dev/sda -- mkpart primary 1MB -8GB
|
||||
</programlisting>
|
||||
</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>
|
||||
|
@ -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 New Issue
Block a user