You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,21 +93,21 @@ Because ZFS properties are inherited by default, it is possible to set the `org.
93
93
As a special accommodation, the substitution keyword `%{parent}` in the KCL property will be recursively expanded to whatever the value of `org.zfsbootmenu:commandline` would be on the parent dataset. This allows, for example, mixing options common to multiple environments with those specific to each:
94
94
95
95
```sh
96
-
zfs set org.zfsbootmenu:commandline="zfs.zfs_arc_max=8589934592 elevator=noop" zroot/ROOT
96
+
zfs set org.zfsbootmenu:commandline=""zfs.zfs_arc_max=8589934592"" zroot/ROOT
97
97
zfs set org.zfsbootmenu:commandline="%{parent} loglevel=4" zroot/ROOT/void.2019.11.01
98
98
zfs set org.zfsbootmenu:commandline="loglevel=7 %{parent}" zroot/ROOT/void.2019.10.04
99
99
```
100
100
101
101
will cause ZFSBootMenu to interpret the KCL for `zroot/ROOT/void.2019.11.01` as
@@ -178,11 +178,11 @@ Each time ZFSBootMenu is updated, a new EFI entry will need to be manually added
178
178
`rEFInd` is considerably easier to install and manage. Refer to your distribution's packages for installation. Once rEFInd has been installed, you can create `refind_linux.conf` in the directory holding the ZFSBootMenu files (`/boot/efi/EFI/void` in our example):
"Boot to menu" "zbm.prefer=zroot ro quiet loglevel=0 zbm.show"
183
183
```
184
184
185
-
As with the efibootmgr section, the `root=zfsbootmenu:POOL=` and `spl_hostid=` options need to be configured to match your environment.
185
+
As with the efibootmgr section, the `zbm.prefer=` option needs to be configured to match your environment.
186
186
187
187
This file will configure `rEFInd` to create two entries for each kernel and initramfs pair it finds. The first will directly boot into the environment set via the `bootfs` pool property. The second will force ZFSBootMenu to display an environment / kernel / snapshot selection menu, allowing you to boot alternate environments, kernels and snapshots.
0 commit comments