🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.gentoo.user
Article #252

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

#252
From: Nuno Silva
Date: Tue, 01 Dec 2026 00:20
43 lines
2720 bytes
On 2026-11-30, Peter Humphrey wrote:

> On Monday, 30 November 2026 11:02:18 Greenwich Mean Time Nuno Silva 
> wrote:
>
>> Maybe Grub2 (which is what tends to be referred to as "Grub" these days)
>> operates differently, but if both systems mount a partition at /boot,
>> then the firmware image file won't be under /boot, it'll be under / of
>> the partition that would get mounted at /boot?
>
> I thought I understood that, but I don't. "The partition that would get 
> mounted at /boot" is indeed /boot, partition 2, labelled BOOT.

No, it's not "/boot". That's a mountpoint where it gets mounted in some
system. The "boot" directory doesn't exist in it. Unless the file can
actually be accessed as "/boot/boot/amd-uc.img" when mounted that way.

The path to the file you access as "/boot/amd-uc.img" in that partition
is "/amd-uc.img".

How is the kernel image itself specified?


>
> # parted -l
> Model: ADATA LEGEND 860 (nvme)
> Disk /dev/nvme0n1: 2000GB
> Sector size (logical/physical): 512B/512B
> Partition Table: gpt
> Disk Flags: 
>
> Number  Start   End     Size    File system     Name  Flags
>  1      1049kB  1075MB  1074MB  fat32                 boot, esp
>  2      1075MB  4296MB  3221MB  fat32                 bios_grub
>  3      4296MB  73.0GB  68.7GB  linux-swap(v1)        swap
>  4      73.0GB  127GB   53.7GB  ext4
>  5      127GB   213GB   85.9GB  ext4
> --->8
>
> Partition 4 is the rescue system, 5 the main.

-- 
Nuno Silva
Technical Details
Message-ID: <O5jLb-fdNj-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.corradoroberto.it!news.servidellagleba.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!srv.newsdeef.eu!news.corradoroberto.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From: Nuno Silva <nunojsilva@ist.utl.pt>
Newsgroups: linux.gentoo.user
Subject: [gentoo-user] Re: Grub can't boot my second kernel
Date: Tue, 01 Dec 2026 01:20:01 +0100
Message-ID: <O5jLb-fdNj-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>
X-Injected-Via-Gmane: http://gmane.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: text/plain
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
Approved: robomod@news.nic.it
Lines: 43
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Tue, 01 Dec 2026 00:12:09 +0000
X-Original-Message-ID: <11el3cp$2jtpr$1@ciao.gmane.io>
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>