#[SOLVED] GRUB issues

46 messages · Page 1 of 1 (latest)

odd venture
#

I recently updated my PC (EndeavorOS) after a month of being away and I ran a system upgrade which upgraded grub. I heard about the config changes earlier but i forgot to run the commands that regenerated an updated grub config - so now my PC keeps booting to UEFI. What do I need to do to fix my config so I can go back to booting my OS (I'm currently on a EndeavorOS live install environment to run commands).

simple holly
#

so root is mounted to /mnt/, boot is mounted to /mnt/boot (or wherever yours is normally)

odd venture
#

my disk seems to be already mounted at /run/media/liveuser/81697fa1-0101-4adc-b6ca-3dcf26a228fc/

#

should i still move it over or to /mnt or just use it there

simple holly
odd venture
#

no, only my root partition and other disk

simple holly
#

ok, could you mount your boot partition relative to the root partition? for example, /run/media/liveuser/81697fa1-0101-4adc-b6ca-3dcf26a228fc/boot or /run/media/liveuser/81697fa1-0101-4adc-b6ca-3dcf26a228fc/boot/efi

odd venture
#

both of those already exist already

simple holly
#

yes i know. Which one is your boot partition usually mounted to?

odd venture
#

whatever is default ig, i didnt set it up specifically

simple holly
#

ok i am guessing it'll be /boot/efi. could you mount your boot partition to it? sudo mount <bootPart> /run/media/liveuser/81697fa1-0101-4adc-b6ca-3dcf26a228fc/boot/efi

odd venture
#

just done that, is there supposed to be a nested EFI directory or should i have mounted to .../boot instead

simple holly
#

is there anything in the .../boot folder?

odd venture
simple holly
#

ok this looks good. could you now run sudo arch-chroot /run/media/liveuser/81697fa1-0101-4adc-b6ca-3dcf26a228fc/

odd venture
#

/boot/efi/EFI/boot looks a bit wrong, is it supposed to be like that

#

pasted the wrong screenshot

simple holly
#

looks good

odd venture
#

ok

simple holly
odd venture
simple holly
#

grub-install --target=x86_64-efi --efi-directory=esp --bootloader-id=GRUB sorry

candid tulip
#

.. grub-issue

winter schoonerBOT
#

Too few arguments for command addnote!
Usage: .addnote <name> <text>

odd venture
simple holly
#

you need to replace esp with /boot/efi

#

in the --efi-directory

odd venture
simple holly
#

are you not running on efi?

odd venture
#

i think i should be, my pc isnt that old

simple holly
odd venture
#

hm was i supposed to use a different bootloader id than GRUB, theres a similar directory named endeavouros-1895 already there

#

with a grubx64.efi

simple holly
#

shouldn't change anything. You shouldn't be gettiing that efi error

candid tulip
odd venture
#

followed those instructions, i still get the same EFI variables not supported error

#

would this have something to do with me using ventoy to boot into the live environment, i dont think so

odd venture
#

i have no idea why this is reporting as BIOS and not UEFI hmm

#

i just rebooted and now I see this:

#

this makes sense why it says bios lol

odd venture
#

yep it was a ventoy issue, i got another drive and flashed the endeavor iso to it and it just worked

candid tulip