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.
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.
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
"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
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>
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>
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>
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>
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>
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.]
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.]
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>
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?
* Add support for NixOS
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* updated files for immutable root fs
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* update ssh key location
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* change initrd host key name
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* add missing -p switch
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* comments about SSH and encrypted bpool
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* backup hardware-configuration.nix file
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* clearer wording for backup
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* global useDHCP flag is deprecated
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* point user to configuration.nix
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* fixes for systemd-autofs; network; typo
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* force command to return 0
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* fix command to postMount
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* fix mount command
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* escape $i
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* create mountpoints before booting
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* replace postDevice,preMount command
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* disable zfs-mount
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* generate machine-id
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* Let user know that SELinux will be re-enabled after reboot
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* compat with future releases: use zfs-dkms and newer repo
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* rm unused releasever option
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* let user aware of the ignorable errors
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* detailed explanations for errors during grub-menu generation
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* Build ZFS dkms module in installed system
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* switch to dkms package for better compatibility with kernels
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* add direct download links for live iso
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* rm zfs-fuse before install; mirrorlist
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* reformat notes
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* rm netconfig - networkmanager is enabled by default
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* load kernel module in live;
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* rm encrypted bpool: untested
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* use u=r,go= permission on key file
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* fix typo
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* use bash shell
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* suggest clean the disks
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* add grub-menu auto update
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* monitor kernel-core pkg
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* copyright 2021
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* fix kernel var detection
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* read-only cache file
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* replace zfs-mount.service with zfs-mount-generator
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* notes for mount and POSIX-compliant
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* hard-code kernel version
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* fix chroot variable
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* fix grub cfg
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* fix grub
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* missing comment
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
* comments
Signed-off-by: Maurice Zhou <jasper@apvc.uk>