🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.gentoo.user
Article #241

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

#241
From: Darren Kirby
Date: Sun, 29 Nov 2026 22:50
86 lines
4758 bytes
--nextPartdk9wKHNWQeeTrEkdxEW7Xw
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="utf-8"; protected-headers="v1"
From: Darren Kirby <darren@dragonbyte.ca>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Grub can't boot my second kernel
Date: Sun, 29 Nov 2026 15:46:15 -0700
Message-ID: <HGPeQJdsQ7yq42SJARhrXA@dragonbyte.ca>
In-Reply-To: <sxKSRGVcRVqAZ-LV-6oRuA@prh.myzen.co.uk>
References: <sxKSRGVcRVqAZ-LV-6oRuA@prh.myzen.co.uk>
MIME-Version: 1.0

On Sunday, 29 November 2026 09:03:49 MST Peter Humphrey wrote:
> Greetings,
> 
> I've always had a small secondary Gentoo installation on my machine - well,
> for 30 years or so, I call it a Rescue system, but I use it mainly for
> backing-up the main system to external USB once a week.
> 
> On earlier machines, it was easy to set up the choice of kernel to boot,
> using systemd-boot, but I can't get that to work at all on this machine, so
> I have to use grub.
> 
> Installing grub on the main system seems to go well, giving it os-prober to
> find the rescue system - which it does, and includes it in the boot options.
> 
> The problem is that, on trying to boot the rescue system, grub complains 
that
> it can't find amd-uc.img in /boot, even though it's there.
> 
> What am I missing?

Hi Peter,

The firmware image file is in /boot on both systems?

It may be worth trying to boot the rescue system from the Grub prompt 
directly. Instructions are here [0] if you've never done this. If nothing 
else, it will tell you if the issue is due to Grub's config, or something 
wider.

I don't use os-prober on any of my systems, so I'm unsure exactly how it 
writes the config for the kernels it finds.

Another option is to forego os-prober and just write the config manually in /
etc/grub.d/40_custom (on the main system) and see if that works. That would 
look something like:

menuentry "Rescue system" {
    insmod part_gpt
    insmod ext2
    search --no-floppy --fs-uuid --set=root 4fa3f246-e7ac-4577-b384-
e71da2cfe2d4
    linux /boot/vmlinuz-7.1.8 root=PARTUUID=2cc28e47-9deb-4bdc-b4b8-
c4ef1294fbe6 ro
    # add line for initrd if you use one:
    # initrd /boot/initrd-7.1.8
}


HTH,
Darren

[0] https://www.linuxfoundation.org/blog/blog/classic-sysadmin-how-to-rescue-a-non-booting-grub-2-on-linux

--nextPartdk9wKHNWQeeTrEkdxEW7Xw
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

-----BEGIN PGP SIGNATURE-----

iQHPBAABCAA5FiEE1402jAdqhwYiTHMAIEFTe6YbkTsFAmsMqzcbFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMiwyAAoJECBBU3umG5E7B28L/3Fhemujjxwhpa4zJMTL
31zmBroICUYYpL9a70lLmy1OBDivk0ZJG20hgXX9LjpZ4dL4cUGESReZ0ctGS05R
HmWaNVZ10UWLdBDbYuGIHpNdLODd/wDV9LE/RbZG/NPZugptuydWw8Vq1EozcMg0
oZP32QD3Kb4EzjXcAtLYz+4gVXb54rfSbjG8vwk1gKwYgS7hFKJ1tH4M+Def0qKn
jAQU03VWchGTWQ89qeGtMnf6RrndxJ0UnA5CWov10Nu5L1LKG5NSsikA3BuptbrU
VBWXGxo0mVKPbQ9r2eJ4xg48aVQrb6eZPbr/qD3zMMTDt9V1ABcYolP4+4DXPoFn
4MztnDvZYA4CCmMigDjhP6ImcB+fGnJbj98ec9JcLvzDuBixQJbxhWlephWv4c9p
FLxxTrd0sptb0vr+JzWSDv8+yCr+f56A+IFJIhV+XfOURcetBCEYJmMIf8DRo5xN
G2g/Dk9/GL1cFb7eRJPZUA9Lc++dhP8J3Tr7CVnKgB/wfQ==
=adfG
-----END PGP SIGNATURE-----

--nextPartdk9wKHNWQeeTrEkdxEW7Xw--
Technical Details
Message-ID: <O4VSx-f0bR-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod
References: <O4UjL-eZs1-5@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Darren Kirby <darren@dragonbyte.ca>
Newsgroups: linux.gentoo.user
Subject: Re: [gentoo-user] Grub can't boot my second kernel
Date: Sun, 29 Nov 2026 23:50:01 +0100
Message-ID: <O4VSx-f0bR-3@gated-at.bofh.it>
References: <O4UjL-eZs1-5@gated-at.bofh.it>
X-Original-To: gentoo-user@lists.gentoo.org
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
Content-Type: multipart/signed; boundary="nextPartdk9wKHNWQeeTrEkdxEW7Xw";
 micalg="pgp-sha256"; protocol="application/pgp-signature"
X-Fe-Attachment-Name: signature.asc
X-Feas-Bec-Info: WlpIGw0aAQkEARIJHAEHBlJSCRoLAAEeDUhZUEhYSFhIWUhZXkguLT4lWFpYWFhYWlhZW1hQSFpYSAwJGhoNBigMGgkPBwYKERwNRgsJSFhIWlBIDw0GHAcHRR0bDRooBAEbHBtGDw0GHAcHRgcaD0hYSFpIWVtIX11GWV1fRlpYUUZfWEhQSFhIWEhZSFhIWEhYSFpQSA8NBhwHB0UdGw0aKAQBGxwbRg8NBhwHB0YHGg9IWA==
X-Feas-Client-IP: 10.9.9.183
X-Fe-Last-Public-Client-IP: 75.157.209.70
X-Fe-Policy-ID: 1:3:0:SYSTEM
Approved: robomod@news.nic.it
Lines: 86
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sun, 29 Nov 2026 15:46:15 -0700
X-Original-Message-ID: <HGPeQJdsQ7yq42SJARhrXA@dragonbyte.ca>
X-Original-References: <sxKSRGVcRVqAZ-LV-6oRuA@prh.myzen.co.uk>