Found that /etc/kernel/cmdline file had duplicated text. removed duplicates.
Deleted the endeavouros.conf file, which was pointing to a kernel file (/vmlinuz-linux) that did not exist.
ran reinstall-kernels
updated /efi/loader/loader.conf to automatically select the newest valid kernel (using the d95a...*)
Now I am back in my system. Not sure if this will stay working until I make the next update.
Command outputs from working system and not from live iso:
cat /efi/loader/loader.conf
default d95a4396b9a144b981ff0d6325920b9f*
timeout 5
console-mode auto
reboot-for-bitlocker 1
❯ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=1448-DD78 /efi vfat rw,relatime,fmask=0137,dmask=0027,errors=remount-ro,nofail 0 2
UUID=6cabd822-0bc4-4561-9fc2-deb1d7b6cfe9 / btrfs subvol=/@,noatime,compress=zstd 0 0
UUID=6cabd822-0bc4-4561-9fc2-deb1d7b6cfe9 /home btrfs subvol=/@home,noatime,compress=zstd 0 0
UUID=6cabd822-0bc4-4561-9fc2-deb1d7b6cfe9 /var/cache btrfs subvol=/@cache,noatime,compress=zstd 0 0
UUID=6cabd822-0bc4-4561-9fc2-deb1d7b6cfe9 /var/log btrfs subvol=/@log,noatime,compress=zstd 0 0
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
❯ uname -r && pacman -Q linux
6.18.2-arch2-1
linux 6.18.2.arch2-1
❯ bootctl status
Couldn't find EFI system partition. It is recommended to mount it to /boot/ or /efi/.
Alternatively, use --esp-path= to specify path to mount point.
System:
Firmware: UEFI 2.70 (INSYDE Corp. 22850.12322)
Firmware Arch: x64
Secure Boot: disabled
TPM2 Support: yes
Measured UKI: no
Boot into FW: supported
Current Boot Loader:
Product: systemd-boot 259-1-arch
Features: ✓ Boot counting
✓ Menu timeout control
✓ One-shot menu timeout control
✓ Default entry control
✓ One-shot entry control
✓ Support for XBOOTLDR partition
✓ Support for passing random seed to OS
✓ Load drop-in drivers
✓ Support Type #1 sort-key field
✓ Support @saved pseudo-entry
✓ Support Type #1 devicetree field
✓ Enroll SecureBoot keys
✓ Retain SHIM protocols
✓ Menu can be disabled
✓ Multi-Profile UKIs are supported
✓ Loader reports network boot URL
✓ Support Type #1 uki field
✓ Support Type #1 uki-url field
✓ Loader reports active TPM2 PCR banks
Partition: /dev/disk/by-partuuid/e84bacb0-e2a0-48e4-879a-4c51602b8623
Loader: └─(null)//EFI/systemd/systemd-bootx64.efi
Current Entry: d95a4396b9a144b981ff0d6325920b9f-6.18.2-arch2-1.conf
Random Seed:
System Token: set
Boot Loaders Listed in EFI Variables:
Title: Linux Boot Manager
ID: 0x0004
Status: active, boot-order
Partition: /dev/disk/by-partuuid/e84bacb0-e2a0-48e4-879a-4c51602b8623
File: └─(null)//EFI/systemd/systemd-bootx64.efi
Title: Windows Boot Manager
ID: 0x0003
Status: active, boot-order
Partition: /dev/disk/by-partuuid/e84bacb0-e2a0-48e4-879a-4c51602b8623
File: └─(null)//EFI/Microsoft/Boot/bootmgfw.efi
Title: Windows Boot Manager
ID: 0x0002
Status: active, boot-order
Partition: /dev/disk/by-partuuid/bfe28cd7-4eb1-48e1-911c-29ef1fa19d7e
File: └─(null)//EFI/Microsoft/Boot/bootmgfw.efi
❯ systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
❯ findmnt /efi
TARGET SOURCE FSTYPE OPTIONS
/efi /dev/nvme0n1p5 vfat rw,relatime,fmask=0137,dmask=0027,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro
❯ cat /etc/kernel/cmdline
nvme_load=YES nowatchdog rw rootflags=subvol=/@ root=UUID=6cabd822-0bc4-4561-9fc2-deb1d7b6cfe9 nvidia_drm.modeset=1