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