Grub 2:2.06.r322.gd9b4638c5-1 won't boot and goes straight to the BIOS after update

Check if your efi partition is (not) mounted!
You can check ls -l /boot/efi/. Your error suggests its empty or non existent.

To know in which partition the efi is while in chroot, we must examine the partition table. If your main disk is /dev/sda then fdisk -l /dev/sda, on nvm its fdisk -l /dev/nvme1.

In the result, search for something like EFI System or EFI (FAT-12/16/32)
Once you know the partition number then (in my case nvme1p1 ), we must mount it in /boot/efi

Mount it with
mount /dev/sda1 /boot/efi/ or in my case mount /dev/nvme1p1 /boot/efi/.

Now grub-install should work since it expects and finds the efi in /boot/efi

Werked for me.

If system is UEFI it is best to make sure CSM is off and set UEFI only no legacy. :wink:

1 Like

I’ve just been skipping the grub update since this occurred.

No harm in that, right? :thinking:

Is there any solution for the out of range error after selecting any installed kernel?

That means you are possibly booting the old grub efi entry.

Go into your BIOS and see if there is a different entry

Thanks, I’ll try that.

1 Like

I followed this

But I still have the same issue. It doesn’t work even though I’ve followed everything.

My live iso stuck on stalled noveau

What is the actual issue you currently have? What behaviour are you seeing?

Not being able to boot into endeavour and I’m on my laptop’s startup menu. I have 2 entries on EOS in my boot menu.

I was also trying to do the grub-install solution but it say /boot/efi doesn't look like an EFI partition

You can test if it is UEFI or Bios if you don’t know.

[ -d /sys/firmware/efi ] && echo UEFI || echo BIOS

What happens specifically? Things “failing” and “not booting” don’t help.

We need to know exactly what happens when you try to boot. Is there an error? Does something else happen?

it just goes back to the startup menu when I choose either of EOS option in the boot menu

It sounds like something when wrong when you tried the resolution steps.

Try again.

This time save all the full output from all the commands and post them here before you reboot.

This is everything after chroot.

[root@EndeavourOS /]# grub-install
Installing for x86_64-efi platform.
grub-install: error: /boot/efi doesn't look like an EFI partition.
[root@EndeavourOS /]# efibootmgr -v
BootCurrent: 0009
Timeout: 0 seconds
BootOrder: 0008,0003,0004,0005,0000,000B,000A,0009
Boot0000* Windows Boot Manager	HD(1,GPT,89514c4c-5f8b-4f96-afe0-d99dfb60559d,0x800,0x82000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d0000002d000100000010000000040000007fff0400
      dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 20 08 00 00 00 00 00 4c 4c 51 89 8b 5f 96 4f af e0 d9 9d fb 60 55 9d 02 02 / 04 04 46 00 5c 00 45 00 46 00 49 00 5c 00 4d 00 69 00 63 00 72 00 6f 00 73 00 6f 00 66 00 74 00 5c 00 42 00 6f 00 6f 00 74 00 5c 00 62 00 6f 00 6f 00 74 00 6d 00 67 00 66 00 77 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
    data: 57 49 4e 44 4f 57 53 00 01 00 00 00 88 00 00 00 78 00 00 00 42 00 43 00 44 00 4f 00 42 00 4a 00 45 00 43 00 54 00 3d 00 7b 00 39 00 64 00 65 00 61 00 38 00 36 00 32 00 63 00 2d 00 35 00 63 00 64 00 64 00 2d 00 34 00 65 00 37 00 30 00 2d 00 61 00 63 00 63 00 31 00 2d 00 66 00 33 00 32 00 62 00 33 00 34 00 34 00 64 00 34 00 37 00 39 00 35 00 7d 00 00 00 2d 00 01 00 00 00 10 00 00 00 04 00 00 00 7f ff 04 00
Boot0003* endeavouros-3897	HD(1,GPT,df4b8788-7f81-45eb-b8d2-8690ecaf25d0,0x800,0x82000)/File(\EFI\endeavouros-3897\grubx64.efi)
      dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 20 08 00 00 00 00 00 88 87 4b df 81 7f eb 45 b8 d2 86 90 ec af 25 d0 02 02 / 04 04 48 00 5c 00 45 00 46 00 49 00 5c 00 65 00 6e 00 64 00 65 00 61 00 76 00 6f 00 75 00 72 00 6f 00 73 00 2d 00 33 00 38 00 39 00 37 00 5c 00 67 00 72 00 75 00 62 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
Boot0004* Manjaro	HD(1,GPT,df4b8788-7f81-45eb-b8d2-8690ecaf25d0,0x800,0x82000)/File(\EFI\Manjaro\grubx64.efi)
      dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 20 08 00 00 00 00 00 88 87 4b df 81 7f eb 45 b8 d2 86 90 ec af 25 d0 02 02 / 04 04 36 00 5c 00 45 00 46 00 49 00 5c 00 4d 00 61 00 6e 00 6a 00 61 00 72 00 6f 00 5c 00 67 00 72 00 75 00 62 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
Boot0005* ubuntu	HD(1,GPT,df4b8788-7f81-45eb-b8d2-8690ecaf25d0,0x800,0x82000)/File(\EFI\ubuntu\grubx64.efi)
      dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 20 08 00 00 00 00 00 88 87 4b df 81 7f eb 45 b8 d2 86 90 ec af 25 d0 02 02 / 04 04 34 00 5c 00 45 00 46 00 49 00 5c 00 75 00 62 00 75 00 6e 00 74 00 75 00 5c 00 67 00 72 00 75 00 62 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
Boot0008* endeavouros-7043	HD(1,GPT,df4b8788-7f81-45eb-b8d2-8690ecaf25d0,0x800,0x82000)/File(\EFI\endeavouros-7043\grubx64.efi)
      dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 20 08 00 00 00 00 00 88 87 4b df 81 7f eb 45 b8 d2 86 90 ec af 25 d0 02 02 / 04 04 48 00 5c 00 45 00 46 00 49 00 5c 00 65 00 6e 00 64 00 65 00 61 00 76 00 6f 00 75 00 72 00 6f 00 73 00 2d 00 37 00 30 00 34 00 33 00 5c 00 67 00 72 00 75 00 62 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
Boot0009* USB Drive (UEFI) - SanDisk	PciRoot(0x0)/Pci(0x8,0x1)/Pci(0x0,0x3)/USB(5,0)/CDROM(1,0x369fc0,0x33298)0000424f
      dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 01 08 / 01 01 06 00 03 00 / 03 05 06 00 05 00 / 04 02 18 00 01 00 00 00 c0 9f 36 00 00 00 00 00 98 32 03 00 00 00 00 00 / 7f ff 04 00
    data: 00 00 42 4f
Boot000A* Internal Hard Disk	PciRoot(0x0)/Pci(0x1,0x2)/Pci(0x0,0x0)/NVMe(0x1,00-1B-44-8B-41-95-58-CB)/HD(1,GPT,89514c4c-5f8b-4f96-afe0-d99dfb60559d,0x800,0x82000)0000424f
      dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 02 01 / 01 01 06 00 00 00 / 03 17 10 00 01 00 00 00 00 1b 44 8b 41 95 58 cb / 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 20 08 00 00 00 00 00 4c 4c 51 89 8b 5f 96 4f af e0 d9 9d fb 60 55 9d 02 02 / 7f ff 04 00
    data: 00 00 42 4f
Boot000B* Internal Hard Disk	PciRoot(0x0)/Pci(0x8,0x2)/Pci(0x0,0x0)/Sata(0,65535,0)/HD(1,GPT,df4b8788-7f81-45eb-b8d2-8690ecaf25d0,0x800,0x82000)0000424f
      dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 02 08 / 01 01 06 00 00 00 / 03 12 0a 00 00 00 ff ff 00 00 / 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 20 08 00 00 00 00 00 88 87 4b df 81 7f eb 45 b8 d2 86 90 ec af 25 d0 02 02 / 7f ff 04 00
    data: 00 00 42 4f
[root@EndeavourOS /]# sudo efibootmgr -o 0003,0008
BootCurrent: 0009
Timeout: 0 seconds
BootOrder: 0003,0008
Boot0000* Windows Boot Manager	HD(1,GPT,89514c4c-5f8b-4f96-afe0-d99dfb60559d,0x800,0x82000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d0000002d000100000010000000040000007fff0400
Boot0003* endeavouros-3897	HD(1,GPT,df4b8788-7f81-45eb-b8d2-8690ecaf25d0,0x800,0x82000)/File(\EFI\endeavouros-3897\grubx64.efi)
Boot0004* Manjaro	HD(1,GPT,df4b8788-7f81-45eb-b8d2-8690ecaf25d0,0x800,0x82000)/File(\EFI\Manjaro\grubx64.efi)
Boot0005* ubuntu	HD(1,GPT,df4b8788-7f81-45eb-b8d2-8690ecaf25d0,0x800,0x82000)/File(\EFI\ubuntu\grubx64.efi)
Boot0008* endeavouros-7043	HD(1,GPT,df4b8788-7f81-45eb-b8d2-8690ecaf25d0,0x800,0x82000)/File(\EFI\endeavouros-7043\grubx64.efi)
Boot0009* USB Drive (UEFI) - SanDisk	PciRoot(0x0)/Pci(0x8,0x1)/Pci(0x0,0x3)/USB(5,0)/CDROM(1,0x369fc0,0x33298)0000424f
Boot000A* Internal Hard Disk	PciRoot(0x0)/Pci(0x1,0x2)/Pci(0x0,0x0)/NVMe(0x1,00-1B-44-8B-41-95-58-CB)/HD(1,GPT,89514c4c-5f8b-4f96-afe0-d99dfb60559d,0x800,0x82000)0000424f
Boot000B* Internal Hard Disk	PciRoot(0x0)/Pci(0x8,0x2)/Pci(0x0,0x0)/Sata(0,65535,0)/HD(1,GPT,df4b8788-7f81-45eb-b8d2-8690ecaf25d0,0x800,0x82000)0000424f
[root@EndeavourOS /]#

We need to see what happened before the chroot too.

This usually means that your chroot isn’t setup correctly.

[liveuser@eos-2022.06.23 ~]$ sudo fdisk -l
Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: ST1000LM035-1RK1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 624DCBB7-4978-4D8C-8C49-73A4F342B6C6

Device          Start        End   Sectors   Size Type
/dev/sda1        2048     534527    532480   260M EFI System
/dev/sda2      534528     567295     32768    16M Microsoft reserved
/dev/sda3      567296  629710847 629143552   300G Microsoft basic data
/dev/sda4   629710848 1316644863 686934016 327.6G Microsoft basic data
/dev/sda5  1952464896 1953511423   1046528   511M Windows recovery environment
/dev/sda6  1316644864 1628697936 312053073 148.8G Linux filesystem
/dev/sda7  1935108096 1952464895  17356800   8.3G Linux swap
/dev/sda8  1628698624 1935108095 306409472 146.1G Linux filesystem

Partition table entries are not in disk order.


Disk /dev/nvme0n1: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk model: WDC WDS500G2B0C-00PXH0                  
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 0A076E81-E2D6-447A-BCE9-0BA321043469

Device             Start       End   Sectors  Size Type
/dev/nvme0n1p1      2048    534527    532480  260M EFI System
/dev/nvme0n1p2    534528    567295     32768   16M Microsoft reserved
/dev/nvme0n1p3    567296 556284565 555717270  265G Microsoft basic data
/dev/nvme0n1p4 556284568 975724543 419439976  200G Microsoft basic data
/dev/nvme0n1p5 975724544 976771071   1046528  511M Windows recovery environment


Disk /dev/sdb: 14.53 GiB, 15597568000 bytes, 30464000 sectors
Disk model: Ultra           
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xe465ad28


Disk /dev/loop0: 1.6 GiB, 1723146240 bytes, 3365520 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
[liveuser@eos-2022.06.23 ~]$ sudo mount /dev/sda
sda   sda1  sda2  sda3  sda4  sda5  sda6  sda7  sda8  
[liveuser@eos-2022.06.23 ~]$ sudo mount /dev/sda6 /mnt
[liveuser@eos-2022.06.23 ~]$ sudo mount /dev/sda6 /mnt/boot/efi
[liveuser@eos-2022.06.23 ~]$ sudo arch-chroot /mnt
[root@EndeavourOS /]# 

can I just downgrade grub? I use yay so downgrade won’t work

Show us lsblk -f instead.

[root@EndeavourOS /]# lsblk -f
NAME        FSTYPE   FSVER            LABEL            UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
loop0       squashfs 4.0                                                                                   
sda                                                                                                        
├─sda1      vfat     FAT32            SYSTEM           8CDD-9A1A                                           
├─sda2                                                                                                     
├─sda3      ntfs                      New Volume       BA262B34262AF155                                    
├─sda4      ntfs                      New Volume       3EAA3A18AA39CD61                                    
├─sda5      ntfs                      Windows RE tools CC4A8A634A8A49E2                                    
├─sda6      ext4     1.0                               93fcdc1f-6845-410c-9038-094bab500920  107.3G    21% /
├─sda7      swap     1                                 b69f56b0-0345-4e65-99ba-9ecdbf2c3f3e                
└─sda8      ext4     1.0                               bb0edcf3-be29-4384-87d0-ef64d8da7852                
sdb         iso9660  Joliet Extension EOS_202206       2022-06-22-22-47-55-00                              
nvme0n1                                                                                                    
├─nvme0n1p1 vfat     FAT32                             CAE1-9B89                                           
├─nvme0n1p2                                                                                                
├─nvme0n1p3 ntfs                      Windows          2E18605618601F59                                    
├─nvme0n1p4 ntfs                                       0AD710E30AD710E3                                    
└─nvme0n1p5 ntfs                      Windows RE tools CC4A8A634A8A49E2                                    
[root@EndeavourOS /]# 

I’m still struggling with boot issues after the last grub update.
After doing almost everything written in the post I still can not boot my machine normally.
What I did before:
Booted with live USB, installed grub (as root), changed boot sequence with efi-bootmgr -o, etc, as descibed here.
Result: Now I can boot using the boot manager (by pressing F12) but not normally, where I get the error message “symbol ‘grub_debug-malloc’ not found”.
I also tried to enter the ‘Inside H20 Setup Utility’ (by pressing F2). All seems to be OK, expect of the Boot menu: there is just ONE entry: “2.”. (No HDD or USB entries)
Is there anybody out there who has detected similar behavior?
Is there a solution for this?
Thank you!
László
(If it’s not the right place, please give me an advise!)