Commit Graph

365 Commits

Author SHA1 Message Date
Fernando Carolo
e8771c6d84 Update docs for Ubuntu on Raspberry Pi for 20.04.4 release.
Update the getting started instructions for Ubuntu on a Raspberry Pi to
use the new 20.04.4 LTS release.

Signed-off-by: Fernando Carolo <fcarolo@google.com>
2022-02-26 11:22:17 -06:00
Ed Maste
31db1ac4f1 Update FreeBSD instructions for FreeBSD src Git transition 2022-02-26 15:40:28 +03:00
Maurice Zhou
4c2bb3a230 Add users optional home directory to fstab
Closes #267

Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2022-02-15 18:09:30 +03:00
Maurice Zhou
11c527ed27 NixOS Root on ZFS: replace /boot/efi with primary disk esp
/boot/efi is used exclusively to mirror EFI contents to
other disks, as in `cp /boot/efi/EFI /boot/efis/disk{0,1,2}`

As shown in issue #256, this approach causes trouble with
`nixos-generate-config`, which fills filesystem type as 'none'.

This commit fixes this issue by removing /boot/efi mountpoint and
directly copy from '/boot/efis/primary-disk/EFI/'.

Closes #256

Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2022-02-15 17:30:27 +03:00
Maurice Zhou
891a5e1659 NixOS: remove encrypted swap section due to system bug
See https://github.com/NixOS/nixpkgs/issues/157989

Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2022-02-07 12:27:43 +03:00
krumelmonster
bbea2a1c1b exporting bpool would reproducibly fail for me, suggesting import -f in initramfs on reboot as a fix 2022-02-02 21:08:58 +03:00
krumelmonster
02ade43665 suggest to use wipefs on disks containing obsolete zfs labels 2022-02-02 21:08:58 +03:00
George Melikov
3a0f9a4acd OpenSUSE RootOnZFS typoes cleanup 2022-02-02 19:45:32 +03:00
Maurice Zhou
b490d147c6 Arch Linux: add live iso instructions
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2022-01-31 20:07:46 +03:00
Kevin P. Fleming
5713bc08ed Use 'private' bind mounts
When plain '--rbind' is used, the 'umount' process executed later in the
setup process completely unmounts the bound filesystem, resulting in various
forms of breakage on the host used to do the setup. When a Live CD is used
and the system will be immediately shutdown/rebooted, this isn't an issue,
but in other scenarios it can be problematic.

Making the bind mounts 'private' avoids this problem. This patch changes
the setup guides for 'modern' distribution versions but does not touch
the older ones where this functionality may not be available.

Signed-off-by: Kevin P. Fleming <kevin@km6g.us>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-01-17 12:35:02 -06:00
LordNicky
7b974c4181 Update openSUSE Leap Root on ZFS.rst
Errors fixing.
2022-01-17 17:24:19 +03:00
jumbi77
6ab5670546 zfs doc: upper bound for slop space calculation
OpenZFS v2.1 and above added an upper bound for slop space calculation.
See: f01eaed455
2022-01-14 21:57:06 +03:00
shotcollin
28d89ab4a1 Ubuntu: Update errata to remove old paths
I think there might be a mixup in the errata between paths suggested
in 2020-05-30 fix and those in original/2020-12-15 fix.

Closes #244
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-01-12 01:41:00 -06:00
George Melikov
fee8273b39 FAQ: fix inner-page anchor
Closes #250
2022-01-09 20:45:27 +03:00
jumbi77
cbf1e0bafa Update OpenZFS Exceptions.rst 2022-01-04 02:35:28 +03:00
Maurice Zhou
7b2af8129a NixOS: remove unnecessary import service for LUKS bpool
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2022-01-03 10:16:18 +03:00
Maurice Zhou
00d5a7e806 Fedora: replace dnf remove with rpm -e --nodeps
Fix an issue where removing zfs-fuse package will cause tons of other
packages marked for removal

Reported by @siepkes

Closes #245

Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2021-12-30 22:09:17 +03:00
Maurice Zhou
4aa28d1d66 RHEL: switch to kmod
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2021-12-28 15:56:26 +03:00
Maurice Zhou
4a74c075b9 RHEL: upgrade to 8.5; Fedora: upgrade to 35
RHEL/Fedora: add link to list of repositories

Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2021-12-28 13:09:48 +03:00
George Melikov
d1fe488e56 CI: use actions/checkout@v2 everywhere 2021-12-20 11:26:20 +03:00
Maurice Zhou
dd5988c0f8 RHEL: Remove automatic detection of system version.
Closes #216

Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2021-12-15 11:11:04 +03:00
Maurice Zhou
6f435e59e4 RHEL and Fedora: Fix package installation order.
Closes #238
Also see openzfs/zfs#12822

Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2021-12-15 11:11:04 +03:00
Richard Laager
704cb2f8b8 Ubuntu: Update link for 20.04.3 2021-12-13 20:06:11 -06:00
Richard Laager
a408cc2d67 Debian/Ubuntu: Set hostname in Live environment
This ensures that the Live hostname does not leak into e.g. OpenSSH
server keys.  It's not a huge deal either way, but this is nicer.

Closes #158
Thanks: anarcat
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2021-12-12 14:24:41 -06:00
Richard Laager
a90b19b0f7 Debian: Update initrd example
This now uses a /BOOT instead of /ROOT.  I also changed
rpool/ROOT/debian-1 to rpool/ROOT/debian.  These changes make it match
the Root on ZFS systems.  I have no actually tested this.

Closes #215
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2021-12-12 13:52:12 -06:00
Richard Laager
567524c1e0 Debian: Add dropbear instructions
The dropbear-initramfs package can be used to add dropbear SSH support
to the initramfs.  That can be used to remotely unlock the root pool
using the `zfsunlock` script.

Closes #46
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2021-12-11 20:26:15 -06:00
Richard Laager
db8b190f73 Debian: Fix formatting error
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2021-12-11 20:08:15 -06:00
Richard Laager
cbb49c7fb4 Debian/Ubuntu: Simplify os-prober removal
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2021-12-11 19:14:30 -06:00
Richard Laager
c2ecfb8cbb Debian: Update for Bullseye
Besides the obvious s/buster/bullseye/ sort of changes, this:
  - Removes the use of backports.  At this time, the difference is
    minimal (2.0.6 vs 2.0.3) and I do not see a need to force backports
    on users.  They are free to add it later if they wish.
  - Updates the sources.list for bullseye-security also being at
    deb.debian.org.
  - Updates the bpool features:
    - device_rebuild has an explanation of why it is not used.
    - livelist is now used.
    - log_spacemap has been tested, but shares the same explanation as
      spacemap_v2 for why it is not used.

Fixes #204
Closes #126
Closes #205

Thanks: Juri Grabowski <git-commit@jugra.de>
Thanks: Freezed <freezed@users.noreply.github.com>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2021-12-11 19:14:30 -06:00
Richard Laager
cd29b1a94e Ubuntu: Tweak initial ZFS install
It is not necessary to install zfs-initramfs in the Live environment.
I am changing this to reduce delta with the upcoming Debian Bullseye
instructions.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2021-12-11 19:14:30 -06:00
Richard Laager
8c5031d63e Revert "Introduce Debian Bullseye root on ZFS howto"
This reverts commit b81a471939.

We clashed while working on this.  The Bullseye HOWTO in the above
commit was not rebased on the current Buster HOWTO, so a lot of its
delta between Buster and Bullseye is improper.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2021-12-11 19:13:53 -06:00
Juri Grabowski
b81a471939 Introduce Debian Bullseye root on ZFS howto
Based on Buster howto

Co-authored-by: George Melikov <mail@gmelikov.ru>
2021-12-12 00:55:48 +03:00
Hank Barta
95160f34b6 Debian: Update for 2.0.3
/etc/zfs/zed.d/history_event-zfs-list-cacher.sh exists by default.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2021-12-11 14:52:30 -06:00
Daniel Fabian
d57fef1d00 Add missing cd
When trying to execute this script, it fails because it doesn't move to the home directory. I think there's meant to be a `cd` after setting the `HOME` variable.
2021-12-11 00:17:01 +03:00
Maurice Zhou
9dbfd5abd5 NixOS 21.11: always track the latest kernel compatible with ZFS
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2021-12-03 19:37:50 +03:00
Maurice Zhou
b3444163cd NixOS: upgrade to release 21.11 with ZFS 2.1.1
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2021-12-03 18:15:57 +03:00
Maurice Zhou
7dfc0591d8 NixOS: mount /boot/efi
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2021-12-03 18:15:57 +03:00
Maurice Zhou
d4ffbd73a8 NixOS: fix mirrored EFI system partition issue
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2021-12-03 18:15:57 +03:00
Maurice Zhou
1fa945ccc3 Fix: add missing shell script interpreter
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2021-12-03 18:15:57 +03:00
Maurice Zhou
8a396f32f7 GRUB: preliminary support for PBKDF2-only LUKS2
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2021-12-03 18:15:57 +03:00
Tony Hutter
c2142e05f2 Update links for Centos 8.5 2021-12-02 11:10:46 -08:00
ne9z
862c355d4e Fix /boot mounting and add notice for other keyboard layouts (#230)
* NixOS: add "X-mount.mkdir" mount option, fix unmounted /boot

Signed-off-by: Maurice Zhou <jasper@apvc.uk>

* add tips for keyboard layout support, closes #211

Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2021-11-21 17:52:03 +03:00
Teodor Spæren
30c7752fe4 Add more packages to the APT preference file
When doing `apt upgrade` on my Debian machine, I saw that two packages was being held back. The reason cited was that the names had somewhat changed I think. It is worth noting that I'm running bullseye, so this might not be applicable to buster, which is the version documented here.
2021-11-04 20:19:48 +03:00
Maurice Zhou
783877d147 Update build instructions in NixOS
various minor fixes; bump archlive to nov 2021

use dkms in live

Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2021-11-04 18:28:09 +03:00
Scott G. Ainsworth
f60e80083d Ubuntu Raspberry Pi: Support USB disks
Signed-off-by: Scott G. Ainsworth <scott@ainsworth.us>
Co-authored-by: Richard Laager <rlaager@wiktel.com>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2021-11-02 00:05:58 -05:00
Richard Laager
20addfbd0e Ubuntu Raspberry Pi: Enable vc4-fkms-v3d
This enables 3D acceleration, which is desirable for desktop
installations.

Reported-by: Scott G. Ainsworth <scott@ainsworth.us>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
Closes #224
2021-10-30 14:38:57 -05:00
Richard Laager
bc5d60883e Revert "Ubuntu Raspberry Pi: Stop unattended upgrades"
"It turns out that stopping the service is only effective done shortly
after reboot (< 1 minute?). After that a kernel upgrade might be in
progress and the service stops only after the kernel upgrade is
complete. After the upgrade finishes, installation can continue.
However, stopping the unattended kernel upgrade can render the media
unbootable (because /etc/kernetl/postinit.d/zz-deccompress-kernel might
not have run)."

I guess we'll go back to telling people to wait (a possibly long time)
for unattended-upgrades to finish.

This reverts commit d9f50ffa89.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
Closes #225
2021-10-30 14:38:48 -05:00
Richard Laager
8cc8709364 Revert "Ubuntu Raspberry Pi: Remove "nosplash" bit"
I don't know what I was thinking last night... this was _adding_
nosplash, not removing it.

This reverts commit c5e77db483.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2021-10-30 14:38:36 -05:00
Scott G. Ainsworth
d9f50ffa89 Ubuntu Raspberry Pi: Stop unattended upgrades
Signed-off-by: Scott G. Ainsworth <scott@ainsworth.us>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2021-10-30 01:22:17 -05:00
Richard Laager
52e9c750e1 Ubuntu Raspberry Pi: Change some sudo -i steps
This makes things a bit more consistent.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2021-10-30 01:22:17 -05:00