From 92fa39df2007aa17b0653aa6c2cb1b01fd2b5bea Mon Sep 17 00:00:00 2001 From: Richard Laager Date: Sat, 6 Oct 2018 20:52:19 -0500 Subject: [PATCH] Debian & Ubuntu: Use update-initramfs -u We are trying to perform an "update", so -u would be the correct choice. This apparently works fine in the Debian instructions already, and I see no reason it shouldn't work in Ubuntu, so I'm making it consistent with Debian. Debian only mentioned update-initramfs -c in the troubleshooting instructions for the arcsas driver, so I'm fixing it there too. --- Debian-Stretch-Root-on-ZFS.md | 2 +- Ubuntu-18.04-Root-on-ZFS.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Debian-Stretch-Root-on-ZFS.md b/Debian-Stretch-Root-on-ZFS.md index e28234a..fec5937 100644 --- a/Debian-Stretch-Root-on-ZFS.md +++ b/Debian-Stretch-Root-on-ZFS.md @@ -437,7 +437,7 @@ Most LSI cards are perfectly compatible with ZoL. If your card has this glitch, ### Areca -Systems that require the `arcsas` blob driver should add it to the `/etc/initramfs-tools/modules` file and run `update-initramfs -c -k all`. +Systems that require the `arcsas` blob driver should add it to the `/etc/initramfs-tools/modules` file and run `update-initramfs -u -k all`. Upgrade or downgrade the Areca driver if something like `RIP: 0010:[] [] native_read_tsc+0x6/0x20` appears anywhere in kernel log. ZoL is unstable on systems that emit this error message. diff --git a/Ubuntu-18.04-Root-on-ZFS.md b/Ubuntu-18.04-Root-on-ZFS.md index 93da01b..14d1de4 100644 --- a/Ubuntu-18.04-Root-on-ZFS.md +++ b/Ubuntu-18.04-Root-on-ZFS.md @@ -329,7 +329,7 @@ If you chose to create a `/tmp` dataset above, skip this step, as they are mutua 5.2 Refresh the initrd files: - # update-initramfs -c -k all + # update-initramfs -u -k all update-initramfs: Generating /boot/initrd.img-4.15.0-12-generic **Note:** When using LUKS, this will print "WARNING could not determine root device from /etc/fstab". This is because [cryptsetup does not support ZFS](https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1612906). @@ -552,7 +552,7 @@ Most LSI cards are perfectly compatible with ZoL. If your card has this glitch, ### Areca -Systems that require the `arcsas` blob driver should add it to the `/etc/initramfs-tools/modules` file and run `update-initramfs -c -k all`. +Systems that require the `arcsas` blob driver should add it to the `/etc/initramfs-tools/modules` file and run `update-initramfs -u -k all`. Upgrade or downgrade the Areca driver if something like `RIP: 0010:[] [] native_read_tsc+0x6/0x20` appears anywhere in kernel log. ZoL is unstable on systems that emit this error message.