disk_arg+=("--disk path=$f")
if $new_disk || [[ ! -e $f ]]; then
sudo rm -f $f
+ # https://btrfs.wiki.kernel.org/index.php/FAQ
+ sudo touch $f
+ chattr +C $f
e sudo qemu-img create -o preallocation=metadata -f qcow2 $f 50G
fi
done
# recovery needs and for doing pxe-kexec.
boot_mib=10000
root2_mib=200000
- boot2_mib=500
-elif (( boot_space > 30000 )); then
+ boot2_mib=2000
+elif (( boot_spa_ce > 30000 )); then
boot_mib=$(( 5000 + (boot_space - 30000) / 2 ))
root2_mib=100
boot2_mib=100
done
shopt -s nullglob
+# We write to these files instead of just /etc/fstab, /etc/crypttab,
+# because these are filesystems created after our current root, and so
+# this allows us to update other root filesystems too.
rm -f /mnt/root/root2-{fs,crypt}tab
if $mkroot2; then
if $partition; then
PACKAGES install FLIDAS64 XENIAL64
linux-image-generic-hwe-8.0
+PACKAGES install NABIA64 FOCAL64
+linux-image-generic-
+linux-image-generic-hwe-20.04
+
PACKAGES install GERMAN
language-pack-gnome-de