X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=README;h=3f01a9726948b5dac69ce49a161f828ab20f1925;hp=5f780755ffa4702790b6bcda31e2aacff1fa8253;hb=6ca069946c8ff88d79d1ae421e0eda60ae1c514c;hpb=fe81034ee9664d8e131bac218b40d99a58a31649 diff --git a/README b/README index 5f78075..3f01a97 100644 --- a/README +++ b/README @@ -76,7 +76,7 @@ fai/config/class/50-host-classes. Before doing a fai install, you will need to populate /q/root/luks and /q/root/shadow, see their references. You might also want to copy existing /etc/ssh/*host* to -/p/c/machine_specific/HOST/filesystem/etc/ssh. +/p/c/machine_specific/HOST/filesystem/etc/ssh host-* luks keyfiles generated like: head -c 2048 /dev/urandom | od | s dd of=/q/root/luks/host-demohost @@ -140,9 +140,6 @@ fresize # resize swap or boot partitions in a host # Replacing a raid 10 disk -# i expect better results with newer kernel and btrfs progs than the default stretch -fai-server buster - pxe-server -S HOST fai # btrfs replace or delete. prefer replace. to setup partitions on replacement drive: @@ -180,12 +177,33 @@ reboot # Expected output in fai logs +On focal, +fai.log:updatebase.UBUNTU FAILED with exit code 1. +the real error is dpkg-reconfigure locales, seems to be related +to a workaround for < 20.04, relevant comment: +# in case the locales are already included inside the base file (Ubuntu) +in config/hooks/instsoft.DEBIAN + + For flidas, when installing systemd, this error happens, and it's a superflous upstream bug based on reading the post install script: addgroup: The group `systemd-journal' already exists as a system group. Exiting. Operation failed: No such file or directory +On nabia/newer, python is removed, now its python3, +and its easier to just let the package get removed than +do host class package config. +fai.log:WARNING: These unknown packages are removed from the installation list: python python-minimal + +Similar to python, linux-image-amd64 is the debian package name +for the kernel, linux-image-generic is for ubuntu, but the +DEBIAN class is defined on ubuntu and its easier to just let +the package get removed with this warning: +fai.log:WARNING: These unknown packages are removed from the installation list: linux-image-amd64 +Also, cryptsetup-initramfs is new to buster/nabia, it gets removed +on earlier versions. + # linode notes @@ -268,6 +286,13 @@ umount dev umount sys reboot +# for switching the boot to root2 +zboot +# for switching back, efibootmgr, if there is a problem with the root filesystem detection, +# boot into the debian bootstrap distro, run partition.DEFAULT using comments for mktab arg. +# then manually run iboot and then reboot. + + # pine rock64 notes # the only useful image is ubuntu 18.04 ayafun or something. # using emmc usb: @@ -282,6 +307,9 @@ s apt-get update s apt dist-upgrade + + + # TODO Change arch to archlike and to support arch and parabola