Update the getting started instructions for Ubuntu on a Raspberry Pi to
use the 20.04.2 LTS release. Add `-a` flag to the `wipefs` command to
make sure it will erase any filesystem header from previous use of the
SD card.
Signed-off-by: Fernando Carolo <fcarolo@google.com>
Use ${DISK}-swap for dm name
Update archlinux live image to May 2021
Other minor improvements
reusable command for mirroring ESP
use glob for initrd keys
apply hostname to live system; use wildcard for network config
separate persistent swap and hibernation
secureboot; temp esp partition
capital letters
Secure Boot needs to be re-enabled
wording: save and reboot
wording, spurious white space
double sharp sign for comment
updates for GRUB tips
reinstall GRUB after entering system
Signed-off-by: Maurice Zhou <ja@apvc.uk>
do not use /dev/sda as example
fix formatting; add notes
update info regarding encryption
use internal links; tweak indentation
other kernel variants
install sudo before editing /etc/sudoers
use colon
use mkinitcpio for initrd generation
only use ~/.local/bin if exist
dependencies for building site
Signed-off-by: Maurice Zhou <ja@apvc.uk>
If you do a `./autogen && ./configure --with-config=srpm && make dist` without having `git` installed, you will get a `ZFS_META_GITREV=unknown` value. To fix this, add `git` as a dependency.
It looks like I messed this up (for Debian, but not Ubuntu) in my
various changes. It is not necessary to do this before the chroot in
the normal install path, as it was done earlier. But it is something
that should be done before the chroot in the rescue path. I've now
made Debian match Ubuntu.
Fixes#141
Reported-by: Colm <colm@tuatha.org>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
There was already a note about ignoring a cryptsetup WARNING, but:
A) cryptsetup also prints an ERROR message, and
B) this also occurs at an earlier step.
Fixes#134
Signed-off-by: Richard Laager <rlaager@wiktel.com>
Arch: Ignore kernel updates with zfs package
Arch Linux: Notes on single disk bash array and EFI system partition
Signed-off-by: Maurice Zhou <ja@apvc.uk>
package; drop Artix Linux
Arch Linux: index.rst punctuation
Arch Linux: Boot pool encryption key must not be in child dataset
Arch Linux: delete backup after restoration
Remove trailing blanks
Move topology spec above pool creation
Arch Linux: Reintroduce INST_UUID
Arch Linux: secure permissions for key file
Signed-off-by: Maurice Zhou <ja@apvc.uk>
index:
Numbered steps
Arch guide:
Reduce RAM requirement to 2G
March 2021 live image build
Use `pacman -S --needed` to skip reinstalling up-to-date packages
Use "Xonzfs" hostname instead of "localhost"
Remove pool encryption tips: Not relevant
Tip for encrypting boot pool
Add archzfs-testing repo; but commented out
Fix find-root-pool-name-in-grub link
Add missing steps in LUKS bpool
Warn about bricked motherboard for Secure Boot
Remove INST_UUID INST_MNT
Artix guide:
mostly same as above
I have tested the guide with a VM,
including LUKS bpool and hibernation section.
Signed-off-by: Maurice Zhou <ja@apvc.uk>
This is a basic HOWTO page for OpenSUSE. This pages not official. This is a personal work represents how I do it.
* Added openSUSE on ZFS basic pages. For Leap and Tumbleweed this pages generated in lights of Debian and Ubuntu pages.
Signed-off-by: Suleyman Poyraz <zaryob.dev@gmail.com>
Arch Linux Root on ZFS: Encrypt boot pool with LUKS
Typo fixes; tweaks
Add Secure Boot
Secure Boot key enrollment differs
Secure Boot: rm HP laptop ref
Strictly follow manu. instructions. I bricked my EliteBook 820 G2 with KeyTool.efi
Example Secure Boot customization links
Back up Secure Boot signing keys
Secure Boot: Add link to bricked motherboard
Replace Secure Boot with a link; out of scope
Signed-off-by: Maurice Zhou <ja@apvc.uk>
This was mentioned in #99 and I added it as an alternative option.
However, it seems to break GRUB; see #107. GRUB tries to parse
/proc/mounts and see a line like this:
systemd-1 /boot/efi autofs ...
From there, it gets "systemd-1" as the device name, and breaks.
Closes#107
Signed-off-by: Richard Laager <rlaager@wiktel.com>
We need the bpool to end up in zpool.cache. For some reason, this is
not happening normally on Ubuntu 20.04. I added the same steps to
Debian too, for good measure.
This was discussed in #120.
Signed-off-by: Richard Laager <rlaager@wiktel.com>
The previous approach to installation is: try this easy one first, and
if it fails, try the hard one.
This commit streamlines the installation experience by minimizing
references to such procedures.
This commit also removes verbose comments from Root on ZFS installation
guides.
As the upstream has fixed glibc, its section is also removed.
Signed-off-by: Maurice Zhou <ja@apvc.uk>
We were getting errors about failing to parse some blocks as "sh"
because they weren't.
I made one small textual change when cleaning this up.
Signed-off-by: Richard Laager <rlaager@wiktel.com>
If the disk has been used before (with partitions at the same offsets),
previous filesystems (e.g. the ESP) will automount if not disabled.
Co-authored-by: attero <service-github@attero.me>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
Closes#119
"The /root dataset is created with default world-readable permissions
(755). debootstrap would create /root with 700 permissions, but it
does not change the permissions if it already exists."
Reported-by: zxyrepf
Closes#115