Failed to find luks partition

I encounter issues during boot, i.e. it appears that my encrypted root partition cannot be found:

ERROR: device 'UUID=luks-794e...'  not found. Skipping fsck

mount: /new_root: can't find UUID=794e....
ERROR: Failed to mount UUID=794e... 
You are no being dropped to emergency shell.

This is the relevant /etc/crypttab entry:

luks-794e3e8d-403e-4dcf-9547-3a021ef2f604 UUID=794e3e8d-403e-4dcf-9547-3a021ef2f604     /crypto_keyfile.bin luks

This is the respective /etc/fstab entry:

/dev/mapper/luks-794e3e8d-403e-4dcf-9547-3a021ef2f604 /              ext4    defaults,noatime 0 1

Finally, this is the system info:

inxi --admin --verbosity=8 --filter --no-host --width                                   ✔ 
System:
  Kernel: 6.10.13-3-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: acpi_pm parameters: BOOT_IMAGE=/boot/vmlinuz-x86_64
    lang=en_US keytable=de tz=UTC misobasedir=manjaro
    misolabel=MANJARO_KDE_2412 quiet systemd.show_status=1 splash driver=free
    nouveau.modeset=1 i915.modeset=1 radeon.modeset=1
  Desktop: KDE Plasma v: 6.1.5 tk: Qt v: N/A info: frameworks v: 6.6.0
    wm: kwin_x11 vt: 2 dm: SDDM Distro: Manjaro base: Arch Linux
Machine:
  Type: Laptop System: HP product: HP EliteBook 830 G6 v: SBKPF
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: HP model: 854A v: KBC Version 52.6F.00 serial: <superuser required>
    part-nu: 8NW86EC#ABD uuid: <superuser required> UEFI: HP v: R70 Ver. 01.27.00
    date: 12/19/2023
Battery:
  ID-1: BAT0 charge: 24.7 Wh (73.5%) condition: 33.6/50.2 Wh (67.0%)
    volts: 11.5 min: 11.6 model: Hewlett-Packard Primary type: Li-ion
    serial: <filter> status: discharging cycles: 20
Memory:
  System RAM: total: 32 GiB available: 31.04 GiB used: 3.17 GiB (10.2%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 32 GiB slots: 2 modules: 2 EC: None
    max-module-size: 16 GiB note: est.
  Device-1: Bottom-Slot 1(left) type: DDR4 detail: synchronous size: 16 GiB
    speed: 2400 MT/s volts: curr: 1 width (bits): data: 64 total: 64
    manufacturer: Kingston part-no: 9905744-005.A00G serial: <filter>
  Device-2: Bottom-Slot 2(right) type: DDR4 detail: synchronous size: 16 GiB
    speed: 2400 MT/s volts: curr: 1 width (bits): data: 64 total: 64
    manufacturer: Kingston part-no: 9905744-005.A00G serial: <filter>
PCI Slots:
  Permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Core i5-8365U bits: 64 type: MT MCP
    arch: Comet/Whiskey Lake note: check gen: core 8 level: v3 note: check
    built: 2018 process: Intel 14nm family: 6 model-id: 0x8E (142)
    stepping: 0xC (12) microcode: 0xFC
  Topology: cpus: 1x dies: 1 clusters: 4 cores: 4 threads: 8 tpc: 2
    smt: enabled cache: L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB
    desc: 4x256 KiB L3: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 800 min/max: 400/4100 scaling: driver: intel_pstate
    governor: powersave cores: 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800
    8: 800 bogomips: 30409
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush
    clflushopt cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
    dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
    fsgsbase fxsr ht hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs
    ibrs_enhanced ida intel_pt invpcid lahf_lm lm mca mce md_clear mmx monitor
    movbe mpx msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm
    pdpe1gb pebs pge pln pni popcnt pse pse36 pts rdrand rdseed rdtscp
    rep_good sdbg sep sgx smap smep smx ss ssbd sse sse2 sse4_1 sse4_2 ssse3
    stibp syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx
    vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr
  Vulnerabilities:
  Type: gather_data_sampling mitigation: Microcode
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed mitigation: Enhanced IBRS
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS; IBPB: conditional;
    RSB filling; PBRSB-eIBRS: SW sequence; BHI: SW loop, KVM: SW loop
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort mitigation: TSX disabled
Graphics:
  Device-1: Intel WhiskeyLake-U GT2 [UHD Graphics 620] vendor: Hewlett-Packard
    driver: i915 v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20
    ports: active: eDP-1 empty: DP-1, DP-2, DP-3, HDMI-A-1, HDMI-A-2, HDMI-A-3
    bus-ID: 00:02.0 chip-ID: 8086:3ea0 class-ID: 0300
  Device-2: Quanta HP HD Camera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-9:3 chip-ID: 0408:5343
    class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.14 with: Xwayland v: 24.1.4
    compositor: kwin_x11 driver: X: loaded: modesetting alternate: fbdev,vesa
    dri: iris gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: eDP-1 model: ChiMei InnoLux 0x1392 built: 2018 res: 1920x1080
    hz: 60 dpi: 166 gamma: 1.2 chroma: red: x: 0.592 y: 0.349 green: x: 0.329
    y: 0.557 blue: x: 0.153 y: 0.118 white: x: 0.314 y: 0.329
    size: 293x165mm (11.54x6.5") diag: 336mm (13.2") ratio: 16:9
    modes: 1920x1080
  EDID-Warnings: 1: parse_edid: unknown flag 2
  API: EGL v: 1.5 hw: drv: intel iris platforms: device: 0 drv: iris
    device: 1 drv: swrast gbm: drv: iris surfaceless: drv: iris x11: drv: iris
    inactive: wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.2.4-arch1.0.1
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel UHD Graphics 620 (WHL GT2)
    device-ID: 8086:3ea0 memory: 15.15 GiB unified: yes
  API: Vulkan v: 1.3.295 layers: N/A device: 0 type: integrated-gpu
    name: Intel UHD Graphics 620 (WHL GT2) driver: mesa intel v: 24.2.4-arch1.0.1
    device-ID: 8086:3ea0 surfaces: xcb,xlib
Audio:
  Device-1: Intel Cannon Point-LP High Definition Audio vendor: Hewlett-Packard
    driver: sof-audio-pci-intel-cnl alternate: snd_hda_intel, snd_soc_skl,
    snd_soc_avs, snd_sof_pci_intel_cnl bus-ID: 00:1f.3 chip-ID: 8086:9dc8
    class-ID: 0401
  API: ALSA v: k6.10.13-3-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.2.5 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Cannon Point-LP CNVi [Wireless-AC] driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:9df0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: Intel Ethernet I219-LM vendor: Hewlett-Packard driver: e1000e
    v: kernel port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15bd class-ID: 0200
  IF: enp0s31f6 state: down mac: <filter>
  IF-ID-1: wwan0 state: down mac: N/A
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) driver: btusb v: 0.8
    type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-10:4
    chip-ID: 8087:0aaa class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
  Device-1: boot_crypt maj-min: 254:0 type: LUKS dm: dm-0 size: 250 GiB
  Components:
  p-1: nvme0n1p2 maj-min: 259:2 size: 250 GiB
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 960.15 GiB used: 150.83 GiB (15.7%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
    model: SSD 970 EVO Plus 1TB size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 2B2QEXM7 temp: 32.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: SanDisk model: Ultra Fit
    size: 28.64 GiB block-size: physical: 512 B logical: 512 B type: USB rev: 3.0
    spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: N/A serial: <filter>
    fw-rev: 1.00 scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
  Message: No optical or floppy data found.
Partition:
  ID-1: /chroot raw-size: 250 GiB size: 245.02 GiB (98.01%)
    used: 150.79 GiB (61.5%) fs: ext4 dev: /dev/dm-0 maj-min: 254:0
    mapped: boot_crypt label: N/A uuid: N/A
  ID-2: /chroot/boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 43.6 MiB (14.6%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
    label: NO_LABEL uuid: CD10-10B9
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/sda1 maj-min: 8:1 size: 3.87 GiB fs: iso9660
  ID-2: /dev/sda2 maj-min: 8:2 size: 4 MiB fs: vfat label: MISO_EFI
    uuid: 8BF0-EDB3
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 12 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 1-8:2 info: Synaptics Fingerprint reader [HP G6]
    type: <vendor specific> driver: N/A interfaces: 1 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
    chip-ID: 06cb:00b7 class-ID: ff00 serial: <filter>
  Device-2: 1-9:3 info: Quanta HP HD Camera type: video driver: uvcvideo
    interfaces: 4 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0
    power: 500mA chip-ID: 0408:5343 class-ID: 0e02 serial: <filter>
  Device-3: 1-10:4 info: Intel Bluetooth 9460/9560 Jefferson Peak (JfP)
    type: bluetooth driver: btusb interfaces: 2 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
    chip-ID: 8087:0aaa class-ID: e001
  Hub-2: 2-0:1 info: super-speed hub ports: 6 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Device-1: 2-2:2 info: SanDisk Ultra Fit type: mass storage
    driver: usb-storage interfaces: 1 rev: 3.0 speed: 5 Gb/s (596.0 MiB/s)
    lanes: 1 mode: 3.2 gen-1x1 power: 896mA chip-ID: 0781:5583 class-ID: 0806
    serial: <filter>
  Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-4: 4-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 38.0 C pch: 34.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Repos:
  Packages: pm: pacman pkgs: 1267 libs: 331 tools: pamac pm: flatpak pkgs: 0
  Active pacman repo servers in: /etc/pacman.d/mirrorlist
    1: https://mirror1.sox.rs/manjaro/stable/$repo/$arch
    2: https://mirrors.sonic.net/manjaro/stable/$repo/$arch
    3: https://mirror.nyist.edu.cn/manjaro/stable/$repo/$arch
    4: https://ftp.gwdg.de/pub/linux/manjaro/stable/$repo/$arch
    5: http://mirror.datacenter.by/pub/mirrors/manjaro/stable/$repo/$arch
    6: https://mirrors.sjtug.sjtu.edu.cn/manjaro/stable/$repo/$arch
    7: https://opencolo.mm.fcix.net/manjaro/stable/$repo/$arch
    8: https://ftp.linux.org.tr/manjaro/stable/$repo/$arch
    9: https://mirrors.xtom.ee/manjaro/stable/$repo/$arch
    10: https://mirror.kamtv.ru/manjaro/stable/$repo/$arch
    11: https://mirror.koddos.net/manjaro/stable/$repo/$arch
    12: http://ftp.uni-kl.de/pub/linux/manjaro/stable/$repo/$arch
    13: https://ask4.mm.fcix.net/manjaro/stable/$repo/$arch
    14: http://mirror.terrahost.no/linux/manjaro/stable/$repo/$arch
    15: https://mirror.bouwhuis.network/manjaro/stable/$repo/$arch
    16: https://mirror.truenetwork.ru/manjaro/stable/$repo/$arch
    17: https://mirror.alpix.eu/manjaro/stable/$repo/$arch
    18: https://repo.iut.ac.ir/repo/manjaro/stable/$repo/$arch
    19: https://mirrors.aliyun.com/manjaro/stable/$repo/$arch
    20: https://mirror.easyname.at/manjaro/stable/$repo/$arch
    21: https://cofractal-ewr.mm.fcix.net/manjaro/stable/$repo/$arch
    22: https://ftp.nluug.nl/pub/os/Linux/distr/manjaro/stable/$repo/$arch
    23: http://ftp.dei.uc.pt/pub/linux/manjaro/stable/$repo/$arch
    24: https://codingflyboy.mm.fcix.net/manjaro/stable/$repo/$arch
    25: https://uvermont.mm.fcix.net/manjaro/stable/$repo/$arch
    26: https://mirror.yandex.ru/mirrors/manjaro/stable/$repo/$arch
    27: https://mirror.albony.xyz/manjaro/stable/$repo/$arch
    28: https://mirror.ibakerserver.pt/manjaro/stable/$repo/$arch
    29: https://coresite.mm.fcix.net/manjaro/stable/$repo/$arch
    30: https://repo.ialab.dsu.edu/manjaro/stable/$repo/$arch
    31: https://mirror.telepoint.bg/manjaro/stable/$repo/$arch
    32: https://mirror.csclub.uwaterloo.ca/manjaro/stable/$repo/$arch
    33: https://mirror.freedif.org/Manjaro/stable/$repo/$arch
    34: http://manjaro.grena.ge/stable/$repo/$arch
    35: https://mirrors2.manjaro.org/stable/$repo/$arch
    36: https://mirrors.tuna.tsinghua.edu.cn/manjaro/stable/$repo/$arch
    37: https://mirror.it4i.cz/manjaro/stable/$repo/$arch
    38: https://mirror.math.princeton.edu/pub/manjaro/stable/$repo/$arch
    39: https://ftp.lysator.liu.se/pub/manjaro/stable/$repo/$arch
    40: http://ftp.tu-chemnitz.de/pub/linux/manjaro/stable/$repo/$arch
    41: https://mirrors.dotsrc.org/manjaro/stable/$repo/$arch
    42: https://mirror.aarnet.edu.au/pub/manjaro/stable/$repo/$arch
    43: https://manjaro.mirror.liquidtelecom.com/stable/$repo/$arch
    44: http://ftp.rz.tu-bs.de/pub/mirror/manjaro.org/repos/stable/$repo/$arch
    45: https://ftp.caliu.cat/pub/distribucions/manjaro/stable/$repo/$arch
    46: http://ftp.belnet.be/mirrors/manjaro/repos/stable/$repo/$arch
    47: https://manjaro.mirror.garr.it/manjaro/stable/$repo/$arch
    48: http://manjaro.mirror.ac.za/stable/$repo/$arch
    49: https://nocix.mm.fcix.net/manjaro/stable/$repo/$arch
    50: http://ftp.snt.utwente.nl/pub/linux/manjaro/stable/$repo/$arch
    51: https://ftp.cc.uoc.gr/mirrors/linux/manjaro/stable/$repo/$arch
    52: https://repos.silknet.com/manjaro/stable/$repo/$arch
    53: https://manjaro.repo.cure.edu.uy/stable/$repo/$arch
    54: https://mirrors.ustc.edu.cn/manjaro/stable/$repo/$arch
    55: https://linorg.usp.br/manjaro/stable/$repo/$arch
    56: http://mirror.xeonbd.com/manjaro/stable/$repo/$arch
    57: https://mirrors.ocf.berkeley.edu/manjaro/stable/$repo/$arch
    58: https://muug.ca/mirror/manjaro/stable/$repo/$arch
    59: https://edgeuno-bog2.mm.fcix.net/manjaro/stable/$repo/$arch
    60: https://mirror.archlinux.tw/Manjaro/stable/$repo/$arch
    61: https://mirror.init7.net/manjaro/stable/$repo/$arch
    62: http://ftp.riken.jp/Linux/manjaro/stable/$repo/$arch
    63: https://mirror.funami.tech/manjaro/stable/$repo/$arch
    64: https://mirrors.piconets.webwerks.in/manjaro-mirror/stable/$repo/$arch
    65: http://ftp.tsukuba.wide.ad.jp/Linux/manjaro/stable/$repo/$arch
    66: https://mirrors.jlu.edu.cn/manjaro/stable/$repo/$arch
    67: https://mirrors.gigenet.com/manjaro/stable/$repo/$arch
    68: http://mirror.is.co.za/mirrors/manjaro.org/stable/$repo/$arch
    69: https://mirror.bardia.tech/manjaro/stable/$repo/$arch
    70: http://ossmirror.mycloud.services/os/linux/manjaro/stable/$repo/$arch
    71: https://bd.mirror.vanehost.com/Manjaro/stable/$repo/$arch
    72: http://manjaro.mirrors.theom.nz/manjaro/stable/$repo/$arch
    73: https://manjaro.ipacct.com/manjaro/stable/$repo/$arch
    74: https://www.mirrorservice.org/sites/repo.manjaro.org/repos/stable/$repo/$arch
    75: http://manjaro.mirrors.uk2.net/stable/$repo/$arch
    76: https://manjaro.mirrors.lavatech.top/stable/$repo/$arch
    77: https://manjaro.kurdy.org/stable/$repo/$arch
    78: https://mirrors.pku.edu.cn/manjaro/stable/$repo/$arch
    79: https://mirror.ufro.cl/manjaro/stable/$repo/$arch
    80: https://quantum-mirror.hu/mirrors/pub/manjaro/stable/$repo/$arch
    81: https://ftpmirror1.infania.net/mirror/manjaro/stable/$repo/$arch
    82: https://mirror.seahost.de/manjaro/stable/$repo/$arch
    83: https://mirror.vinehost.net/manjaro/stable/$repo/$arch
    84: https://mnvoip.mm.fcix.net/manjaro/stable/$repo/$arch
    85: http://mirror.fcix.net/manjaro/stable/$repo/$arch
    86: https://mirror.futureweb.be/manjaro/stable/$repo/$arch
    87: https://mirror.nju.edu.cn/manjaro/stable/$repo/$arch
    88: https://mirror.ufam.edu.br/manjaro/stable/$repo/$arch
    89: https://mirrors.ft.uam.es/manjaro/stable/$repo/$arch
    90: https://mirrors.netix.net/manjaro/stable/$repo/$arch
    91: https://manjaro.mirror.wearetriple.com/stable/$repo/$arch
    92: https://manjarolinux-mirror.cloud.mu/stable/$repo/$arch
    93: https://mirrors.xtom.de/manjaro/stable/$repo/$arch
    94: https://mirrors.xtom.jp/manjaro/stable/$repo/$arch
    95: https://ct.mirror.garr.it/mirrors/manjaro/stable/$repo/$arch
    96: https://mirror.zetup.net/manjaro/stable/$repo/$arch
    97: https://ba.mirror.garr.it/mirrors/manjaro/stable/$repo/$arch
    98: https://fosszone.csd.auth.gr/manjaro/stable/$repo/$arch
    99: https://forksystems.mm.fcix.net/manjaro/stable/$repo/$arch
    100: https://mirror.dkm.cz/manjaro/stable/$repo/$arch
    101: https://mirrors.atlas.net.co/manjaro/stable/$repo/$arch
    102: https://ftp.psnc.pl/linux/manjaro/stable/$repo/$arch
    103: https://volico.mm.fcix.net/manjaro/stable/$repo/$arch
    104: https://mirrors.nic.cz/manjaro/stable/$repo/$arch
    105: https://manjaro.ynh.ovh/stable/$repo/$arch
    106: https://mirror.dc.uz/manjaro/stable/$repo/$arch
    107: http://ftp.free.org/mirrors/repo.manjaro.org/repos/stable/$repo/$arch
    108: https://mirror.23m.com/manjaro/stable/$repo/$arch
    109: https://mirror.kku.ac.th/manjaro/stable/$repo/$arch
    110: https://mirrors.up.pt/pub/manjaro/stable/$repo/$arch
    111: https://ftp.halifax.rwth-aachen.de/manjaro/stable/$repo/$arch
    112: https://mirror.phoepsilonix.love/manjaro/stable/$repo/$arch
    113: https://mirror.xenyth.net/manjaro/stable/$repo/$arch
    114: https://mirrors.ucr.ac.cr/manjaro/stable/$repo/$arch
    115: https://manjaro.c3sl.ufpr.br/stable/$repo/$arch
    116: https://ipng.mm.fcix.net/manjaro/stable/$repo/$arch
    117: https://mirrors.cicku.me/manjaro/stable/$repo/$arch
    118: https://mirror.2degrees.nz/manjaro/stable/$repo/$arch
    119: https://ziply.mm.fcix.net/manjaro/stable/$repo/$arch
    120: https://ridgewireless.mm.fcix.net/manjaro/stable/$repo/$arch
    121: http://kartolo.sby.datautama.net.id/manjaro/stable/$repo/$arch
    122: https://southfront.mm.fcix.net/manjaro/stable/$repo/$arch
    123: https://irltoolkit.mm.fcix.net/manjaro/stable/$repo/$arch
    124: https://mirror.netcologne.de/manjaro/stable/$repo/$arch
    125: https://fastmirror.pp.ua/manjaro/stable/$repo/$arch
    126: https://ohioix.mm.fcix.net/manjaro/stable/$repo/$arch
    127: https://gsl-syd.mm.fcix.net/manjaro/stable/$repo/$arch
    128: https://nnenix.mm.fcix.net/manjaro/stable/$repo/$arch
    129: http://free.nchc.org.tw/manjaro/stable/$repo/$arch
    130: https://mirror.alwyzon.net/manjaro/stable/$repo/$arch
    131: https://mirrors.manjaro.org/repo/stable/$repo/$arch
Processes:
  CPU top: 5 of 248
  1: cpu: 100% command: ps pid: 34985 mem: 3.40 MiB (0.0%)
  2: cpu: 13.1% command: firefox pid: 2180 mem: 476.6 MiB (1.4%)
  3: cpu: 7.5% command: zsh pid: 34829 mem: 8.22 MiB (0.0%)
  4: cpu: 4.3% command: firefox pid: 2475 mem: 258.4 MiB (0.8%)
  5: cpu: 2.9% command: kwin_x11 pid: 1252 mem: 187.9 MiB (0.5%)
  Memory top: 5 of 248
  1: mem: 476.6 MiB (1.4%) command: firefox pid: 2180 cpu: 13.1%
  2: mem: 351.2 MiB (1.1%) command: plasmashell pid: 1295 cpu: 0.7%
  3: mem: 258.4 MiB (0.8%) command: firefox pid: 2475 cpu: 4.3%
  4: mem: 231.7 MiB (0.7%) command: konsole pid: 2763 cpu: 0.4%
  5: mem: 201.7 MiB (0.6%) command: firefox pid: 2599 cpu: 1.0%
Info:
  Processes: 248 Power: uptime: 43m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 12.37 GiB services: org_kde_powerdevil,
    power-profiles-daemon, upowerd Init: systemd v: 256 default: graphical
    tool: systemctl
  Compilers: N/A Shell: Zsh v: 5.9 default: Bash v: 5.2.37
    running-in: konsole inxi: 3.3.36

…perhaps an improperly merged .pacnew file - saw this mentioned at the Arch forum, but the question and thread was from last year and it wasn’t made very obvious that this was the reason

suggestion: look at the contents of /etc/mkinitcpio.conf - the encrypt HOOK

I don’t know whether you did try to

  • chroot:
  • check that file’s contents
  • rebuild the initrd: mkinitcpio -P linux
  • update-grub
  • exit
  • reboot

Please provide commands and their output as well for every step
so we can see what you see and did and the immediate results of it.

Could be, since I’ve merge pacnews before…

Anyhow, welcome back and let’s get started!

  1. Chroot:
sudo cryptsetup -v luksOpen /dev/nvme0n1p2 cryptDrive  ✔  13s  
sudo mount /dev/nvme0n1p1 /mnt/boot/efi
sudo mount /dev/mapper/cryptDrive /mnt
sudo manjaro-chroot /mnt
Enter passphrase for /dev/nvme0n1p2: 
Key slot 0 unlocked.
Command successful.
mount: /mnt/boot/efi: mount point does not exist.
       dmesg(1) may have more information after failed mount system call.

This did not succeed. Personally, I would swap the mount commands like this:

sudo cryptsetup -v luksOpen /dev/nvme0n1p2 cryptDrive
sudo mount /dev/mapper/cryptDrive /mnt     # firstly mount /
sudo mount /dev/nvme0n1p1 /mnt/boot/efi   # then mount efi partition inside
sudo manjaro-chroot /mnt

Should I proceed like this?

1 Like

Yes, of course.
First mount the root, only then the /boot/efi directory will exist …
I simply copy/pasted but didn’t check the order of the list of commands.

I just noticed another thing:
manjaro-chroot doesn’t need sudo …

1 Like

Ok, restart:

  1. Chroot
sudo cryptsetup -v luksOpen /dev/nvme0n1p2 cryptDrive
sudo mount /dev/mapper/cryptDrive /mnt                                                                          
sudo mount /dev/nvme0n1p1 /mnt/boot/efi
manjaro-chroot /mnt
Enter passphrase for /dev/nvme0n1p2: 
Key slot 0 unlocked.
sh-5.2# 
  1. Check /etc/mkinitcpio.conf:
# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run.  Advanced users may wish to specify all system modules
# in this array.  For instance:
#     MODULES=(usbhid xhci_hcd)
MODULES=()

# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image.  This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=()

# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way.  This is useful for config files.
FILES=(/crypto_keyfile.bin)

# HOOKS
# This is the most important setting in this file.  The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added.  Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
##   This setup specifies all modules in the MODULES setting above.
##   No RAID, lvm2, or encrypted root is needed.
#    HOOKS=(base)
#
##   This setup will autodetect all modules for your system and should
##   work as a sane default
#    HOOKS=(base udev autodetect modconf block filesystems fsck)
#
##   This setup will generate a 'full' image which supports most systems.
##   No autodetection is done.
#    HOOKS=(base udev modconf block filesystems fsck)
#
##   This setup assembles a mdadm array with an encrypted root file system.
##   Note: See 'mkinitcpio -H mdadm_udev' for more information on RAID devices.
#    HOOKS=(base udev modconf keyboard keymap consolefont block mdadm_udev encrypt filesystems fsck)
#
##   This setup loads an lvm2 volume group.
#    HOOKS=(base udev modconf block lvm2 filesystems fsck)
#
##   This will create a systemd based initramfs which loads an encrypted root filesystem.
#    HOOKS=(base systemd autodetect modconf kms keyboard sd-vconsole sd-encrypt block filesystems fsck)
#
##   NOTE: If you have /usr on a separate partition, you MUST include the
#    usr and fsck hooks.
HOOKS=(base udev autodetect microcode modconf kms keyboard keymap consolefont block filesystems fsck)

# COMPRESSION
# Use this to compress the initramfs image. By default, zstd compression
# is used for Linux  ^i  5.9 and gzip compression is used for Linux < 5.9.
# Use 'cat' to create an uncompressed image.
#COMPRESSION="zstd"
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
  1. rebuild the initrd: mkinitcpio -P linux:
mkinitcpio -P linux
==> Building image from preset: /etc/mkinitcpio.d/linux515.preset: 'default'
==> Using configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-5.15-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.15-x86_64.img linux
==> Starting build: '5.15.167-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [microcode]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-5.15-x86_64.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux515.preset: 'fallback'
==> Using configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-5.15-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.15-x86_64-fallback.img -S autodetect linux
==> Starting build: '5.15.167-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [microcode]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qed'
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-5.15-x86_64-fallback.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.1-x86_64 -g /boot/initramfs-6.1-x86_64.img linux
==> Starting build: '6.1.112-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [microcode]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-6.1-x86_64.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.1-x86_64 -g /boot/initramfs-6.1-x86_64-fallback.img -S autodetect linux
==> Starting build: '6.1.112-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [microcode]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
  -> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'qed'
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-6.1-x86_64-fallback.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux66.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.6-x86_64 -g /boot/initramfs-6.6-x86_64.img linux
==> Starting build: '6.6.54-2-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [microcode]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-6.6-x86_64.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux66.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.6-x86_64 -g /boot/initramfs-6.6-x86_64-fallback.img -S autodetect linux
==> Starting build: '6.6.54-2-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [microcode]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
  -> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'qed'
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-6.6-x86_64-fallback.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
  1. update-grub:
update-grub
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-6.6-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-6.6-x86_64.img
Found initrd fallback image: /boot/initramfs-6.6-x86_64-fallback.img
Found linux image: /boot/vmlinuz-6.1-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-6.1-x86_64.img
Found initrd fallback image: /boot/initramfs-6.1-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.15-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.15-x86_64.img
Found initrd fallback image: /boot/initramfs-5.15-x86_64-fallback.img
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
Root filesystem isn't btrfs
If you think an error has occurred, please file a bug report at "https://github.com/Antynea/grub-btrfs"
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
  1. exit and reboot ends with error:
ERROR: device 'UUID=luks-794e...'  not found. Skipping fsck

mount: /new_root: can't find UUID=794e....
ERROR: Failed to mount UUID=794e... 
You are no being dropped to emergency shell.

My /etc/mkinitcpio.conf doesn’t show any encrypt HOOK!?

indeed, it doesn’t - but it’s needed

the above is from your /etc/mkinitcpio.conf

the encrypt HOOK is missing

This is what it looks like for me (this is in a VM, so slightly different HOOKS present there)

HOOKS=(base udev autodetect kms modconf block keyboard keymap consolefont encrypt filesystems fsck)

repeat the whole procedure

→ insert encrypt after consolefont and certainly before filesystems

then create the initrd again
and run update-grub again as well

1 Like

Is this SanDisk USB your Manjaro Installer?

I didn’t notice this earlier, but it was created using an MSDOS/MBR partitioning scheme, while your actual system should boot as UEFI. This might be contributing to your difficulties.

I suggest creating a new Manjaro Installer USB (or Ventoy USB) with a GUID Partitioning Table (GPT).

@Nachlese : This did the trick, thanks!

@soundofthunder , yes this is the Manjaro Installer. I’ll consider this when I create it next time.

Apart from being happy - this was a long journey - I am still puzzled where the encrypt hook got lost.

However, I learned a lot and apologize again for the “meandering” successor thread.

Thanks again!

2 Likes

I kindly ask for some concluding thoughts:

For the issue reported, I started in the first place with unmaintained pacnews. During the merge, it appears that I unintentionally overwrote my /etc/mpinitcpio.conf. After re-adding the encrypt hook everything seems to be fine again.

However…

It is not clear, if my current set of hooks is optimal for my system at hand. Most likely it is an example provided via the /etc/mpinitcpio.conf.pacnews, extended with the missing encryption part.

How can I recover my original settings? Can I somehow auto-generate the required hooks from my running system? Or should I leave it as is, since it appears to work?

In this regard, I’ve already checked the /var/tmp folder (employed by meld during pacnews maintenance) to no avail. Of course I did not create an explicit backup of the file in the first place…

Any thoughts?

Thanks!

… then you have nothing to go back to :man_shrugging:

You can’t.

When it works, it works …

You can study:

mkinitcpio - ArchWiki

I’d only want to maybe eliminate some redundancy to maybe make the initrd smaller so it loads faster,
but for every minute or hour you spend on optimizing this you’ll get back a few microseconds on each boot at best.
Not worth it.

You can change things around, now that you know where to look to fix when something breaks.

for reference the HOOKS line in the backup of my real hardware Arch system from more than a year ago -
something seems to have changed in the meantime as I do not have the microcode hook in there:

HOOKS="base udev autodetect modconf block keyboard keymap consolefont encrypt filesystems fsck resume"

that microcode HOOK was introduced with a .pacnew file which I never merged (file dates from March this year) …

Thanks a lot for the bigger picture!

This is indeed my main takeaway!

In addition, I’ll add these file to my “Back In Time” snapshots to have a potential one-stop-shop for reference:

/etc/mkinitcpio.conf
/boot/grub/grub.cfg
/etc/default/grub
/etc/fstab
/etc/crypttab

I remember reading the discussion about the microcode hook in this topic 8 month’s ago:

Here is my HOOKS array:

HOOKS=(base udev autodetect microcode modconf kms keyboard keymap consolefont block filesystems fsck)

Note: I am in no way suggesting that your hooks should be identical to mine, but that you might find it interesting for comparison.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.