zsys was setting canmount=off on bpool/grub. It is now
bpool/BOOT/ubuntu_UUID/grub.
Signed-off-by: Richard Laager <rlaager@wiktel.com>
Reported-by: Larry Wagner <larrywagner0@gmail.com>
This is the service for /boot/grub/grubenv which does not work on
mirrored or raidz topologies. Disabling this keeps it from blocking
subsequent mounts of /boot/grub if that mount ever fails.
Signed-off-by: Richard Laager <rlaager@wiktel.com>
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>
Installing the full vim package fixes terminal problems that occur when
using the vim-tiny package (that ships in the Live CD environment) over
SSH.
Signed-off-by: Richard Laager <rlaager@wiktel.com>
This now mentions that the user might want to customize the swap size.
It also specifically mentions hibernation and the requirement to size
the swap at least as large as the system RAM.
Note: I have not tested hibernation.
Signed-off-by: Richard Laager <rlaager@wiktel.com>
Reported-by: Larry Wagner <larrywagner0@gmail.com>
The previous "Install GRUB/Linux/ZFS in the chroot..." step had two
conditionals ("For a single-disk install only" and "Choose one..."). It
was not clear to readers if these were mutually exclusive.
Signed-off-by: Richard Laager <rlaager@wiktel.com>
Reported-by: Larry Wagner <larrywagner0@gmail.com>
This already existed in the Debian Buster version, but I missed it here.
Signed-off-by: Richard Laager <rlaager@wiktel.com>
Fixes: 11
Reported-by: Alastair Rankine <alastair@girtby.net>
If someone edits the installer to use encryption, they should also setup
encrypted swap. I have now added instructions for that.
Signed-off-by: Richard Laager <rlaager@wiktel.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>