You are not logged in.

#1 2021-12-13 09:47:55

KrypticCoconut
Member
Registered: 2020-11-23
Posts: 6

Samsung Galaxy Book Pro uefi not detecting grub

Hello, ive been using arch for about a year now and I recently received my Samsung Galaxy Book Pro laptop, I tried installing arch (with windows on it already) on it but the uefi doesn't seem to detecting grub...
I made sure I am running a uefi
secure boot and fast boot were also turned off.

Something even more strange happened tho, I just copy-pasted my entire old uefi install which had both grub and windows boot manager on the same partition, I updated the fstab and grub config and now uefi was detecting that somehow....
i installed grub on my old uefi install the same way, furthermore I tried using the interactive installer and it doesn't seem to detect grub on a install by that too
This has me more confused about grub than ever before.. does anyone know whats going on?

Offline

#2 2021-12-13 10:09:24

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,088

Re: Samsung Galaxy Book Pro uefi not detecting grub

Since you didn't include any details of the exact commands you've ran to install GRUB we can only guess. Something that can be a good bet especially if copying old installs around is that on the "detecting and working" case you populate the UEFI fallback path in esp/EFI/BOOTX64.efi which is a path any given UEFI implementation must follow.

Otherwise post details of how you installed GRUB and the output of

efibootmgr -uv

FWIW there are in general many implementations that might not allow the addition of proper UEFI/nvram entries without doing it via their own means, so this can possibly be normal and you might have to find an explicit setting in your firmware to actually add custom "real" entries that don't rely on the fallback path

Last edited by V1del (2021-12-13 10:11:17)

Offline

#3 2021-12-14 00:25:13

KrypticCoconut
Member
Registered: 2020-11-23
Posts: 6

Re: Samsung Galaxy Book Pro uefi not detecting grub

V1del wrote:

Since you didn't include any details of the exact commands you've ran to install GRUB we can only guess. Something that can be a good bet especially if copying old installs around is that on the "detecting and working" case you populate the UEFI fallback path in esp/EFI/BOOTX64.efi which is a path any given UEFI implementation must follow.

Otherwise post details of how you installed GRUB and the output of

efibootmgr -uv

FWIW there are in general many implementations that might not allow the addition of proper UEFI/nvram entries without doing it via their own means, so this can possibly be normal and you might have to find an explicit setting in your firmware to actually add custom "real" entries that don't rely on the fallback path


I used this to install grub
grub-install --target=x86_64-efi --efi-directory=esp --bootloader-id=GRUB


I also noticed something else interesting, when I installed the system, before rebooting, efibootmgr included GRUB as the first priority
Though after rebooting, the entry seems to be deleted and not be listed by efibootmgr

Offline

#4 2021-12-14 06:42:16

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,811
Website

Re: Samsung Galaxy Book Pro uefi not detecting grub

Please actually read the reply from V1del which you have needlessly full-quoted.

See also https://wiki.archlinux.org/title/Unifie … mware_menu


Jin, Jîyan, Azadî

Offline

#5 2021-12-15 08:59:31

KrypticCoconut
Member
Registered: 2020-11-23
Posts: 6

Re: Samsung Galaxy Book Pro uefi not detecting grub

Hello! Sorry, i didnt quite get V1del's reply, reading up more on it i think i understand why it wasnt being detected..

Just a small question though, the install which i copy pasted had windows efi installed at esp/EFI/BOOT/BOOTX64.efi but that was somehow making it detect grub at esp/EFI/GRUB/grubx64.efi, why and how was this happening?

Offline

#6 2021-12-15 09:57:38

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,088

Re: Samsung Galaxy Book Pro uefi not detecting grub

that shouldn't really be the case, are you certain that it was the windows efi at that location? Have you ever added a GRUB entry to that Windows Boot Loader?

Offline

#7 2021-12-15 21:02:51

KrypticCoconut
Member
Registered: 2020-11-23
Posts: 6

Re: Samsung Galaxy Book Pro uefi not detecting grub

Yes, i checked and it is the windows efi manager, and im not sure how to add a GRUB entry to the windows boot loader.. i might or might not have added it but i installed windows after i installed arch (with grub) on the computer

Offline

#8 2021-12-15 21:13:20

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,811
Website

Re: Samsung Galaxy Book Pro uefi not detecting grub

KrypticCoconut wrote:

Yes, i checked and it is the windows efi manager

How did you check, exactly?

The Windows EFI loader is located at $ESP/EFI/Microsoft/Boot/bootmgfw.efi: https://docs.microsoft.com/en-us/window … windows-11


Jin, Jîyan, Azadî

Offline

#9 2021-12-15 21:33:34

KrypticCoconut
Member
Registered: 2020-11-23
Posts: 6

Re: Samsung Galaxy Book Pro uefi not detecting grub

I remember when setting up my machine that after i installed windows esp/EFI/Boot/bootx64.efi and esp/EFI/Microsoft were created.

Offline

Board footer

Powered by FluxBB