#1125054 partman-efi: on install with one of the "Guided - user entire disk" options also wipe old efivars? efi uefi

#1125054#5
Date:
2026-01-08 19:46:41 UTC
From:
To:
package is a guess, please move as needed.

Installed with "Guided - use entire disk and set up encrypted LVM" and
was surprised to see logs mentioning a previous very brief Kali install
that had been done on the same machine.

Should old UEFI vars be wiped if using one of the entire disk partman
recipes?

$ journalctl --no-pager -b -t systemd-hibernate-resume | perl -lpe 's/UUID=[^ ]* //;' | cut -d' ' -f 1-3,5-
Jan 07 22:18:07 systemd-hibernate-resume[1023]: Reported hibernation image: ID=kali VERSION_ID=2025.3 kernel=6.12.38+kali-amd64 offset=0
Jan 07 22:18:07 systemd-hibernate-resume[1023]: HibernateLocation system identifier doesn't match currently running system, would not resume from it.

$ < /sys/firmware/efi/efivars/HibernateLocation-* tr -d '\000\a' | jq 'del(.uuid)'
{
  "offset": 0,
  "kernelVersion": "6.12.38+kali-amd64",
  "osReleaseId": "kali",
  "osReleaseVersionId": "2025.3"
}