Quote:
Originally Posted by Ztcoracat
Did you edit and change your /etc/fstab file?
|
I did, turns out there was an external disk that wasn't powered on. But this is only one of the reasons I hate systemD with the power of 1,000 burning suns.
After finally getting it to boot in single-user mode (and powering on the disk):
2019.0416 + installed latest zfs pkg 0.7.12 by adding /etc/apt/sources.list.d/stretch-backports.list
REF:
https://github.com/zfsonlinux/zfs/wiki/Debian
ZFS 0.7.12-1~bpo9+1
# apt-get install zfs-dkms zfsutils-linux
The following additional packages will be installed:
libnvpair1linux libuutil1linux libzfs2linux libzpool2linux spl spl-dkms zfs-zed
Suggested packages:
nfs-kernel-server zfs-initramfs | zfs-dracut
The following NEW packages will be installed:
libnvpair1linux libuutil1linux libzfs2linux libzpool2linux spl spl-dkms zfs-dkms zfs-zed zfsutils-linux
0 upgraded, 9 newly installed, 0 to remove and 2 not upgraded.
1 not fully installed or removed.
Need to get 2,481 kB of archives.
After this operation, 14.6 MB of additional disk space will be used.
Do you want to continue? [Y/n]y
Building initial module for 4.15.0-30deepin-generic
configure: error:
*** Please make sure the kmod spl devel <kernel> package for your
*** distribution is installed then try again. If that fails you
*** can specify the location of the spl objects with the
*** '--with-spl-obj=PATH' option.
Error! Bad return status for module build on kernel: 4.15.0-30deepin-generic (x86_64)
Consult /var/lib/dkms/zfs/0.6.5.9/build/make.log for more information.
# cat /var/lib/dkms/zfs/0.6.5.9/build/make.log
DKMS make.log for zfs-0.6.5.9 for kernel 4.15.0-30deepin-generic (x86_64)
Tue Apr 16 13:45:50 CDT 2019
make: *** No targets specified and no makefile found. Stop.
--I have:
# cat /etc/apt/sources.list.d/stretch-backports.list
deb
http://deb.debian.org/debian stretch-backports main contrib
deb-src
http://deb.debian.org/debian stretch-backports main contrib
# apt-cache show zfs-dkms
Package: zfs-dkms
Source: zfs-linux
Version: 0.6.5.9-5
Installed-Size: 7961
Maintainer: Debian ZFS on Linux maintainers <pkg-zfsonlinux-devel@lists.alioth.debian.org>
Architecture: all
Provides: zfs-modules
Depends: dkms (>> 2.1.1.2-5), lsb-release, debconf (>= 0.5) | debconf-2.0
Pre-Depends: spl-dkms (>= 0.6.5.9)
--This is bizarre, before I installed apt-cache was showing the later bpo package.
# deldeb libnvpair1linux libuutil1linux libzfs2linux libzpool2linux spl spl-dkms zfs-dkms zfs-zed zfsutils-linux
The following packages will be REMOVED:
libnvpair1linux* libuutil1linux* libzfs2linux* libzpool2linux* spl* spl-dkms* zfs-dkms* zfs-zed* zfsutils-linux*
0 upgraded, 0 newly installed, 9 to remove and 2 not upgraded.
After this operation, 14.6 MB disk space will be freed.
Do you want to continue? [Y/n] Y
# apt update
# apt-cache show zfsutils-linux
Package: zfsutils-linux
Source: zfs-linux
Version: 0.7.12-1~bpo9+1
Installed-Size: 1041
Maintainer: Debian ZFS on Linux maintainers <pkg-zfsonlinux-devel@alioth-lists.debian.net>
Architecture: amd64
Provides: zfsutils
Depends: python3, init-system-helpers (>= 1.18~), python3:any, libblkid1 (>= 2.16), libc6 (>= 2.17), libnvpair1linux (>= 0.7.12), libuuid1 (>= 2.16), libuutil1linux (>= 0.7.12), libzfs2linux (>= 0.7.12), libzpool2linux (>= 0.7.12), zlib1g (>= 1:1.1.4)
Recommends: lsb-base, zfs-modules | zfs-dkms, zfs-zed
Suggests: nfs-kernel-server, samba-common-bin (>= 3.0.23), zfs-initramfs | zfs-dracut
Conflicts: zfs, zfs-fuse
Breaks: zfs-dkms (>> 0.7.12-1~bpo9+1), zfs-dkms (<< 0.7.12-1~bpo9+1)
# apt-cache show zfs-dkms
Package: zfs-dkms
Source: zfs-linux
Version: 0.7.12-1~bpo9+1
Installed-Size: 10564
Maintainer: Debian ZFS on Linux maintainers <pkg-zfsonlinux-devel@alioth-lists.debian.net>
Architecture: all
Provides: zfs-modules
Depends: dkms (>> 2.1.1.2-5), lsb-release, debconf (>= 0.5) | debconf-2.0
Pre-Depends: spl-dkms (<< 0.7.12.), spl-dkms (>= 0.7.12)
Recommends: zfs-zed, zfsutils-linux (>= 0.7.12-1~bpo9+1), linux-libc-dev (<< 4.20~)
--When I ' apt install zfsutils-linux zfs-dkms ' it starts installing 0.6.5.9:
Unpacking spl-dkms (0.6.5.9-1) ...
--I have been using Linux since 1997 and never had this kind of problem with apt, it's always pulled the packages I expected to install before...