Debian: Use stretch-backports
Signed-off-by: Richard Laager <rlaager@wiktel.com>
parent
595592dbd3
commit
517f82ec02
23
Debian.md
23
Debian.md
|
@ -1,7 +1,7 @@
|
||||||
Offical ZFS on Linux [DKMS][dkms] style packages are available from the [Debian GNU/Linux repository](https://tracker.debian.org/pkg/zfs-linux) for the following configurations. The packages previously hosted at archive.zfsonlinux.org will not be updated and are not recommended for new installations.
|
Offical ZFS on Linux [DKMS][dkms] style packages are available from the [Debian GNU/Linux repository](https://tracker.debian.org/pkg/zfs-linux) for the following configurations. The packages previously hosted at archive.zfsonlinux.org will not be updated and are not recommended for new installations.
|
||||||
|
|
||||||
**Debian Releases:** Jessie and newer (testing, sid)
|
**Debian Releases:** Jessie, Stretch, and newer (testing, sid)
|
||||||
**Architectures:** amd64
|
**Architectures:** amd64
|
||||||
|
|
||||||
# Table of contents
|
# Table of contents
|
||||||
- [Installation](#installation)
|
- [Installation](#installation)
|
||||||
|
@ -11,21 +11,29 @@ Offical ZFS on Linux [DKMS][dkms] style packages are available from the [Debian
|
||||||
- [[Dual booting OS X and Debian Jessie with ZFS root, cross mounting and full disk encryption]]
|
- [[Dual booting OS X and Debian Jessie with ZFS root, cross mounting and full disk encryption]]
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
For Debian Stretch, ZFS packages are included in [contrib repository](https://packages.debian.org/source/stretch/zfs-linux).
|
For Debian Stretch, updated ZFS packages are provided by [backports](https://backports.debian.org/Instructions/).
|
||||||
|
|
||||||
For Debian Jessie, ZFS packages are provided by [backports](https://backports.debian.org/Instructions/).
|
For Debian Jessie, ZFS packages are provided by [backports](https://backports.debian.org/Instructions/).
|
||||||
|
|
||||||
Install kernel headers:
|
Add the backports repository:
|
||||||
|
|
||||||
# apt install linux-headers-$(uname -r)
|
# echo "deb http://deb.debian.org/debian stretch-backports main contrib" > /etc/apt/sources.list.d/stretch-backports.list
|
||||||
|
|
||||||
|
Update the list of packages:
|
||||||
|
|
||||||
|
# apt update
|
||||||
|
|
||||||
|
Install kernel headers and other dependencies:
|
||||||
|
|
||||||
|
# apt install linux-headers-$(uname -r) linux-headers-amd64 dkms build-essential libelf-dev
|
||||||
|
|
||||||
Install zfs packages:
|
Install zfs packages:
|
||||||
|
|
||||||
# apt-get install zfs-dkms zfsutils-linux
|
# apt-get install -t stretch-backports zfs-dkms zfsutils-linux
|
||||||
|
|
||||||
If you want to boot from ZFS, you'll need `zfs-initramfs` package too:
|
If you want to boot from ZFS, you'll need `zfs-initramfs` package too:
|
||||||
|
|
||||||
# apt-get install zfs-initramfs
|
# apt-get install -t stretch-backports zfs-initramfs
|
||||||
|
|
||||||
[dkms]: https://en.wikipedia.org/wiki/Dynamic_Kernel_Module_Support
|
[dkms]: https://en.wikipedia.org/wiki/Dynamic_Kernel_Module_Support
|
||||||
[debian-announce]: https://lists.debian.org/debian-devel-announce/2015/04/msg00006.html
|
[debian-announce]: https://lists.debian.org/debian-devel-announce/2015/04/msg00006.html
|
||||||
|
@ -41,4 +49,3 @@ From Debian Stretch packages are included in Debian official `contrib` repositor
|
||||||
2) Remove ZFSonLinux repository.
|
2) Remove ZFSonLinux repository.
|
||||||
|
|
||||||
3) [Install new packages](#installation), as described above.
|
3) [Install new packages](#installation), as described above.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue