Commit Graph

387 Commits

Author SHA1 Message Date
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
Richard Laager
cc0dbd6105 Ubuntu Raspberry Pi: Change partitioning script
The partition script for sfdisk does not need another layer of
indirection.  Instead of being a shell script that writes an sfdisk
script, it is now just an sfdisk script directly.  The shell variables
are interpolated by the heredoc anyway.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2021-10-30 01:22:17 -05:00
Richard Laager
aba81046fa Ubuntu Raspberry Pi: Add groups
Just like the other instructions, add some groups that do not exist by
default but which are listed in the usermod command.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2021-10-30 01:22:17 -05:00
Richard Laager
f7551dd9b4 Ubuntu Raspberry Pi: Cleanup /etc/cloud
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2021-10-30 01:22:17 -05:00
Richard Laager
c5e77db483 Ubuntu Raspberry Pi: Remove "nosplash" bit
"nosplash" is not set by default.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2021-10-30 01:22:12 -05:00
Richard Laager
9e29f91e7f Ubuntu Raspberry Pi: Limit swapoff
In this version, the swapoff is being run on the non-Pi system.  I did
not mean for people to disable their swap (even temporarily).

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2021-10-30 01:01:05 -05:00
Richard Laager
0b7745ce87 Ubuntu Raspberry Pi: Add a comma
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2021-10-30 01:01:05 -05:00
Richard Laager
8991e688d8 Ubuntu: Update patch notes
This patch has been partially applied in 20.04.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2021-10-30 01:01:05 -05:00
Richard Laager
b32a8075a9 Debian: Fix stray whitespace
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2021-10-30 00:47:21 -05:00
Richard Laager
41ea6da337 Reorder SSH step
This reduces the number of steps in the "First Boot" section that are
not related to the first boot.

Reported-by: Jonathan Dumont <JOduMonT>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2021-10-29 14:01:47 -05:00
Richard Laager
0a2125b845 Debian/Ubuntu: Improve some sudo usage
Reported-by: Jonathan Dumont <JOduMonT>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2021-10-28 22:07:00 -05:00
Scott G. Ainsworth
f2cda9dad5 Ubuntu/Debian: swapoff when using disks
Use swapoff to ensure swap partitions are not mounted prior to
'sgdisk --zap-all'

Signed-off-by: Scott G. Ainsworth <scott@ainsworth.us>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
[Applied the change to Debian Buster; removed Ubuntu 16.04 and 18.04.]
2021-10-25 14:30:51 -05:00
George Melikov
1f2ff88863 Use upstream sphinx-notfound-page module instead of fork
We waited for changes to make 404s work properly
(absolute links with prefix).
It's in master now, use it.

Signed-off-by: George Melikov <mail@gmelikov.ru>
2021-10-24 21:07:32 +03:00
George Melikov
0fb4f1c6f0 Set link for man pages' source
So, contributors can get fast to source of our man pages.

Signed-off-by: George Melikov <mail@gmelikov.ru>
2021-10-24 15:07:28 +03:00
Scott G. Ainsworth
3c04e929a1 Ubuntu & Debian: Use variable for username
Signed-off-by: Scott G. Ainsworth <scott@ainsworth.us>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
[Applied to Ubuntu 20.04 Raspberry Pi & Debian Buster.]
2021-10-13 23:22:55 -05:00
Fernando Carolo
4c3ec4c594 Update instructions for Ubuntu on Raspberry Pi for 20.04.3 release.
Update the getting started instructions for Ubuntu on a Raspberry Pi to
use the 20.04.3 LTS release.

Signed-off-by: Fernando Carolo <fcarolo@google.com>
2021-10-12 16:53:35 -05:00
j5k
d8061ede68 Fix link 2021-10-11 17:14:52 +03:00
Rich Ercolani
0353028220 Add libcurl-dev{,el} to requirements
openzfs/zfs-buildbot@ed2a648f49 added libcurl-devel to bb-dependencies.sh, but nobody ever told the docs.

Whoops.
2021-10-08 13:37:35 +03:00
Maurice Zhou
89749e285f mention ne9z for pull requests
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2021-10-03 21:28:26 +03:00
Maurice Zhou
e34ace390b replace commands parsing ls output with shell glob
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2021-10-03 21:28:26 +03:00
Maurice Zhou
d1e8fad976 NixOS: special procedures for building site
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2021-10-03 21:28:26 +03:00
Maurice Zhou
f121be16dc For maximum compatibility and redudancy; mirrored vdev
is now always used for boot pool

Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2021-10-03 21:28:26 +03:00
Maurice Zhou
7fe3e8ceb1 NixOS on ZFS: replace manual root password generation with bash variable
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2021-10-03 21:28:26 +03:00
Joe Taber
41cdd28cf6 Add dnf remove -y zfs-fuse step to preparation doc
This change makes the preparation document align with the same recommendation in index.rst
2021-10-03 19:52:28 +03:00
Maurice Zhou
621d45a413 reword warning message; links for 5.10, 4.19 kernel
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2021-10-03 13:32:44 +03:00
Maurice Zhou
6e8ae2f854 warn about the risk of using a third-party kernel
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2021-10-03 13:32:44 +03:00
Maurice Zhou
783f390aa6 update links to boot environment manager
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2021-10-03 13:32:44 +03:00
Allan Jude
9a6ab5f317 Update FreeBSD install instructions
Default version if python 3.8 now, and remove an excess \
2021-10-02 23:34:37 +03:00
Rich Ercolani
cfa01ddfe8 Add warning about containers (#203)
A couple people have come by IRC having issues where the root cause was that they were stuck on the CDDL/GPL prompt from apt never rendering because their container runtime console wasn't being detected as dumb/noninteractive by apt, but wasn't capable of displaying the prompt.

So let's add a warning about that, shall we?
2021-09-14 11:12:32 +03:00