Commit Graph

294 Commits

Author SHA1 Message Date
Maurice Zhou
b35065b4fc Alpine: Use ZFS for /boot, updated bootloader instructions
Signed-off-by: Maurice Zhou <ja@apvc.uk>
2022-07-31 21:48:31 +03:00
Maurice Zhou
82988571d1 Root on ZFS: Fix broken links
Signed-off-by: Maurice Zhou <ja@apvc.uk>
2022-07-27 15:38:33 +03:00
Maurice Zhou
0e22ae68eb Add support for Alpine Linux
Signed-off-by: Maurice Zhou <ja@apvc.uk>
2022-07-27 11:12:03 +03:00
Maurice Zhou
2766cb7197 Updates and cleanup for Arch, RHEL, NixOS and Fedora
Signed-off-by: Maurice Zhou <ja@apvc.uk>
2022-07-27 11:11:03 +03:00
Tony Hutter
5b51f08df4 Temporarly remove EL 9
Remove EL 9 references until we can sign EL9 packages with an updated RPM key that EL9 supports by default.
2022-07-20 17:14:32 -07:00
Tony Hutter
bc3d372c17 Add EL 9.0 text 2022-07-19 14:20:14 -07:00
Tony Hutter
64a1217920 Use universal zfs-release link for CentOS again
Earlier we had to revert the CentOS 7 zfs-release RPM to point to the older `zfs-release.el8_6` RPM, since the newer universal RPM was encoded with zstd compression (which CentOS 7 didn't support).  Since then, we've rebuilt the universal RPM with gzip, so we can use it again.
2022-07-14 10:08:51 -07:00
George Melikov
1d2ffe3528 Apt: use kernel/headers meta packages
- `generic` packages exist since bullseye
- older versions have `amd64` meta package
2022-07-13 23:41:59 +03:00
weijh
ecc6c713f9 Update index.rst 2022-07-08 10:20:30 -07:00
Tony Hutter
2d636cb596 Use universal zfs-release RPM (#325)
We now have universal zfs-release RPMs that will work for all
version of either Fedora or RHEL/CentOS:

https://github.com/zfsonlinux/zfsonlinux.github.com/pull/67

Update the docs to point to the new RPMs.

Signed-off-by: Tony Hutter <hutter2@llnl.gov>
2022-07-06 09:28:04 +03:00
Maria
c67000823a Update 2-system-configuration.rst (#321)
Add correct path to `aliases` file on immutable step
2022-06-22 13:31:06 +03:00
Maurice Zhou
077e24712a NixOS: update system major version inside configuration files
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2022-06-19 14:23:05 +03:00
Maurice Zhou
1cd6ef244f fix argument order
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2022-06-19 14:23:05 +03:00
Maurice Zhou
d9782f7877 NixOS: upgrade to 22.05, mail notification, procedure for system upgrade
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2022-06-19 14:23:05 +03:00
Richard Laager
e1f251bba1 Debian: Correct backports pinning
The source package is zfs-linux, not zfsutils-linux.  I had this wrong
in the fix for #314.

Closes #318
Reported-by: Piscium
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-06-13 12:40:50 -05:00
Antoine Beaupré
726f07a127 port the recent commits to Ubuntu 22.04
Signed-off-by: Antoine Beaupré <anarcat@debian.org>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-06-09 12:28:50 -05:00
Antoine Beaupré
bc5882432b reorder the bpool to be consistent with the rpool
We stick to two rules here:

 * -o options come before -O

 * pool-specific options are wedged in between -o and
   -O (e.g. compatibility=grub2)

I don't know if that was a deliberate policy, I'm just trying to guess
what the pattern was

Signed-off-by: Antoine Beaupré <anarcat@debian.org>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-06-09 12:28:47 -05:00
Antoine Beaupré
16d2fe20df reorder and regroup zpool create commands
This regroups the options passed to zpool create in a more logical
way.

 1. the ACL/xattr/dnodesize settings are all on one line, since they
    are all related (latter being optimizations because we enable the
    former)

 2. ashift, autotrim, compression, normalization, relatime are all
    independent options that merit their own line for better
    visibility, they are also optional and therefore it makes sense to
    have them separate

 3. canmount, mountpoint and -R are all related as well

This is only a "whitespace" fix: there should be no functional change
to this patch.

I also noted that dnodesize=auto is *not* passed to the bpool cache
creation, even though it's passed to the rpool creation. I suspect
that might be an omission. This also goes to show that ordering those
options consistently makes it easier to spot those errors.

This is a followup to #307.

Signed-off-by: Antoine Beaupré <anarcat@debian.org>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-06-09 12:28:30 -05:00
Richard Laager
9e7a1e8c54 Add "the" to a phrase
I noticed this while looking at #317.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-06-09 12:18:48 -05:00
Richard Laager
36c1f2f5cd Debian: Update backports pinning
According to the apt_preferences man page, we should be able to use
"Package: src:zfsutils-linux".  Then we don't have to worry about keeping
the list of packages up-to-date, especially as library soversions change.

Reported-by: udf2457
Closes #314
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-06-08 01:14:00 -05:00
Tony Hutter
f0cbd9a29c Update directions for RHEL 8.6 zfs-release 2022-06-06 14:54:34 -07:00
Tony Hutter
cf17cf5306 Add AlmaLinux/RHEL 8.6 2022-06-06 13:49:26 -07:00
Richard Laager
f30e459aa2 Debian/Ubuntu: Strengthen "New version" messages
This makes it more clear that the old guides are not receiving updates.

This came up in #309.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-05-25 13:53:46 -05:00
Richard Laager
7493fd37e4 Debian: Revert compatibility=grub2
This doesn't work on Debian Bullseye.  While I tested the actual
create command on unstable, I know I looked at a file list on
packages.debian.org.  I must have looked at bullseye-backports by
mistake.  That's what I get for not testing the whole thing!

This partially reverts commit 7343c2253f.

Reported-by: anarcat
Closes #309
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-05-20 23:23:17 -05:00
Richard Laager
db5c8c4785 Debian & Ubuntu: Rework dataset creation step
The major change for Ubuntu is to mark many of these as optional, like
with Debian and the old guides.  As I move away from zsys, this will end
up being more like the old way.

This was also discussed in #306 and #307, but this change has
trade-offs.  It can reduce the number of datasets created on the
system, but it does so by increasing the complexity to read and follow
the guide.

Then I just harmonized Debian with Ubuntu.  Aside from whitespace,
reordering, rewording, the substantive changes were to drop /opt and
add /var/lib/NetworkManager.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-05-19 23:17:17 -05:00
Richard Laager
7343c2253f Debian & Ubuntu: Use compatibility=grub2
This reduces the number of features I need to enable explicitly.

As discussed in #306 and #307.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-05-19 23:17:17 -05:00
Richard Laager
bc3af3ba58 Ubuntu 22.04: Update bpool features
This brings in things from Debian Bullseye.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-05-19 23:17:17 -05:00
Richard Laager
c084a2ebff Debian: Set autotrim=on on Bullseye
I had this for Ubuntu 22.04.  This should be supported on Debian Bullseye too.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-05-19 23:17:17 -05:00
Adrian Tritschler
ebb9db2c7b Update index.rst - typo in example command line
Commandline "yum install https://zfsonlinux.org/epel/zfs-release$(rpm -E %dist).noarch.rpm" had typo, to use "%distro" rather "%dist"

[root]# rpm -E %distro
%distro
[root]# rpm -E %dist
.el7_9
2022-05-19 19:34:28 +03:00
Maurice Zhou
0ff944c678 Fedora 36: bump version; backup bash input history for future reference
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2022-05-19 17:57:49 +03:00
Richard Laager
f110d52486 Debian Bullseye: Fix issue with zed steps
Running "zfs set canmount=off rpool/ROOT/debian" causes the root
filesystem to be remounted read-only.  I have no idea why, but that's
mostly beside the point.

I have no idea why I added these commands in the first place.  The
other guides were not this way.  These steps showed up in the initial
add of the Bullseye instructions.

Reported-by: Cameron Skappel <cskappel@wiktel.com>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-05-19 00:56:53 -05:00
Richard Laager
fc9bcbadb9 Debian: Fix some wording
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-05-19 00:52:31 -05:00
Richard Laager
903d631033 Set encryption=on
encryption=aes-256-gcm is now the default.

anarcat mentioned this in PR #306.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-05-19 00:51:52 -05:00
Richard Laager
3d94c40b4a Ubuntu 22.04: Update encryption default note
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-05-19 00:07:43 -05:00
Richard Laager
8105d010fe Ubuntu 22.04 / Debian: Deprecate zsys
Ubuntu almost removed support for ZFS from the installer, and zsys is
on life support:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1966773
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1968150

I plan to rework the Ubuntu 22.04 instructions to be closer to those for
Debian Buster.  This will be straightforward, but I need to actually test
the resulting instructions before pushing that change.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-04-29 16:44:46 -05:00
Jonathan Dumont
d8e15645f6 Debian: Create /etc/dropbear-initramfs
/etc/dropbear-initramfs is not create automatically - at least on Debian
testing

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-04-27 14:21:06 -05:00
Richard Laager
5543afab03 Debian: Use tasksel --new-install
This switch makes tasksel include the "standard system utilities" task.

Unfortunately, it also defaults to installing a desktop environment, so
we need to warn users about that.

Co-authored-by: Marcello Mamino <m2@ciovil.li>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-04-27 14:18:00 -05:00
Matt Bentley
4007f89319 Added note about boot pool size consideration; fixes #296
Signed-off-by: Matt Bentley <mbentley@mbentley.net>
2022-04-24 16:40:53 -05:00
Martín Gómez
33b846f3e6 Debian: Use bullseye-backports
Update to use Debian bullseye-backports repository.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-04-22 22:50:53 -05:00
Richard Laager
180dedbe6f Debian/Ubuntu: Add a hint about multi-disk setups 2022-04-21 23:31:54 -05:00
Richard Laager
3236a8bc82 Ubuntu: Add 22.04 for Raspberry Pi
I haven't tested these yet.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-04-21 23:31:32 -05:00
Richard Laager
761e88acce Ubuntu: Update for 22.04 release
I removed the beta marking from 22.04 and added the "Newer release
available" note to 20.04.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-04-21 23:29:54 -05:00
Daniel Baker
58123389d6 Removing unnecessary usage mount/umounts of /boot/efi. /boot/efi is not used but /boot/efis is. 2022-04-12 12:43:52 +03:00
Daniel Baker
b29a791a6b Fixes 'attribute 'efi' already defined' error. 2022-03-31 17:06:20 +03:00
Maurice Zhou
b535751f23 Fix bug: dracut config must not be overwritten
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2022-03-21 12:14:36 +03:00
Maurice Zhou
2aa4040743 Fedora & RHEL: fix slow loading mpt3sas.
Credit: @mdiepart from #282

Closes #282 #262

Fix variable export before chroot

Credit: @mdiepart from #282

remind user to enable multi-disk support

NixOS: handle installation failure wrt encrypted boot pool

Closes #279
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2022-03-19 13:23:22 +03:00
Richard Laager
e9ad548c11 Ubuntu 22.04: Fix some 20.04 references
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-03-17 19:10:21 -05:00
Richard Laager
c4010d709b Ubuntu 22.04: Drop zfs-mount-generator patch
The patch has been brought into Ubuntu 20.04.3 and is no longer needed.
I (rlaager) missed making this change to the 22.04 instructions too.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-03-17 19:06:47 -05:00
Richard Laager
0dddb09283 Ubuntu: Add beta 22.04 instructions
This is the 20.04 version with the following changes:
  - s/focal/jammy/
  - Drop the Errata section
  - The history symlink exists by default, so there is no need to
    create it.
  - Add a note about being beta instructions.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-03-10 22:33:59 -06:00
Richard Laager
8237016850 Ubuntu: Bump to 20.04.4
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-03-10 22:31:29 -06:00