Problem installing with GRUB

When trying to install endeavourOS, there is a constant error with GRUB. I already have windows 10 installed, I don’t know what to do, help! :sneezing_face:

Interface: UEFI
partition table: GPT


that’s how much I allocated for the system.

Welcome to the forum :enos_flag: :enos:

The problem is you are trying to share a ESP (boot partition) with the windows bootloader partition which is to small. So what you should do is to create a new esp partition with the install ISO. This is a example screenshot on how to do that.

Look at the item number 3

i.e. I need to create another partition of about 1Gb, mark it as “/boot/efi”? so that there is 1Gb on EFI and the rest on “/”?

In POF (point of fact), I would create a 2 GB EFI (slight future proofing) as 1 GB is the current minimum.

I’ll try to do it this way

I did everything, I didn’t have a single error, it completed successfully, but after clicking on the “Restart now” checkbox and when I took out the flash drive - Windows still started for me. :neutral_face:

You should have a uefi option in the Bios you can boot from.
Also , if you want windows in the grub menu, you probably still have to do this.

Grub no longer has os-prober enabled per default:
https://wiki.archlinux.org/title/GRUB#Detecting_other_operating_systems

os-prober is troublesome in some cases, but it is used to autodetect other OS to add them to boot menu.

To re-enable os-prober usage for grub:

edit /etc/default/grub and change this:

Uncomment  (remove the #)

GRUB_DISABLE_OS_PROBER=false

save the file and regenerate grub.cfg again:

sudo grub-mkconfig -o /boot/grub/grub.cfg



Action required on your part: Set your new grub partition to be the active/preferred boot entry. Usually in your BIOS setup, but may also use ‘efibootmgr’

I also don’t see it in UEFI, and Windows boots. I did as they said: I created a 2Gb EFI partition, the rest of the space for the system, everything was successfully installed, but Grub doesn’t start, even though everything was installed correctly​:neutral_face:

it only has not created the entry in nvram it seems.. you could chroot and try creating one using efibootmgr

This is what is displayed in efibootmgr

i mean adding an boot entry with it :wink: like:

sudo efibootmgr --create \
  --disk /dev/sda \
  --part 1 \
  --label "EndeavourOS" \
  --loader '\boot\efi\EFI\endeavouros\grubx64.efi'

in case you created a new EFI it could be also --part 3 \ need sto get use the number of the efi fat32 partition used for efi..

is it possible to somehow check this file? to make sure it exists? if necessary, I can send more screenshots for a clearer picture (just specify which ones​:sweat_smile:)

what file?

this?

\boot\efi\EFI\endeavouros\grubx64.efi'

check: sudo ls /boot/efi/EFI/endeavouros/

and i see efibootmgr shows an entry for endeavouros .. but the efi menuu internal shows none ?

I already figured it out…
everything is even more interesting there. I have a laptop from China, and it has a Chinese BIOS (from a Chinese company) and it does not read files except bootx64. efi - and there is windows written. so it doesn’t matter, you won’t be able to install it as Dual boot

sure about this? could be you need to add it manually to get into boot selection.. or you have secure boot enabled somehow .. in cases implementations are very bad .. on teh efi firmware.

Could also be something like what was mentioned in this topic.

Fully laptop called Maibenben M547, 16GB RAM, SSD 512 GB, AMD Ryzen 7 Pro 4750U, etc. Screenshots from the BIOS/UEFI menu:




in case you can not add a boot entry into nvram of the firmware.. .. possible to add liniux boot entry from windows too not sure how.. never saw such issue before..

this efi fallback is generated on EndeavourOS too.. but if you have a second efi partition and not using the first one from windows it will read the windows one first.. so in theory if you somehow manage to use the windows efi it should work to load grub.

on early bootup you do not have F12 or F8 or esc to load a boot once menu?