docs(zbm): bootfs property indicates preferred/default boot environment (#1)
This commit is contained in:
parent
f9cb8c57a3
commit
ac0e7dadf1
@ -79,7 +79,7 @@ The ZFS pool and dataset setup that makes this tick, explained in plain English.
|
||||
1. Neither the root dataset nor the pool are mounted at this time. We now create one boot environment dataset where we want to install Arch Linux.
|
||||
1. `-o mountpoint=/`: Our Arch Linux dataset will be mounted at `/`.
|
||||
1. `-o canmount=noauto`: When set to `noauto`, a dataset can only be mounted and unmounted explicitly. The dataset is not mounted automatically when the dataset is created or imported, nor is it mounted by the `zfs mount -a` command or unmounted by the `zfs unmount -a` command.
|
||||
1. We then `zpool set bootfs="zpool/root/archlinux" zpool`: ZFSBootMenu uses the `bootfs` property to identify suitable boot environments. If only one dataset has it - as is the case here - it'll be booted by default with a 10-second countdown allowing manual interaction in ZFSBootMenu.
|
||||
1. We then `zpool set bootfs="zpool/root/archlinux" zpool`: ZFSBootMenu uses the `bootfs` property to identify suitable boot environments. If only one pool has it - as is the case here - it identifies the pool's preferred boot dataset that will be booted with a 10-second countdown allowing manual interaction in ZFSBootMenu.
|
||||
1. We explicitly mount the boot environment. Since the entire pool is still subject to our initial `-R /mnt` during creation a `zfs mount zpool/root/archlinux` will mount the Arch Linux dataset not into `/` but instead into `/mnt`.
|
||||
1. We also create a `data` dataset that - at least for now - we use to store only our `/home` data.
|
||||
1. For `zpool/data`:
|
||||
|
Loading…
x
Reference in New Issue
Block a user