My ASUS ZenBook Prime UX31A ostree grub nightmare

Hi,
Sadly the ASUS ZenBook Prime UX31A has a broken / ugly efi implementation that does not work with endless out of the box. After upgrading to the latest bios from the Asus website the install from usb works (earlier Bios version makes the install stop nearly immidiatly after klick on Formatting)

Installing Debian Bookworm works well, and boots - debian is creating a bootentry but endless not.

The bios can create manual boot entries but due to a lack of documentation this fails mostly (no entry after hitting crate)
what works (creating, not booting) is:
Name Endless
Path p0:\efi\endless\shimx64.efi
can be created, but did not boot :frowning:
also not booting p0:\efi\endless\grubx64.efi
p0:\efi\boot\bootx64.efi

next i’ll try from debian rescue system
sudo efibootmgr -c -d /dev/sda -p 1 -L “EndlessOS” -l “\EFI\endless\grubx64.efi”

but i’m afraid this will not work as well.

As the ASUS ZenBook Prime UX31A is a very nice device, useless for all other systems but perfect for endless i would love to run endless on it

Of course: Secure boot disabled and i tried CSM disabled and enabled

if someone could shine some light on this, or come up with an other hack…

copy the files fom efi/endless to efi/boot (tired schimx64.efi and grubx64.efi copy to boot\bootx64.efi also gives not success

getting the systemrecuecd and do a

efibootmgr -c -d /dev/sda -p 1 -l \\EFI\\endless\\grubx64.efi -L Endless
(double backslashes!)
makes endless boot :slight_smile: