Alright, I'm beginning to feel like I'm wasting my time at this point and should just go initramfs-less.
I have the following from efibootmgr
Code: Select all
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 01FE,01FF,0000,0001
Boot0000* Gentoo 6.14.2 (CachyOS Kernel, test) HD(1,GPT,d5d977e1-f515-574f-8949-caf8f2c41559,0x800,0x80000)/\EFI\BOOT\BOOTx64.EFI root=UUID=963bf518-69b3-41af-8366-617ba5aa3ef5 ro init_on_alloc=1 init_on_free=1 spectre_v2=on spec_store_bypass_disable=seccomp randomize_kstack_offset=on random.trust_cpu=off pti=on page_poison=1 page_alloc.shuffle=1 hardened_usercopy=1 mce=0 vsyscall=none rng_core.default_quality=512 apparmor=1 security=apparmor lsm=landlock,lockdown,yama,loadpin,safesetid,smack,tomoyo,apparmor,ipe,bpf driver=free amdgpu.modeset=1 video=DP-1:2560x1440@165 zswap.enabled=1 zswap.compressor=zstd zswap.zpool=zsmalloc zswap.max_pool_percent=15 initrd=\EFI\BOOT\amd-uc.img initrd=\EFI\BOOT\intel-uc.img initrd=initramfs.cpio
Boot0001* UEFI: Patriot Memory PMAP, Partition 2 PciRoot(0x0)/Pci(0x14,0x0)/USB(10,0)/HD(2,GPT,3c14bf9d-d220-4e30-9902-40b3f5d1d6eb,0x23c,0x1680)
Boot01FE* UMC 1 Gentoo Linux 6.14.2 HD(1,GPT,d5d977e1-f515-574f-8949-caf8f2c41559,0x800,0x80000)/\EFI\Gentoo\vmlinuz-6.14.2.efi ro quiet init_on_alloc=1 init_on_free=1 spectre_v2=on spec_store_bypass_disable=seccomp randomize_kstack_offset=on random.trust_cpu=off pti=on page_poison=1 page_alloc.shuffle=1 hardened_usercopy=1 mce=0 vsyscall=none rng_core.default_quality=512 apparmor=1 security=apparmor lsm=landlock,lockdown,yama,loadpin,safesetid,smack,tomoyo,apparmor,ipe,bpf driver=free amdgpu.modeset=1 video=DP-1:2560x1440@165 zswap.enabled=1 zswap.compressor=zstd zswap.zpool=zsmalloc zswap.max_pool_percent=15 initrd=\EFI\Gentoo\amd-uc.img initrd=\EFI\Gentoo\intel-uc.img initrd=\EFI\Gentoo\initramfs-6.14.2.img
Boot01FF* UMC 2 Gentoo Linux 6.13.2 HD(1,GPT,d5d977e1-f515-574f-8949-caf8f2c41559,0x800,0x80000)/\EFI\Gentoo\vmlinuz-6.13.2.efi ro quiet init_on_alloc=1 init_on_free=1 spectre_v2=on spec_store_bypass_disable=seccomp randomize_kstack_offset=on random.trust_cpu=off pti=on page_poison=1 page_alloc.shuffle=1 hardened_usercopy=1 mce=0 vsyscall=none rng_core.default_quality=512 apparmor=1 security=apparmor lsm=landlock,lockdown,yama,loadpin,safesetid,smack,tomoyo,apparmor,ipe,bpf driver=free amdgpu.modeset=1 video=DP-1:2560x1440@165 zswap.enabled=1 zswap.compressor=zstd zswap.zpool=zsmalloc zswap.max_pool_percent=15 initrd=\EFI\Gentoo\amd-uc.img initrd=\EFI\Gentoo\intel-uc.img initrd=\EFI\Gentoo\initramfs-6.13.2.img
Let's go in order.
Boot0000 is an entry I manually made, and uses cachyos-sources from gentoo-zh. All the files in this entry I moved into the respected paths. It compiles fine, ugrd reports no warnings about missing modinfo or modules or whatever, so in theory it should work.
This entry, when I select it in the EFI boot menu just kicks me back to the EFI Boot menu.
Okay next one down is the LiveGUI USB, so that's nothing to worry about.
Boot1FE is the EFI entry of cachyos-sources, but it's EFI entry installkernel + uefi-mkconfig creates. That takes me to a blank black screen, I
hear my computer fans start to speed up like they're doing something and then...nothing. Still a blank black screen.
Boot01FF is what was created from xanmod-kernel from gentoo-zh. Selecting it just takes to the blank black screen, no fans spinning up or anything like the previous entry.
Here are the diffs between the configs files for all of these kernels
compared to gentoo-kernel-bin, which works every single time.
(Yes, the gentoo-kernel-bin isn't in the efibootmgr output, as I deleted the entry.)
gentoo-kernel-bin -> cachyos-sources
diff -Naru /usr/src/linux-6.14.2-gentoo-dist/.config /usr/src/linux-6.14.2-cachyos/.config
gentoo-kernel-bin -> xanmod-kernel
diff -Naru /usr/src/linux-6.14.2-gentoo-dist/.config /etc/portage/savedconfig/sys-kernel/xanmod-kernel-6.13.2
I'm going to remove quiet from /etc/default/uefi-mkconfig kernel cmdline bit and retry one of the entries that give a blank black screen.
After that, I'm just sticking with gentoo-kernel-bin for now. I'm getting really tired of configuring for the past 3-4 days only for it to not work. My sound still doesn't work, but at least I can boot into a kernel and get a GUI. Maybe going without an initramfs would fix this, but I don't feel like thinking about that at the moment. At one point things were working, now they aren't. That's all I know at this point.