thanks for your reply.
I booted my manjaro cinnamon sdcard as before. then I did:
[manjaro@manjaro-cinnamon ~]$ sudo su -
[manjaro-cinnamon ~]# lsblk --fs
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
loop0
squash 4.0 0 100% /run/miso/sfs/livefs
loop1
squash 4.0 0 100% /run/miso/sfs/mhwdfs
loop2
squash 4.0 0 100% /run/miso/sfs/desktopfs
loop3
squash 4.0 0 100% /run/miso/sfs/rootfs
sda
├─sda1
│ │ exfat 1.0 Ventoy 6BC2-2391
│ ├─ventoy
│ │ iso966 Jolie MANJARO_CINNAMONM_2503 2025-06-09-06-56-43-00 0 100% /run/miso/bootmnt
│ └─sda1
│ exfat 1.0 Ventoy 6BC2-2391
└─sda2
vfat FAT16 VTOYEFI 3105-B091
nvme0n1
│
├─nvme0n1p1
│ vfat FAT32 E778-83E3
├─nvme0n1p2
│ crypto 1 fbb8a748-5157-4f60-9b73-e6002dd32982
├─nvme0n1p3
│ crypto 1 32cce5eb-b7e3-48e9-a80a-cfbd12bd1e1c
├─nvme0n1p4
│ btrfs opt 6dc3b65a-c8cd-4762-95ae-9a2543dec4e2
└─nvme0n1p5
btrfs DATA 238c9b51-cd27-405f-bdcf-6d65071b6346 1.5T 13% /run/media/manjaro/DATA
before mounting and chrooting I unlocked the encrypted partition:
[manjaro-cinnamon ~]# cryptsetup open /dev/nvme0n1p2 crypto
Enter passphrase for /dev/nvme0n1p2:
then I mounted substituting /dev/sda2 with my unlocked partition /dev/mapper/crypto:
[manjaro-cinnamon ~]# mount -t btrfs -o subvol=@ /dev/mapper/crypto /mnt
[manjaro-cinnamon ~]# ls /mnt
bin crypto_keyfile.bin dev home lib64 mnt proc rootfs-pkgs.txt sbin sys usr
boot desktopfs-pkgs.txt etc lib media opt root run srv tmp var
[manjaro-cinnamon ~]# mount -t btrfs -o subvol=@home /dev/mapper/crypto /mnt/home
[manjaro-cinnamon ~]# mount -t btrfs -o subvol=@log /dev/mapper/crypto /mnt/var/log
[manjaro-cinnamon ~]# ls /mnt/var/log
audit btmp.1 dnscrypt-proxy httpd lastlog old private samba Xorg.0.log
btmp cups gssproxy journal lightdm pacman.log README wtmp Xorg.0.log.old
[manjaro-cinnamon ~]# mount -t btrfs -o subvol=@cache /dev/mapper/crypto /mnt/var/cache
mounted my efi partition and the rest:
[manjaro-cinnamon ~]# mount -t vfat /dev/nvme0n1p1 /mnt/boot/efi
[manjaro-cinnamon ~]# mount --bind /dev /mnt/dev
[manjaro-cinnamon ~]# mount -t proc proc /mnt/proc
[manjaro-cinnamon ~]# mount -t sysfs sysfs /mnt/sys
[manjaro-cinnamon ~]# mount -t efivarfs efivarfs /mnt/sys/firmware/efi/efivars
then chrooted:
[manjaro-cinnamon ~]# chroot /mnt /bin/bash
[manjaro-cinnamon /]# [ -f /var/lib/pacman/db.lck ] && rm -f /var/lib/pacman/db.lck
the network commands didn’t really work, becasue of the network name resolution problems:
[manjaro-cinnamon /]# pacman-mirrors -f && pacman -Syyu
::WARNING
Connection: ‘http://ping.manjaro.org/pacmanmirrors’ => ‘HTTPConnectionPool(host=‘ping.manjaro.org’, port=80): Max retries exceeded with url: /pacmanmirrors (Caused by NameResolutionError(“HTTPConnection(host=‘ping.manjaro.org’, port=80): Failed to resolve ‘ping.manjaro.org’ ([Errno -3] Temporary failure in name resolution)”))’
Connection: ‘https://wikipedia.org’ => ‘HTTPSConnectionPool(host=‘wikipedia.org’, port=443): Max retries exceeded with url: / (Caused by NameResolutionError(“HTTPSConnection(host=‘wikipedia.org’, port=443): Failed to resolve ‘wikipedia.org’ ([Errno -3] Temporary failure in name resolution)”))’
Connection: ‘https://archlinux.org’ => ‘HTTPSConnectionPool(host=‘archlinux.org’, port=443): Max retries exceeded with url: / (Caused by NameResolutionError(“HTTPSConnection(host=‘archlinux.org’, port=443): Failed to resolve ‘archlinux.org’ ([Errno -3] Temporary failure in name resolution)”))’
::INFO Internet connection appears to be down
::INFO Mirror ranking is not available
::INFO Mirror list is generated using random method
::INFO Writing mirror list
::France : https://mirror.bakertelekom.fr/manjaro/stable
::Serbia : https://mirror1.sox.rs/manjaro/stable
…
::United_States : https://repo.ialab.dsu.edu/manjaro/stable
::Germany : https://ftp.halifax.rwth-aachen.de/manjaro/stable
::INFO Mirror list generated and saved to: /etc/pacman.d/mirrorlist
:: Synchronizing package databases…
core.db failed to download
extra.db failed to download
multilib.db failed to download
error: failed retrieving file ‘extra.db’ from mirror.bakertelekom.fr : Could not resolve host: mirror.bakertelekom.fr
warning: fatal error from mirror.bakertelekom.fr, skipping for the remainder of this transaction
error: failed retrieving file ‘multilib.db’ from mirror.bakertelekom.fr : Failed to connect to mirror.bakertelekom.fr port 443 after 2 ms: Could not connect to server
error: failed retrieving file ‘core.db’ from mirror.bakertelekom.fr : Failed to connect to mirror.bakertelekom.fr port 443 after 2 ms: Could not connect to server
…
error: failed to synchronize all databases (failed to retrieve some files)
[manjaro-cinnamon /]# ping google.com
ping: google.com: Temporary failure in name resolution
[manjaro-cinnamon /]# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=116 time=27.2 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=116 time=30.7 ms
^C
— 8.8.8.8 ping statistics —
2 packets transmitted, 2 received, 0% packet loss, time 1002ms
rtt min/avg/max/mdev = 27.186/28.923/30.660/1.737 ms
but most important is the boot process. I tried to fix boot:
[manjaro-cinnamon /]# mkinitcpio -P
==> Building image from preset: /etc/mkinitcpio.d/linux612.preset: ‘default’
==> Using default configuration file: ‘/etc/mkinitcpio.conf’
→ -k /boot/vmlinuz-6.12-x86_64 -g /boot/initramfs-6.12-x86_64.img
==> Starting build: ‘6.12.85-1-MANJARO’
→ Running build hook: [base]
→ Running build hook: [systemd]
→ Running build hook: [autodetect]
→ Running build hook: [microcode]
→ Running build hook: [modconf]
→ Running build hook: [kms]
→ Running build hook: [keyboard]
→ Running build hook: [sd-vconsole]
→ Running build hook: [sd-encrypt]
→ Running build hook: [resume]
→ Running build hook: [block]
→ Running build hook: [filesystems]
→ Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: ‘/boot/initramfs-6.12-x86_64.img’
→ Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Running post hooks
→ Running post hook: [sbctl]
Secureboot key directory doesn’t exist, not signing!
==> Post processing done
==> Building image from preset: /etc/mkinitcpio.d/linux618.preset: ‘default’
==> Using default configuration file: ‘/etc/mkinitcpio.conf’
→ -k /boot/vmlinuz-6.18-x86_64 -g /boot/initramfs-6.18-x86_64.img
==> Starting build: ‘6.18.26-1-MANJARO’
→ Running build hook: [base]
→ Running build hook: [systemd]
→ Running build hook: [autodetect]
→ Running build hook: [microcode]
→ Running build hook: [modconf]
→ Running build hook: [kms]
→ Running build hook: [keyboard]
→ Running build hook: [sd-vconsole]
→ Running build hook: [sd-encrypt]
==> WARNING: Possibly missing firmware for module: ‘qat_6xxx’
→ Running build hook: [resume]
→ Running build hook: [block]
→ Running build hook: [filesystems]
→ Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: ‘/boot/initramfs-6.18-x86_64.img’
→ Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Running post hooks
→ Running post hook: [sbctl]
Secureboot key directory doesn’t exist, not signing!
==> Post processing done
then I updated grub:
[manjaro-cinnamon /]# update-grub
Generating grub configuration file …
Found linux image: /boot/vmlinuz-6.18-x86_64
Found initrd image: /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-6.18-x86_64.img
Found linux image: /boot/vmlinuz-6.12-x86_64
Found initrd image: /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-6.12-x86_64.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
ERROR: mkdir /var/lock/dmraid
Adding boot menu entry for UEFI Firmware Settings …
Detecting snapshots …
No snapshots found.
If you think an error has occurred, please file a bug report at “ https://github.com/Antynea/grub-btrfs ”
Unmount /tmp/grub-btrfs.0wubN5yMXx .. Success
Found memtest86+ image: /boot/memtest86+/memtest.bin
Found memtest86+ EFI image: /boot/memtest86+/memtest.efi
done
and ran install-grub for a good measure:
[manjaro-cinnamon /]# install-grub
Grub will be installed on: EFI
Installing for x86_64-efi platform.
Installation finished. No error reported.
Generating grub configuration file …
Found linux image: /boot/vmlinuz-6.18-x86_64
Found initrd image: /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-6.18-x86_64.img
Found linux image: /boot/vmlinuz-6.12-x86_64
Found initrd image: /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-6.12-x86_64.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Adding boot menu entry for UEFI Firmware Settings …
Detecting snapshots …
No snapshots found.
If you think an error has occurred, please file a bug report at “ https://github.com/Antynea/grub-btrfs ”
Unmount /tmp/grub-btrfs.HVd6w3Ygzb .. Success
Found memtest86+ image: /boot/memtest86+/memtest.bin
Found memtest86+ EFI image: /boot/memtest86+/memtest.efi
done
Warning: GRUB bootloader at ‘/boot/efi/EFI/Manjaro’ was updated.
Your booted entry ‘’ is not the same as ‘Manjaro’.
This may be a rescue ISO, but if not check your EFI boot priority.
[manjaro-cinnamon /]# exit
but unfortunately it didn’t correct anything. my system still can’t boot and is stuck at the same screen as before.
the hooks here are modified, but the error is the same.
please tell me if I did everything correctly and what else can I try to fix the boot.
Mod edit: Fixed the formatting.