dreemurrs-embedded / Pine64-Arch

:penguin: Arch Linux ARM for your PinePhone/Pro and PineTab/2
686 stars 105 forks source link

PP: Fails to boot with FDE enabled #589

Open pentamassiv opened 9 months ago

pentamassiv commented 9 months ago

Device info (please complete the following information)

Describe the bug Ever since I updated on September 15th, the phone does not boot. The following error is displayed:

The syntax 'root=/dev/mmcblk2p2' where '/dev/mmcblk2p2' is an encrypted volume is deprecated
Use 'cryptdevice=/dev/mmcblk2p2:root root=/dev/mapper/root' instead

I do not get asked for a password to unlock my device and then there are a bunch of more repeating errors

To Reproduce Steps to reproduce the behavior:

  1. Update the system
  2. Reboot

Expected behavior I should get asked for a password and the phone should boot

Before submitting a bug report, please be sure that you have done the following:

DrRac27 commented 9 months ago

This bug is known since the 2. september in the Matrix room. Some modules needed for osk-sdl are now optional and therefore not in the initramfs anymore. Danct12 said in the matrix room:

well crap, that now requires the module to be put in initramfs i actually just moved lima and panfrost from built-in to module to save some space you can still boot from another media and unlock the drive, mount boot and add "panfrost" to mkinitcpio's modules then regen initramfs, that should work

a few days ago I added the module before I updated but I now have the same problem anyways. I have no time to fix that now but maybe it helps.

lily-bit-0 commented 9 months ago

Making the changes to mkinitcpio.conf and boot.txt from #590 and adding lima and panfrost to mkinitcpio.conf modules fixed it for me.

ghost commented 9 months ago

How to install it with FDE, since the script for it is not working anymore?

realroot2185 commented 7 months ago

I am on Armtix and just adding lima and panfrost to mkinitcpio.conf works (and rebuild it). The hooks of the PR don't look good, if you use osd-sdl (or unl0kr) you shouldn't use encrypt too. boot.txt fixes deprecation warning.