Booting only to BIOS, can't access OS

bruh, i had the same problem and i just executed the steps linked in the endeavouros forum and this is the link: Grub 2:2.06.r322.gd9b4638c5-1 won't boot and goes straight to the BIOS after update - General system - EndeavourOS

i only had the endeavouros os on my usb pen and this is how i fixed:

  • boot from the usb with the live os
  • open a terminal
  • type sudo btrfs subvolume list -p /mnt

it will give you an output like this

ID 257 gen 484265 parent 5 top level 5 path @home
ID 258 gen 483827 parent 5 top level 5 path @root
ID 259 gen 483827 parent 5 top level 5 path @srv
ID 260 gen 484237 parent 5 top level 5 path @cache
ID 261 gen 484265 parent 5 top level 5 path @log
ID 262 gen 484265 parent 5 top level 5 path @tmp

before you start, make sure what /dev/sdX or /dev/nvm.. you are playing with. mount the things you need and understand what u need. then sudo umount /mnt/ and start restoring your os. i have my garuda gnome since 2020 and never had the need to format the system. everything is fixable :slight_smile:

prepare the /mnt/

  • sudo mount -o subvol=@ /dev/sdXn /mnt
  • sudo mount -o subvol=@log /dev/sdXn /mnt/var/log
  • sudo mount -o subvol=@cache /dev/sdXn /mnt/var/cache
  • sudo mount -o subvol=@home /dev/sdXn /mnt/home
  • sudo mount /dev/sdXn /mnt/boot/efi

sdXn stands for the name of your storage name, in my case it is not starting with /sdX* but with /nvme0n1pX and for my, if is divided in 2 or 3 segment. if i remember correctly, in the p1 there is the grub, in p2 the /.

now, for encrypted storage there is an additional step:

  • sudo cryptsetup open /dev/sda2 mycryptdevice

this is the end:

  • type sudo arch-chroot /mnt if you have no encryption, type sudo arch-chroot /dev/mapper/mycryptdevice if you have encryption.
    type sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id="Garuda"

now the terminal act like you are operating in your garuda ecosystem.
if you want, you can even type fish and it will load w/o problems

now the final step is to type sudo pacman -S grub

buona fortuna! :sun_with_face: