🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.gentoo.user
Article #248

Re: [gentoo-user] Re: Grub can't boot my second kernel

#248
From: Sergey Filatov
Date: Mon, 30 Nov 2026 17:00
34 lines
2890 bytes
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.

On 30.11.2026 19:30, Peter Humphrey wrote:
> I thought I understood that, but I don't. "The partition that would get
> mounted at /boot" is indeed /boot, partition 2, labelled BOOT.
Technical Details
Message-ID: <O5cTn-f9AC-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <O4UjL-eZs1-5@gated-at.bofh.it> <O56NX-f6bT-1@gated-at.bofh.it> <O57qF-f6zW-7@gated-at.bofh.it> <O5bDX-f8Uh-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Sergey Filatov <raxp@raxp.ru>
Newsgroups: linux.gentoo.user
Subject: Re: [gentoo-user] Re: Grub can't boot my second kernel
Date: Mon, 30 Nov 2026 18:00:01 +0100
Message-ID: <O5cTn-f9AC-1@gated-at.bofh.it>
References: <O4UjL-eZs1-5@gated-at.bofh.it> <O56NX-f6bT-1@gated-at.bofh.it> <O57qF-f6zW-7@gated-at.bofh.it> <O5bDX-f8Uh-3@gated-at.bofh.it>
List-ID: Gentoo Linux mail <gentoo-user.gentoo.org>
Reply-To: gentoo-user@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Approved: robomod@news.nic.it
Lines: 34
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Mon, 30 Nov 2026 20:51:50 +0400
X-Original-Message-ID: <c30d5c97-da8f-425c-bd41-36e32ac06583@raxp.ru>
X-Original-References: <sxKSRGVcRVqAZ-LV-6oRuA@prh.myzen.co.uk>
 <BqCR-ovTQ6-qfp4DYA-wKQ@prh.myzen.co.uk> <11ejl3q$38jen$1@ciao.gmane.io>
 <KwfPI768QdynBwvZaRkzJQ@prh.myzen.co.uk>