On Monday, 30 November 2026 16:51:50 Greenwich Mean Time Sergey Filatov wrote:
> My bet is that os-prober just finds the partition 4, looks what's > inside of it in a /boot dir, sees the kernel and adds it to the list. > But somehow thinks that you have a microcode (by the main system, as > it is in your partition 2) and adds it to those entries. > > Try to run the rescue system (in grub press E, remove the part with > /boot/amd-uc.img inclusion and press ctrl+x). The system should boot. > > Then try: > > umount /boot > ls -la /boot > > If you'll see the kernel files and no amd-uc.img - that's probably > what GRUB actually tries to load. The older kernel leftover without a > microcode. > > If that's the case, guess there are two ways to fix it: > > 1. If you only have two systems - disable os-prober in > /etc/default/grub and write /etc/grub.d/ script to generate the > entries for the rescue system yourself. Just a simple script that > creates the manual entry for a rescue kernel. Like this: > https://wiki.gentoo.org/wiki/GRUB#Enabling_or_disabling_configuration_ > scripts > > 2. Ditch the idea to have a single boot partition for two systems, > update the kernel for the rescue system (or just copy it from the main > system, assuming the configuration is the same), copy amd-uc.img to > (partition4)/boot and call it a day. Might be safer actually, since > you'll have a fully working system with working kernel, less chance > to be broken by a faulty kernel update of the main system.
You should try what Sergey recommended above, to understand what partition your Rescue OS /efi (boot) mountpoint is really mounted on. As far as I recall the UUID in grub's configuration is of the OS root fs. The error you are getting is pointing to the temporary build-time fs of portage. To state the obvious, this shouldn't be mentioned anywhere in grub's configuration path(s). Assuming you have mounted the correct FAT32 partition as /efi while you are running your Rescue OS, or while you have chrooted into it, you can then re-emerge/update sys-boot/grub if you need to, reinstall grub, and update its configuration file: grub-install --efi-directory=/efi grub-mkconfig -o /efi/EFI/Gentoo/grub.cfg PS. You can build the AMD microcode and any other firmware you need in the kernel itself, by specifying it in CONFIG_EXTRA_FIRMWARE="..."