Upgrade of PinePhone from v23.06 to v23.12 with FDE ends in: unsupported 'crypto_LUKS' filesystem
User karcio reported in the release-party channel, that they upgraded a PinePhone from v23.06 to v23.12. It had FDE enabled, and after rebooting, it showed the following error:
ERROR: unsupported 'crypto_LUKS' filesystem (/dev/mmcblk2p2)
The user reinstalled postmarketOS afterwards, we don't have any logs to analyze this.
I'm creating this issue for future reference, in case somebody else is also affected by this. I'll link to it from the v23.12 release blog post.
If you are affected:
- The fix broken boot partition guide will probably fix this. Otherwise JumpDrive (eMMC install) or SD card inserting into PC and running
cryptsetup luksOpen
manually should help you access the files again. (And you made a backup, as the script told you to, right?) - Please post your upgrade log here, it is in:
/var/lib/postmarketos-release-upgrade/
If you want to help preventing such issues in the future, consider joining the testing team. Unfortunately we did not catch this specific bug during testing, but we did catch some others and fixed them before the release.
Photo: