Issue with booting Manjaro from encrypted NVMe drive on pbp
#1
I am trying to operating a pbp with a system booted from an encrypted NVMe drive, but I stuck at the same step and would appreciate any help:
  •  I use an unencrypted partition on the eMMC acting as boot partition that holds the kernel and an initramfs. The latter was build taking among others the hooks `plymouth`, `plymouth-encrypt` and `lvm2` into account.
  • I am trying to boot a Manjaro (22.12) system which is located on a btrfs filesystem within the encrypted container on the NVMe.
  • As bootloader I use Two-Boot (on 1st partition of eMMC), which works and allows me to interrupt the foreseen boot process in order to boot from SD. If I do not interrupt it and try to boot via eMMC from the NVMe, the image file is provided (which is the only thing I get since a dialogue is shown just very shortly). Then it stucks with a black screen and a green power led.

I append the following options via the `extlinux.conf` file:

Code:
cryptdevice=UUID=<ID-OF-NVME-DEV>:<LABEL-AS-APPEARS-IN-MAPPER>:allow-discards root=/mnt/mapper/<LABEL-AS-APPEARS-IN-MAPPER>/ rootflags=subvol=@ rw rootwait audit=0 plymouth.ignore-serial-consoles

The ID, label and subvolume I use is the correct one, but I have to admit that I am unexperienced so far regarding btrfs.

The fact that I am not prompted for the passphrase indicates me that the hook is either not implemented correctly in the initramfs, or not called correctly.`mkinitcpio` did not show an irregular behaviour during the creation of the initramfs (build via chroot from within the system I try to boot). In another approach I tried the `enrcypt` hook instead of `plymouth-encrypt` which did also not succeed. Moreover, I read here that one should use`plymouth-encrypt` if plymouth is in use, which is the case for Manjaro.

Something that I recognised is that the initramfs is not build using the kernel sources of the system:
Code:
mkinitcpio -p linux
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
  -> -k 6.0.12-1-MANJARO-ARM -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
...

Code:
cat proc/version
Linux version 6.1.2-1-MANJARO-ARM ...

I would be happy for any hint that might be helpful to solve my issue.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 4 69 Today, 02:13 AM
Last Post: KC9UDX
  Manjaro update: nerd-font-terminus dependency issue Vinay 2 131 03-01-2023, 11:18 AM
Last Post: Vinay
  NVME fails detection our0 1 189 01-30-2023, 08:45 AM
Last Post: Tazdevl
  Manjaro update broke hardware video acceleration with mpv myself600 2 388 01-25-2023, 09:12 AM
Last Post: myself600
  Encrypted Root jaredoconnor 1 382 01-19-2023, 02:27 PM
Last Post: Cs137
  Manjaro ARM 20.04 spikerguy 68 81,003 01-08-2023, 07:22 PM
Last Post: vandys
  org.kde.plasma.core not installed (Manjaro) twirlip 0 192 01-06-2023, 09:47 AM
Last Post: twirlip
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 2 459 12-31-2022, 12:18 PM
Last Post: pine4546464
  Fix for Armbian not booting on PBP from eMMC agreenbhm 4 1,510 11-07-2022, 05:43 PM
Last Post: igorp
  PineBook HOW TO REINSTALL ARCH-Manjaro. Ice-O-Star 0 486 10-22-2022, 10:46 AM
Last Post: Ice-O-Star

Forum Jump:


Users browsing this thread: 1 Guest(s)