Article View: linux.gentoo.user
Article #260[gentoo-user] Re: Grub can't boot my second kernel
From: Nuno Silva
Date: Tue, 01 Dec 2026 23:10
Date: Tue, 01 Dec 2026 23:10
38 lines
2758 bytes
2758 bytes
On 2026-12-01, Peter Humphrey wrote: > On Tuesday, 1 December 2026 00:12:09 Greenwich Mean Time Nuno Silva wrote: > >> 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. > > Let me attempt to settle this. I showed the output of 'parted -l', in which > you can see nvme0n1p1 and p2. The former is mounted on /efi, the latter on / > boot, in whichever system is booted. Nothing I've said so far is wrong, as far > as I can see. This is as it is mounted on a/the system you've booted. The filesystem itself has no notion of /boot (unless it has a symbolic link /boot->/, that is), and, unless grub2 operates differently here, it has no idea how are the partitions mounted on the booted system. You have to specify a partition with a filesystem where it looks for files, like the kernel and the initrd, and that is the root, as far as grub is concerned. So no /boot there. > >> How is the kernel image itself specified? > > To what? To grub. There ought to be a configuration directive telling the name of the kernel image in the grub install (unless, again, grub2 operates significantly differently, I think with grub2 it's sometimes automatically generated from other files, but it still exists?). Now is that line referring to /boot/kernelimagename or just /kernelimagename? > I think I'll follow Sergey's suggestions. -- Nuno Silva
Technical Details
Message-ID:
<O5F8Z-fqwl-11@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<O4UjL-eZs1-5@gated-at.bofh.it> <O5bDX-f8Uh-3@gated-at.bofh.it> <O5jLb-fdNj-1@gated-at.bofh.it> <O5vsZ-fkE3-1@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.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: Wed, 02 Dec 2026 00:10:01 +0100 Message-ID: <O5F8Z-fqwl-11@gated-at.bofh.it> References: <O4UjL-eZs1-5@gated-at.bofh.it> <O5bDX-f8Uh-3@gated-at.bofh.it> <O5jLb-fdNj-1@gated-at.bofh.it> <O5vsZ-fkE3-1@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: 38 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Tue, 01 Dec 2026 23:04:07 +0000 X-Original-Message-ID: <11enjp7$becj$1@ciao.gmane.io> X-Original-References: <sxKSRGVcRVqAZ-LV-6oRuA@prh.myzen.co.uk> <KwfPI768QdynBwvZaRkzJQ@prh.myzen.co.uk> <11el3cp$2jtpr$1@ciao.gmane.io> <eMrsKhFURsaDFwGWMmP4vw@prh.myzen.co.uk>