Debian: Add steps to patch zfs-initramfs

The patch fixes zfs-initramfs's Plymouth support for prompting for
encryption passphrases. It is included in 0.8.2, so by the time of the
next package update, the patch should not need to be reapplied.
Richard Laager 2019-09-27 00:28:31 -05:00
parent e5d0fee0b1
commit c7722c835c
2 changed files with 23 additions and 1 deletions

@ -17,6 +17,24 @@ You should set a root password before upgrading:
# passwd # passwd
Apply updates:
# apt update
# apt dist-upgrade
Patch zfs-initramfs:
# apt install curl
# curl https://github.com/zfsonlinux/zfs/commit/f335b8f.patch | \
patch /usr/share/initramfs-tools/scripts/zfs
# update-initramfs -u -k all
The patch fixes zfs-initramfs's Plymouth support for prompting for encryption passphrases. It is included in 0.8.2, so by the time of the next package update, the patch should not need to be reapplied.
Reboot:
# reboot
If the bpool fails to import, then enter the rescue shell (which requires a root password) and run: If the bpool fails to import, then enter the rescue shell (which requires a root password) and run:
# zpool import -f bpool # zpool import -f bpool

@ -309,8 +309,12 @@ Even if you prefer a non-English system language, always ensure that `en_US.UTF-
4.6 Install ZFS in the chroot environment for the new system: 4.6 Install ZFS in the chroot environment for the new system:
# apt install --yes dpkg-dev linux-headers-amd64 linux-image-amd64 # apt install --yes curl dpkg-dev linux-headers-amd64 linux-image-amd64
# apt install --yes zfs-initramfs # apt install --yes zfs-initramfs
# curl https://github.com/zfsonlinux/zfs/commit/f335b8f.patch | \
patch /usr/share/initramfs-tools/scripts/zfs
The patch fixes zfs-initramfs's Plymouth support for prompting for encryption passphrases. It is included in 0.8.2, so by the time of the next package update, the patch should not need to be reapplied.
4.7 Install GRUB 4.7 Install GRUB