Debian: Update for Buster release

This commit should address issue #9063.  It also includes general
updates for the fact that Buster has been released.
Richard Laager 2019-07-22 01:01:55 -05:00
parent 175594a7c7
commit debc295c60
4 changed files with 16 additions and 25 deletions

@ -4,7 +4,7 @@
* Backup your data. Any existing data will be lost.
### System Requirements
* [64-bit Debian GNU/Linux Buster Weekly Live CD](https://cdimage.debian.org/cdimage/weekly-live-builds/amd64/iso-hybrid/)
* [64-bit Debian GNU/Linux Buster Live CD](https://cdimage.debian.org/mirror/cdimage/release/current-live/amd64/iso-hybrid/)
* [A 64-bit kernel is *strongly* encouraged.](https://github.com/zfsonlinux/zfs/wiki/FAQ#32-bit-vs-64-bit-systems)
* Installing on a drive which presents 4KiB logical sectors (a “4Kn” drive) only works with UEFI booting. This not unique to ZFS. [GRUB does not and will not work on 4Kn with legacy (BIOS) booting.](http://savannah.gnu.org/bugs/?46700)

@ -4,7 +4,7 @@
* Backup your data. Any existing data will be lost.
### System Requirements
* [64-bit Debian GNU/Linux Buster Weekly Live CD](https://cdimage.debian.org/cdimage/weekly-live-builds/amd64/iso-hybrid/)
* [64-bit Debian GNU/Linux Buster Live CD](https://cdimage.debian.org/mirror/cdimage/release/current-live/amd64/iso-hybrid/)
* [A 64-bit kernel is *strongly* encouraged.](https://github.com/zfsonlinux/zfs/wiki/FAQ#32-bit-vs-64-bit-systems)
* Installing on a drive which presents 4KiB logical sectors (a “4Kn” drive) only works with UEFI booting. This not unique to ZFS. [GRUB does not and will not work on 4Kn with legacy (BIOS) booting.](http://savannah.gnu.org/bugs/?46700)
@ -56,12 +56,10 @@ If you have a second system, using SSH to access the target system can be conven
1.5 Install ZFS in the Live CD environment:
# apt install --yes gcc=4:7.1.0-2 debootstrap gdisk dpkg-dev linux-headers-$(uname -r)
# apt install --yes debootstrap gdisk dpkg-dev linux-headers-$(uname -r)
# apt install --yes zfs-dkms
# modprobe zfs
* Until the kernel is updated in the live CD, we need to stay on the old version of gcc so we stay on the old version of binutils. Otherwise, the resulting kernel modules will fail to load.
## Step 2: Disk Formatting
2.1 If you are re-using a disk, clear it as necessary:

@ -1,3 +1,6 @@
### Newer release available
* See [[Debian Buster Root on ZFS]] for new installs.
### Caution
* This HOWTO uses a whole physical disk.
* Do not use these instructions for dual-booting.

@ -1,27 +1,28 @@
Offical ZFS on Linux [DKMS](https://en.wikipedia.org/wiki/Dynamic_Kernel_Module_Support) 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, Stretch, and newer (testing, sid)
**Debian Releases:** Stretch (oldstable), Buster (stable), and newer (testing, sid)
**Architectures:** amd64
# Table of contents
- [Installation](#installation)
- [Jessie to Stretch update](#jessie-to-stretch-update)
- [Related Links](#related-links)
## Installation
For Debian Stretch, ZFS packages are included in the [contrib repository](https://packages.debian.org/source/stretch/zfs-linux). Newer ZFS packages are provided by the [backports repository](https://backports.debian.org/Instructions/).
For Debian Buster, ZFS packages are included in the [contrib repository](https://packages.debian.org/source/buster/zfs-linux).
If you want to boot from ZFS, see [[Debian Stretch Root on ZFS]] instead. Or, for the not-yet-released Buster, see [[Debian Buster Root on ZFS]].
If you want to boot from ZFS, see [[Debian Buster Root on ZFS]] instead. For troubleshooting existing installations on Stretch, see [[Debian Stretch Root on ZFS]].
The [backports repository](https://backports.debian.org/Instructions/) often provides newer releases of ZFS. You can use it as follows:
Add the backports repository:
# vi /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
# vi /etc/apt/sources.list.d/buster-backports.list
deb http://deb.debian.org/debian buster-backports main contrib
deb-src http://deb.debian.org/debian buster-backports main contrib
# vi /etc/apt/preferences.d/90_zfs
Package: libnvpair1linux libuutil1linux libzfs2linux libzpool2linux spl-dkms zfs-dkms zfs-test zfsutils-linux zfsutils-linux-dev zfs-zed
Pin: release n=stretch-backports
Pin: release n=buster-backports
Pin-Priority: 990
Update the list of packages:
@ -36,18 +37,7 @@ Install the zfs packages:
# apt-get install zfs-dkms zfsutils-linux
## Jessie to Stretch update
From Debian Stretch packages are included in Debian official `contrib` repository. Steps to reinstall packages:
1) Remove old packages:
```
# apt remove debian-zfs libzfs2 zfs-dkms zfsonlinux zfsutils libzpool2 libzfs2linux libnvpair1linux libnvpair1 libuutil1 libuutil1linux libzpool2linux zfs-zed zfsutils-linux spl-dkms
```
2) Remove ZFSonLinux repository.
3) [Install new packages](#installation), as described above.
## Related Links
- [[Debian GNU Linux initrd documentation]]
- [[Debian Stretch Root on ZFS]]
- [[Debian Buster Root on ZFS]]
- [[Dual booting OS X and Debian Jessie with ZFS root, cross mounting and full disk encryption]]