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>
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>
Credit: @mdiepart from #282Closes#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>
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>
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>
Ubuntu 16.04 support ended April 2021.
Limited support is available to commercial customers via the Extended
Security Maintenance (ESM) program, but this is only for select
packages. So I think we are safe to drop this.
Use a "note" section for the Root on ZFS note.
Signed-off-by: szubersk <szuberskidamian@gmail.com>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
[Split this out and rewrote commit message.]
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>
/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>
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>
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>
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>
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>
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>
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>
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#204Closes#126Closes#205
Thanks: Juri Grabowski <git-commit@jugra.de>
Thanks: Freezed <freezed@users.noreply.github.com>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
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>