This is how the Ubuntu 20.04 installer configures the ESP to mount at
/boot/efi, so it should be fine to use this convention everywhere.
/dev/md0's /dev/disk/by-uuid entry does not show up immediately, so I
removed the swapon there.
Signed-off-by: Richard Laager <rlaager@wiktel.com>
On Ubuntu, console-setup, keyboard-configuration (a dependency of
console-setup), and locales are installed by default. On Debian, we
need to install them manually. (We were already doing so for locales.)
I merged the various dpkg-reconfigure lines into one to simplify. The
order isn't important.
Signed-off-by: Richard Laager <rlaager@wiktel.com>
Reported-by: Robert <technic-take3>
Fixes#59
Users following the ZFS guide may not realize their system won't
receive important security updates between minor point releases
unless additional configuration is added to sources.list.
Signed-off-by: Mathias Gibbens <mathias@calenhad.com>
This was missed in 784b3b7a27 which
eliminated the canmount=noauto. With that gone, it is not necessary to
manually mount bpool/BOOT/debian.
Reported-by: Danny <suavedandy>
Without buster-backports, everything ZFS is from the buster repository.
Adding this to the Live CD installation instructions allows our initial
pool to be created with newer versions.
Signed-off-by: Spotlight <spotlight@joscomputing.space>
The open-zfs.org host, Dreamhost, returns a page for https://open-zfs.org
(note, httpS://) which causes HTTPS Everywhere with the 'Encrypt All
Eligible Sites' option enabled to redirect http://open-zfs.org to
https://open-zfs.org, and therefore fail to redirect to openzfs.org.
Ideally a redirect would be implemented at Dreamhost for
httpS://open-zfs.org too, but presumably the links in the docs should
really be updated anyway.
This covers more scenarios, including the need to stop md arrays and
wipe MD partitions.
Signed-off-by: Richard Laager <rlaager@wiktel.com>
Requested-by: Larry Wagner <larrywagner0@gmail.com>
buster-backports has ZoL 0.8.4. I am still explicitly specifying
encryption=aes-256-gcm to avoid accidents. This can probably change to
encryption=on at some point.
Signed-off-by: Richard Laager <rlaager@wiktel.com>
This makes the PermitRootLogin changes part of the actual steps rather
than a comment. I've also made its removal an explicit step.
Signed-off-by: Richard Laager <rlaager@wiktel.com>
This makes it consistent with Ubuntu. This really isn't worth the
trouble, especially since it breaks debootstrap.
Signed-off-by: Richard Laager <rlaager@wiktel.com>
This also involved a bunch of reindenting and rewrapping.
I reworked the Live CD sources on Debian to be more consistent with
Ubuntu (and the chroot sources configuration on Debian).
I reworked the zpool create wrapping and the mirror/raidz notes. This
should be more clear on how to create the multi-disk topologies.
I fixed a couple formatting issues too (mainly one backtick where
there should have been two).
Signed-off-by: Richard Laager <rlaager@wiktel.com>
The original idea here was that bpool/BOOT/debian should be able to be
cloned, just like rpool/ROOT/debian. The problem is that it doesn't
really work without special support in the initramfs. Given that, it is
possible to simplify this.
I also set mountpoint=/boot on bpool, for consistency with the Ubuntu
20.04 HOWTO, which is in turn done that way for consistency with the
Ubuntu installer.
Thanks: colmbuckley
Closes: openzfs/zfs#10309
Signed-off-by: Richard Laager <rlaager@wiktel.com>
I have backported some of the cosmetic and other minimal changes to
Ubuntu 18.04 and Debian Buster. This keeps the deltas as small as
reasonably possible.
Signed-off-by: Richard Laager <rlaager@wiktel.com>
The initrd needs to be rebuilt after the ZFS modules are built.
Otherwise, the system can (will?) fail to boot.
Closes: openzfs/zfs#10355
Reported-by: Christian Garbs <mitch@cgarbs.de>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
This cleans up a bunch of formatting from the rst conversion. I didn't
make the manual fixes to the 16.04 or Stretch versions, since they
aren't really being maintained these days and are just for reference for
existing installations.
Signed-off-by: Richard Laager <rlaager@wiktel.com>