Troubleshooting
How to re-enroll the tpm?
Section titled “How to re-enroll the tpm?”First wipe any old stale tpm’s:
sudo systemd-cryptenroll --wipe-slot tpm2 /dev/disk/by-label/luks-AstrOS-rootEnroll your tpm2, you will be asked for your recovery key.
sudo systemd-cryptenroll --tpm2-device auto --tpm2-pcrs=7 /dev/disk/by-label/luks-AstrOS-rootHow to rollback?
Section titled “How to rollback?”- Reboot.
- When the systemd-boot menu appears, select the other image entry. If the menu does not appear on its own, hold Space during boot to force it.
- Press Enter to boot the selected entry.
To confirm which build you landed on:
cat /etc/os-releaseWhy doesn’t my recovery key work?
Section titled “Why doesn’t my recovery key work?”You probably have a keyboard from outside the US where the - is in a different
position or the y and z are switched. Try replicating the US keyboard layout.
Updatectl update fails
Section titled “Updatectl update fails”Outdated systemd-sysupdate transfer files
Section titled “Outdated systemd-sysupdate transfer files”-
Download or clone our repo.
-
Navigate to the correct path:
Terminal window cd AstrOS/system/mkosi.images/base/mkosi.extra/usr/lib/ -
Update from the newest transfer files:
Terminal window sudo systemd-sysupdate update --definitions=sysupdate.d/
ESP is not mounted
Section titled “ESP is not mounted”Check if the esp is mounted under /boot
If it isn’t, mount it manually using:
sudo mount /dev/disk/by-partlabel/esp /bootIf this issue persists, please reach out to Support.
libvirtd fails to start
Section titled “libvirtd fails to start”Try to delete the following file and restart libvirtd.
sudo rm /var/lib/libvirt/secrets/secrets-encryption-key
sudo systemctl restart libvirtd