Commit b3c1acc7 authored by Benjamin Slade's avatar Benjamin Slade

minor edits to zpool creation and user messages

parent 54392277
......@@ -32,12 +32,14 @@ ZFSROOTDATASET=${ZFSROOTBASENAME}/system
-O relatime=on \
-O xattr=sa \
-O compression=on \
-o ashift=12 \
-O normalization=formD \
-o ashift=12 \
${ZPOOLNAME} /dev/mapper/${LUKSNAME}
# adjust below datasets as desired - could be more elaborate, cp. https://github.com/zfsonlinux/zfs/wiki/Debian-Buster-Root-on-ZFS
# also this subvolume'd sort of system won't work for Bedrock Linux [ https://bedrocklinux.org/ ] , the entire rootfs (and probably /boot ) will need to be part of the same dataset
# root for essential system bits, perhaps to be snapshotted/cloned
/sbin/zfs create -o canmount=off ${ZFSROOTBASENAME}
/sbin/zfs create -o mountpoint=/ ${ZFSROOTDATASET}
......@@ -60,8 +62,9 @@ ZFSROOTDATASET=${ZFSROOTBASENAME}/system
# show the user what has been done:
/sbin/zpool status -v # print zpool info
/sbin/zpool list # print zpool list
/sbin/zfs list # show zfs filesystems
# message to user
echo "You have successfully created a ZFS pool ${ZPOOLNAME} and various ZFS datasets. You may now proceed to the next step; execute the following in the terminal:"
echo "You have successfully created a ZFS pool ${ZPOOLNAME} and various ZFS datasets (see details immediately above). You may now proceed to the next step; execute the following in the terminal:"
echo ". 03-fetch-void-rootfs.sh"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment