#! /bin/sh ZFSDEBDIR=`readlink -f ../zfs-linux-0.7.13-debian9-amd64` #apt-get install spl-dkms spl dpkg -i $ZFSDEBDIR/spl-dkms_0.7.13-1_amd64.deb dpkg -i $ZFSDEBDIR/spl_0.7.13-1_amd64.deb #apt-get install libnvpair1 libuutil1 libzpool2 libzfs2 dpkg -i $ZFSDEBDIR/libuutil1_0.7.13-1_amd64.deb dpkg -i $ZFSDEBDIR/libnvpair1_0.7.13-1_amd64.deb dpkg -i $ZFSDEBDIR/libzpool2_0.7.13-1_amd64.deb dpkg -i $ZFSDEBDIR/libzfs2_0.7.13-1_amd64.deb #apt-get install zfs-dkms zfs zfs-initramfs dpkg -i $ZFSDEBDIR/zfs-dkms_0.7.13-1_amd64.deb dpkg -i $ZFSDEBDIR/zfs_0.7.13-1_amd64.deb dpkg -i $ZFSDEBDIR/zfs-initramfs_0.7.13-1_amd64.deb apt-mark manual zfs-initramfs zfs zfs-dkms libzfs2 libzpool2 libuutil1 libnvpair1 spl spl-dkms 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