You are not logged in.
I made the following post a little while ago: https://bbs.archlinux.org/viewtopic.php?id=299955
The problem was that Arch couldn't boot and it was eventually solved by reinstalling GRUB by arch-chroot from an install USB. But the same problem is re-occurring each time I boot the system. It is solved simply by reinstalling GRUB from an install USB every single boot but a permanent solution would be preferable.
Last edited by shayan99999 (2024-10-12 12:22:12)
Offline
as I already mentioned this seems to be an issue with your ESP and it's mounting point
anyway
a possible option could be that the OEM of your laptop designed and tested it with windows in mind and that the uefi is buggy and doesn't like an entry for grub - to get around this you can try to install grub in portable mode:
grub-install --efi-directory=<mountpoint of ESP> --boot-directory=<path where ./grub/grub.cfg can be found when different to /boot> --no-nvram --removable
this installs grub into <esp>/EFI/BOOT/BOOTX64.EFI which should make it look like a removable media and by this auto-found by the uefi at startup
the --boot-directory parameter is optional and only required if you want to place your grub.cfg somewhere different than the usual /boot/grub/grub.cfg - otherwise grub expects its config found at that path and its corresponding mountpoint
this might be a solution to resolve the symptom you describe but it doesn't solve tge actual root cause which is likely a messed up esp
Offline
@cryptearth: the --removable option does not create an NVRAM entry so --no-nvram is not needed
@OP: this is all covered in the wiki: https://wiki.archlinux.org/title/GRUB#D … _boot_path
Para todos todo, para nosotros nada
Offline
Using the --removable option, I managed to boot the system as per usual. And the laptop booted without issue after I restarted it again to test it. I don't know why this worked. A regular grub installation worked just fine since 2022 for this laptop. But at least it works now so I'll mark it solved.
Offline
@cryptearth: the --removable option does not create an NVRAM entry so --no-nvram is not needed
just copied it from OVH as thier documentation for how to setup a server is quite bad (found a better solution since): https://github.com/ovh/bringyourownlinu … ootable.sh
wasn't aware about the specifics of --no-nvram and --removeable so thought they have to be used in combination
Offline