View previous topic :: View next topic |
Author |
Message |
KevinC_63559 n00b
Joined: 02 Jan 2021 Posts: 17
|
Posted: Mon Jan 20, 2025 10:26 pm Post subject: Gigabyte X870E mobo UEFI issues |
|
|
Has anybody here managed to get a Gigabyte X870E Aorus motherboard to boot Gentoo?
BIOS is not behaving as I expected and dynamically creates the boot order upon reset, ignoring any EFIBOOTMGR configurations defined.
So far I have not stumbled across the magic sauce required. Had a similar problem with an MSI X870E mobo (although this was just one of many issues on the MSI stuff).
I have a single VFAT partition on a NVME drive, mounted as /efi. Directory structure is /efi/EFI/BOOT per the standard default, but can't seem to get the BIOS to load any *.EFI files I have there. I've BOOT86.EFI per the standard, with that being a copy of my bzImage and it recognizes it as an OS, but no signs of loading. Tried with Grub, both with the default name and making that as BOOT86.EFI and it doesn't see anything.
Of course have things like GRUB_PLATFORMS="efi-64" in /etc/portage/make.conf.
Have GRUB_CFG=/efi/EFI/BOOT/grub.cfg and a kernel "make install" is in fact calling installkernel and created the grub.cfg as expected.
Ramdisk and vmLinux are being created on /boot, both wife and without USE="efistub" - basically all combinations I can think of.
Handbook recommends XFS for root. /boot is a separate EXT3 partition (last pass, was getting desperate), but root itself is XFS.
I've tried /, /usr, and /var all in one partition to remove the requirement to use an initramfs, still no luck.
Suggestions? |
|
Back to top |
|
|
sublogic Guru
Joined: 21 Mar 2022 Posts: 300 Location: Pennsylvania, USA
|
Posted: Tue Jan 21, 2025 1:37 am Post subject: Re: Gigabyte X870E mobo UEFI issues |
|
|
KevinC_63559 wrote: | I have a single VFAT partition on a NVME drive, mounted as /efi. Directory structure is /efi/EFI/BOOT per the standard default, but can't seem to get the BIOS to load any *.EFI files I have there. I've BOOT86.EFI per the standard, with that being a copy of my bzImage and it recognizes it as an OS, but no signs of loading. Tried with Grub, both with the default name and making that as BOOT86.EFI and it doesn't see anything. |
Shouldn't that be BOOTX64.EFI ? |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5327 Location: Bavaria
|
Posted: Tue Jan 21, 2025 2:15 am Post subject: Re: Gigabyte X870E mobo UEFI issues |
|
|
sublogic wrote: | Shouldn't that be BOOTX64.EFI ? |
I would like to add this information: Many (all?) UEFIs check at system startup whether the file specified by a UEFI entry really exists; and if not, that entry is silently deleted. _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
KevinC_63559 n00b
Joined: 02 Jan 2021 Posts: 17
|
Posted: Tue Jan 21, 2025 4:11 am Post subject: Re: Gigabyte X870E mobo UEFI issues |
|
|
Shouldn't that be BOOTX64.EFI ?[/quote]
Tis what I get from typing from memory. You are correct and it is... |
|
Back to top |
|
|
KevinC_63559 n00b
Joined: 02 Jan 2021 Posts: 17
|
Posted: Tue Jan 21, 2025 4:20 am Post subject: Re: Gigabyte X870E mobo UEFI issues |
|
|
pietinger wrote: |
I would like to add this information: Many (all?) UEFIs check at system startup whether the file specified by a UEFI entry really exists; and if not, that entry is silently deleted. |
Apparently permanently. Really wishing I could just go back to CSM/Legacy mode and use LILO - that was SO easy, but CSM mode on this bleeding edge board doesn't work as expected either.
I reinstalled, and have GRUB popping up now. No idea what I did differently, but it gets past "loading Linux 6.6.67-gentoo" and hangs on "loading initial ramdisk". Out of desperation, I tried copy the *.img and kernel files up to /efi/EFI/Gentoo, but naturally that didn't do anything.
Thinking about reformatting root as EXT4 instead of XFS, just to eliminate another variable. |
|
Back to top |
|
|
KevinC_63559 n00b
Joined: 02 Jan 2021 Posts: 17
|
Posted: Tue Jan 21, 2025 4:33 am Post subject: |
|
|
XFS -> EXT4: same symptom
FWIW /boot is separate EXT3 filesystem - not that it should matter.
Still looking for suggestions please! |
|
Back to top |
|
|
|