Commit Graph

47 Commits

Author SHA1 Message Date
Richard Laager
19ce5874b7 Ubuntu: Use grub-efi-amd64's multiple disk code
Ubuntu 20.04's GRUB supports multiple EFI disks.  There is a small
caveat in that it doesn't prompt in the chroot, but it works fine after
the reboot.  Using the stock support means that the ESPs will be kept in
sync automatically.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
Refs issue #55
2020-12-05 17:44:13 -06:00
Richard Laager
f1a7f4ef62 Ubuntu: Use "defaults" for /boot/efi
This matches the 20.04 installer.

Also, disable fsck, because that's what the installer does.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2020-12-05 17:33:13 -06:00
Richard Laager
d86f52c207 Debian/Ubuntu: Use /dev/disk/by-uuid
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>
2020-12-05 17:32:40 -06:00
Richard Laager
c94ee2cae4 Debian/Ubuntu: Configure keyboard & charset
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
2020-12-05 16:57:34 -06:00
Richard Laager
605463d8dd Ubuntu: Update URL for 20.04.1
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2020-12-05 16:35:49 -06:00
Richard Laager
84417c52db Ubuntu: bpool must be named bpool
Fixes #85
Reported-by: Bob Ziuchkovski <bob.ziuchkovski@gmail.com>
2020-11-30 00:42:06 -06:00
Mathias Gibbens
9ed82cda6e Fix pip3 install command for Debian-based distros
Signed-off-by: Mathias Gibbens <mathias@calenhad.com>
2020-11-25 17:17:29 -06:00
Richard Laager
0e030ab146 Ubuntu: Remove zpool_checkpoint from bpool
The docs note that I tested this, but I'm going to remove this, out of
an abundance of caution given the report of failure in #57.  I may re-test
later, but this isn't a huge priority for me.

Fixes #57
2020-09-27 14:17:18 -05:00
George Melikov
a12e60f437 Use mailing lists anchor everywhere 2020-09-21 19:28:09 +03:00
Richard Laager
c7534660ee Ubuntu: Flatten bootloader partitioning steps
This makes it easier to follow (and specifically, harder to miss the
second step).

Reported-by: Niall Douglas <ned14>
Issue #54
2020-09-09 15:26:36 -05:00
Richard Laager
28ccb936b3 Ubuntu: Add a password length warning
If the user gives too short of a password when encryption via a hacked
installer, the installer will crash.  (I haven't personally verified
this, but it sounds plausible.)

Reported-by: Sithuk
Closes: 52
2020-09-08 00:41:04 -05:00
Richard Laager
5523d6cb6b Ubuntu: Fix patch commands
These were missing "sudo".

Reported-by: Sithuk
Issue #52
2020-09-07 00:44:54 -05:00
Richard Laager
51a4f5055e Ubuntu: Add instructions for the Raspberry Pi
I have not tested encryption, but otherwise this works.
2020-08-31 01:12:02 -05:00
Richard Laager
e2d9dcd2ad Debian/Ubuntu: Fix locales formatting 2020-08-31 00:21:38 -05:00
Richard Laager
371d3cf08b Debian/Ubuntu: Update pip3 command
This now matches the example in the top-level README.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2020-08-12 17:34:27 -05:00
Karsten Weiss
5c67d3d1fc Spelling fixes 2020-08-02 03:39:10 -05:00
Richard Laager
ba04f2100c Ubuntu: Fix bug URL
I was linking to the wrong bug (bad copy-and-paste).
2020-07-17 03:54:19 -05:00
Richard Laager
ce83696a66 Ubuntu: Line wrap 2020-07-17 03:54:09 -05:00
Luca Citi
338b567574 Ubuntu 20.04: Fix rescue instructions
/boot is no longer in /etc/fstab.

Closes: #32
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2020-06-26 01:52:24 -05:00
Jonathan Watt
ddc56b0106 Switch open-zfs.org links to openzfs.org, and use HTTPS URLs
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.
2020-06-17 20:19:49 +03:00
Richard Laager
58104f6781 Ubuntu 20.04: Add unmount step to GRUB errata
It is possible that /boot/grub is mounted.

Reported-by: Larry Wagner <larrywagner0@gmail.com>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2020-06-10 23:34:13 -05:00
Richard Laager
933a4c6d37 Ubuntu: Use https for ISOs
Suggested-by: Cory Stephenson <aevin@me.com>
2020-06-10 23:09:26 -05:00
Cory Stephenson
72bbf8d68e Fix Ubuntu 20.04 download link
Signed-off-by: Cory Stephenson <aevin@me.com>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2020-06-10 23:07:01 -05:00
Richard Laager
04d3c1cee4 Ubuntu 20.04: Add errata notes for /boot/grub
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2020-05-30 17:45:52 -05:00
Richard Laager
b6fd009edd Ubuntu 20.04: Fix /boot/grub issues
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>
2020-05-30 17:44:30 -05:00
Richard Laager
12aa83791c Ubuntu 20.04: Disable grub-initrd-fallback.service
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>
2020-05-30 17:43:00 -05:00
Richard Laager
9c2f4a04c1 Ubuntu 20.04: Patch a dependency loop
This is from Launchpad bug #1875577.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2020-05-30 17:41:18 -05:00
Richard Laager
3d8bac3772 Ubuntu 20.04: Fixup formatting and wording
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2020-05-30 17:04:44 -05:00
Richard Laager
e1705d5660 Ubuntu 20.04: Install vim earlier
This ensures that vim is installed before the first use.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2020-05-30 16:58:46 -05:00
Richard Laager
0ccf839233 Drop the Debian package option for building docs
We are now using an extension which is not packaged.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2020-05-30 16:58:43 -05:00
Richard Laager
58f5b16286 Ubuntu 20.04: Add Errata section
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2020-05-30 16:58:34 -05:00
Richard Laager
3afab9343f Ubuntu 20.04: Fix a file path
Signed-off-by: Richard Laager <rlaager@wiktel.com>
Reported-by: Larry Wagner <larrywagner0@gmail.com>
2020-05-30 15:00:51 -05:00
Richard Laager
c9e868af21 Debian/Ubuntu: Expand disk clearing steps
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>
2020-05-30 15:00:51 -05:00
Richard Laager
541ad80d18 Ubuntu 20.04: Install full vim when using SSH
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>
2020-05-30 00:46:31 -05:00
Richard Laager
b5a4a192a2 Ubuntu 20.04: Fix the password change note
There is no current password prompt.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
Reported-by: Larry Wagner <larrywagner0@gmail.com>
2020-05-30 00:44:14 -05:00
Richard Laager
2e63f173d2 Ubuntu 20.04: Add a note about swap size
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>
2020-05-30 00:32:51 -05:00
Richard Laager
780f029dd3 Ubuntu 20.04: Separate /boot/grub ESP step
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>
2020-05-30 00:28:17 -05:00
Richard Laager
73be195834 Ubuntu 20.04: Fix formatting
This fixes the formatting for Step 5, item 6, "Install the bootloader".

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2020-05-30 00:28:13 -05:00
Richard Laager
0c5240e061 Ubuntu 20.04: Add a warning about disabling ACLs 2020-05-29 23:55:39 -05:00
Richard Laager
d1b3973b92 Ubuntu 20.04: Add zfs load-key
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>
2020-05-29 13:51:03 -05:00
Richard Laager
8ceda7c238 Ubuntu 20.04: Fix /var/lib/AccountsService 2020-05-28 11:34:22 -05:00
Richard Laager
0051643be0 Ubuntu 20.04: Fix a copy-and-paste mistake
The rpool mirroring instructions referenced bpool and partition 3
instead of rpool and partition 4.

Reported-by: reddit.com/u/mishac
2020-05-27 13:11:30 -05:00
Richard Laager
62c172a8eb Ubuntu 20.04: Use encrypted swap with installer
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>
2020-05-26 14:40:24 -05:00
Richard Laager
4fb612b336 Debian/Ubuntu: Expand SSH instructions
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>
2020-05-26 14:40:24 -05:00
Richard Laager
67561688af Debian/Ubuntu: Autonumber (current) HOWTOs
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>
2020-05-26 14:40:24 -05:00
Richard Laager
277ad2a070 Debian/Ubuntu: Autonumber Contributing section
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2020-05-26 14:40:24 -05:00
Richard Laager
7c4861e911 Debian/Ubuntu: Add Ubuntu 20.04
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>
2020-05-26 14:40:24 -05:00