ZFS: Difference between revisions
Rework encrypted zfs tutorial |
fixup some bits in the encrypted zfs pool tutorial |
||
Line 52: | Line 52: | ||
* 1G for boot partition with "boot" as the partition label (also called name in some tools) and ef00 as partition code | * 1G for boot partition with "boot" as the partition label (also called name in some tools) and ef00 as partition code | ||
* 10G for a swap partition with "swap" as the partition label and 8200 as partition code | * 10G for a swap partition with "swap" as the partition label and 8200 as partition code. We will encrypt this with a random secret on each boot. | ||
* The rest of disk space for zfs with "root" as the partition label and 8300 as partition code (default code) | * The rest of disk space for zfs with "root" as the partition label and 8300 as partition code (default code) | ||
Line 130: | Line 130: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
mkdir -p /mnt/boot | mkdir -p /mnt/boot | ||
mount /dev/disk/by- | mount /dev/disk/by-partlabel/boot /mnt/boot | ||
</syntaxhighlight> | </syntaxhighlight> | ||