diff options
author | Sven Gothel <[email protected]> | 2019-07-15 00:44:57 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2019-07-15 00:44:57 +0200 |
commit | 2ceee0f005328272e8d184aaa77d183981741d5e (patch) | |
tree | 95a7af2fe2d861ed39b22ea5d235add6ab9823a6 /scripts/zfs-0.7.13-install-debian9.sh |
Make Debian ZFS Live ISO Image. Baseline: Debian 10 (Buster) and ZFSonLinux 0.7.13.
Diffstat (limited to 'scripts/zfs-0.7.13-install-debian9.sh')
-rw-r--r-- | scripts/zfs-0.7.13-install-debian9.sh | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/scripts/zfs-0.7.13-install-debian9.sh b/scripts/zfs-0.7.13-install-debian9.sh new file mode 100644 index 0000000..a215123 --- /dev/null +++ b/scripts/zfs-0.7.13-install-debian9.sh @@ -0,0 +1,25 @@ +#! /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 |