Hi there,
My desktop froze during a system update. I’m not sure it was because of the update since I was doing (too) many different demanding things concurrently. Anyway, after about 10 minutes of total freeze, I hit the power button to force a hard reboot. On reboot, no GRUB/boot menu was available anymore and I had no other choice than landing in the BIOS ultimately.
I booted from a live USB and tried to follow a few threads and how-tos, but with no luck regarding my issue. Among them was:
I’ve to say that I don’t really know where to go. I’m a decent daily Linux user, but I never really dug into GRUB, systemd-boot, etc and those kind of things. I even mentioned GRUB above just because this was the term I think we were using a few years ago, but I might have used it improperly.
Anyway, here are a few things you might be interested in, done from the live USB:
$ blkid
/dev/nvme0n1p3: UUID="677cc208-c007-4ec4-baff-e0e0689e50c9" TYPE="crypto_LUKS" PARTUUID="0e2c5c0c-90a5-4024-887c-c0b7a23c1bb0"
/dev/nvme0n1p1: UUID="F840-6F55" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI" PARTUUID="0cb102e6-258d-4f34-ad9b-19abf9e91753"
/dev/nvme0n1p2: UUID="3089c9b2-b9b8-4d09-83f2-c755f8012b5e" TYPE="crypto_LUKS" PARTLABEL="endeavouros" PARTUUID="547ca051-c13a-4358-a492-39c6ded1cea8"
AFAIK, /dev/nvme0n1p3 is swap.
I installed this system about 1.5 years ago. The main partition is encrypted, so I mounted it like so:
$ sudo cryptsetup open /dev/nvme0n1p2 myp2
$ sudo mount /dev/mapper/myp2 /mnt
$ ls /mnt/
@ @cache @home @log
$ ls /mnt/@
bin boot dev efi etc home lib lib64 mnt opt proc root run sbin srv sys tmp usr var
From there, I think the next step is to mount the EFI one? So I did:
$ ls /mnt/@/efi/
(empty)
$ sudo mount /dev/nvme0n1p1 /mnt/@/efi
$ ls /mnt/@/efi/
bc8665e9ec5047c4a2574e6d5899f441 EFI loader
AFAIK, everything went well, so I was able to chroot into the mounted installed system:
$ sudo arch-chroot /mnt/@/
==> WARNING: /mnt/@/ is not a mountpoint. This may have undesirable side effects.
Unfortunately, I don’t really know what to do next from here.
This is bootctl command output (from chroot), if that matters:
# bootctl
Not booted with EFI or running in a container, skipping EFI variable modifications.
System:
Not booted with EFI
Available Boot Loaders on ESP:
ESP: /efi
File: ├─/efi//EFI/systemd/systemd-boot-fallbackx64.efi (systemd-boot 260.1-2-arch)
├─/efi//EFI/systemd/systemd-bootx64.efi (systemd-boot 261.1-1-arch)
└─/efi//EFI/BOOT/BOOTX64.EFI (systemd-boot 261.1-1-arch)
Boot Loader Entry Locations:
ESP: /efi ($BOOT)
config: /efi//loader/loader.conf
token: endeavouros
0 entries, no entry could be determined as default.
Is anyone willing to help me out? Basically, I suppose I need to fix something somewhere to get my boot menu back but I’ve no clue how, and I don’t want to try random things and make everything worse.
Thank you very much! ![]()
