zfsbootmenu/docs/guides/void-linux/_include/zfs-config.rst

36 lines
623 B
ReStructuredText

ZFS Configuration
-----------------
Configure Dracut to load ZFS support
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. tabs::
.. group-tab:: Unencrypted
.. code-block::
cat << EOF > /etc/dracut.conf.d/zol.conf
nofsck="yes"
add_dracutmodules+=" zfs "
omit_dracutmodules+=" btrfs "
EOF
.. group-tab:: Encrypted
.. code-block::
cat << EOF > /etc/dracut.conf.d/zol.conf
nofsck="yes"
add_dracutmodules+=" zfs "
omit_dracutmodules+=" btrfs "
install_items+=" /etc/zfs/zroot.key "
EOF
Install ZFS
~~~~~~~~~~~
.. code-block::
xbps-install -S zfs