Full disk encryption with calamares: beware of last testing upgrade!
#3
(Yesterday, 02:07 AM)dragonhospital Wrote: Ask  devs in #mobian matrix room.  Share their fix.
 

Quote:Starting kernel ...

MESA-LOADER: failed to open dri: /usr/lib/aarch64-linux-gnu/gbm/dri_gbm.so: cannot open shared object file: No such file or directory (search paths /usr/lib/aarch64-linux-gnu/gbm, suffix _gbm)
ERROR: Could not create window/display: EGL not initialized




Hi, I have the same issue -- the core problem is in the absence of the library "dri_gbm.so", which is not copied during initramfs generation, I see the error below:




Code:
ln: failed to create symbolic link '/var/tmp/mkinitramfs_87Ugk3//usr/lib/aarch64-linux-gnu/dri/libdril_dri.so': File exists


I did a check of the initramfs contents, by copying it to the host and added `/usr/lib/aarch64-linux-gnu/gbm/dri_gbm.so` manually -- that requires unpack and pack of existing initramfs. After that, Pinephone booted well.


Looks like the issue is in initramfs generation scripts, so with `osk-sdl` the initramfs would be regenerated in wrong way.


In Matrix channel, there were a suggestion to switch to more recent OSK `unl0kr` and that helped in my case.

Safe steps:

  • change `/etc/crypttab` file, to point to proper keyscript `keyscript=/usr/share/initramfs-tools/scripts/unl0kr-keyscript`
  • install `unl0kr`, automatically regenerated initramfs will contain both OSKs
  • remove `osk-sdl` and initramfs will be regenerated again, but will contain only `unl0kr`




Good thing what initramfs is 3 times (!!!) less than with osk-sdl with all deps:


Code:
$ ls -lh /boot/initrd.img-6.12-sunxi64*
-rw-r--r-- 1 root root 29M Feb 14 18:53 /boot/initrd.img-6.12-sunxi64
-rw-r--r-- 1 root root 99M Feb 14 16:45 /boot/initrd.img-6.12-sunxi64.bak

Bad news -- the `unl0kr` doesn't support the Pinephone keyboard.
  Reply


Messages In This Thread
RE: Full disk encryption with calamares: beware of last testing upgrade! - by d4s - Yesterday, 06:01 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Upgrade to Mobian (Trixie) Staging biketool 13 1,482 12-29-2024, 10:35 AM
Last Post: biketool
  How to use an NVMe disk as rootfs Smaking 3 585 11-29-2024, 06:51 AM
Last Post: walter1950
  boot gets stuck shortly after disk decryption vortex 9 6,601 09-11-2024, 05:40 AM
Last Post: normangraves
  What actions needed to keep on mobian testing user641 3 2,913 09-05-2023, 06:44 AM
Last Post: Zebulon Walton
  Mobian boot failed with zstd message after upgrade. Mahgue 0 1,096 09-01-2023, 11:29 AM
Last Post: Mahgue
Wink Pinephone lost graphic during mobian system upgrade cmpin 4 3,372 03-01-2023, 04:45 PM
Last Post: anonymous
  No boot after upgrade: vibration, red LED, then 2 vibrations and yellow LED 3x5co 1 1,516 01-04-2023, 06:46 PM
Last Post: 3x5co
  Receive MMS fails after Nov 27 upgrade treebeard 17 9,920 12-12-2022, 05:09 AM
Last Post: anonymous
  beware chatty 0.7.0~rc0-1 treebeard 6 4,111 11-06-2022, 04:51 PM
Last Post: treebeard
  Calamares initialization failure GOOOFBALLL 4 2,824 10-21-2022, 05:33 AM
Last Post: merom

Forum Jump:


Users browsing this thread: 2 Guest(s)