diff options
Diffstat (limited to 'scripts/zfs-0.8.4-1-install-debian11.sh')
-rw-r--r-- | scripts/zfs-0.8.4-1-install-debian11.sh | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/scripts/zfs-0.8.4-1-install-debian11.sh b/scripts/zfs-0.8.4-1-install-debian11.sh new file mode 100644 index 0000000..936b2ae --- /dev/null +++ b/scripts/zfs-0.8.4-1-install-debian11.sh @@ -0,0 +1,29 @@ +#! /bin/sh + +ZFSDEBDIR=`readlink -f ../zfs-linux-0.8.4-1-debian11-amd64` + +#skipped: +# libzfs2-devel_0.8.4-1_amd64.deb +# python3-pyzfs_0.8.4-1_amd64.deb +# zfs-dracut_0.8.4-1_amd64.deb +# zfs-test_0.8.4-1_amd64.deb + +#apt-get install libnvpair1 libuutil1 libzpool2 libzfs2 +dpkg -i $ZFSDEBDIR/libuutil1_0.8.4-1_amd64.deb +dpkg -i $ZFSDEBDIR/libnvpair1_0.8.4-1_amd64.deb +dpkg -i $ZFSDEBDIR/libzpool2_0.8.4-1_amd64.deb +dpkg -i $ZFSDEBDIR/libzfs2_0.8.4-1_amd64.deb +#apt-get install zfs-dkms zfs zfs-initramfs +dpkg -i $ZFSDEBDIR/zfs-dkms_0.8.4-1_amd64.deb +dpkg -i $ZFSDEBDIR/zfs_0.8.4-1_amd64.deb +dpkg -i $ZFSDEBDIR/zfs-initramfs_0.8.4-1_amd64.deb + +apt-mark manual zfs-initramfs zfs zfs-dkms libzfs2 libzpool2 libuutil1 libnvpair1 dkms + +# FIX /etc/default/zfs +# ZFS_INITRD_ADDITIONAL_DATASETS="$POOL/users $POOL/users/root $POOL/backup $POOL/data $POOL/services $POOL/projects" +# and run: update-initramfs -u -k all + +##apt-get install grub-common grub-pc grub-pc-bin grub2-common +# systemctl enable zfs-import-cache.service zfs-mount.service zfs-zed.service zfs-import.target zfs-volumes.target zfs.target +# systemctl start zfs-import-cache.service zfs-mount.service zfs-zed.service zfs-import.target zfs-volumes.target zfs.target |