(Solved) Arch installer: "exit_boot() failed!" "efi_main() failed!"

I have seen this happen multiple times and it is not an important thing but just wondering if anyone know why this is happening?

on the internet i have seen solutions of install in legacy mode, which i will not do and dissable secureboot which has been done

Is the bootable media in UEFI/GPT?
Is the hard drive formatted as GPT?
Is your 512M partition formatted and labeled as EFI file type?
Is the bootctl launched to /boot/efi ?

Somethings I would check that come to mind. I have not seen that before, though. If you’re using parted or gparted, try cfdisk and see if that works better for you.

https://wiki.archlinux.org/index.php/installation_guide

Does it even boot in legacy mode?
Have you verifed the ISO to make sure its not corrupted?
Have you tried a different install media like a different USB stick?

2 Likes

not sure if it matters but i am making it bootable using dd

Disk /dev/sdf: 7.2 GiB, 7776239616 bytes, 15187968 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
Disklabel type: dos
Disk identifier: 0x00000000

Device Boot Start End Sectors Size Id Type
/dev/sdf1 * 64 1046455 1046392 511M cd unknown
/dev/sdf2 1046456 1054647 8192 4M ef EFI (FAT-12/16/32)

[[email protected] ~]$ sudo gdisk /dev/sdf
GPT fdisk (gdisk) version 1.0.3

Caution: invalid main GPT header, but valid backup; regenerating main header
from backup!

Caution! After loading partitions, the CRC doesn’t check out!
Warning! Main partition table CRC mismatch! Loaded backup partition table
instead of main partition table!

Warning! One or more CRCs don’t match. You should repair the disk!

Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: damaged

Found valid MBR and corrupt GPT. Which do you want to use? (Using the
GPT MAY permit recovery of GPT data.)
1 - MBR
2 - GPT
3 - Create blank GPT

after running gdisk again after making a new GPT table

[[email protected] ~]$ sudo gdisk /dev/sdf
GPT fdisk (gdisk) version 1.0.3

Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present

Found valid GPT with protective MBR; using GPT.

after that on bootup (these are just flipped on here for some reason)


It seems that when i use a manjaro iso on it i get this
fdisk (gdisk) version 1.0.3

Caution: invalid main GPT header, but valid backup; regenerating main header
from backup!

Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: damaged

Found valid MBR and corrupt GPT. Which do you want to use? (Using the
GPT MAY permit recovery of GPT data.)
1 - MBR
2 - GPT
3 - Create blank GPT

i never get this far in the process, i am trying to boot the install CD

Your install CD is bad. Verify the install media from the grub menu.

3 Likes

thanks, that was the problem

1 Like

Awesome, please mark the thread as solved if you feel your issue resolved :slight_smile:

I am having this exact same issue. I’m trying to boot the Fedora install media USB.

I have tried creating it with the Fedora Media Writer and dd. For the dd method I did

sudo dd if=Fedora-KDE-Live-x86_64-28-1.1.iso of=/dev/sdc bs=4M status=progress && sync

I have tried this with both standard Fedora and KDE Fedora, and for both I have checked the media from the boot menu and it shows fine. I even tried using two different USB drives.

Doing some research a popular fix is to make sure Secure Boot is disabled, but I don’t have any Secure Boot options in my UEFI.