On 25/10/2024 23:06, Joe wrote:
On 25 Oct 2024 08:26:21 -0700 pe...@easthope.ca wrote:

A new-to-me detail is hd0 having FAT and hd1 having GPT.
According to this, OK for Grub2.
[...]
Modern drives use GPT partitioning, and modern computers generally have
UEFI firmware rather than BIOS. The EFI partition *must* be one of the
FAT family, for any OS using UEFI.

I suspect some confusion. Either MBR (not FAT) vs. GPT partition table or FAT filesystem on specific partition like (hd0,gpt1) or (hd0,msdos1), not on whole (hd0) or (hd1) drive.

A plugged USB stick may shift drive numbers, so hd1 may accidentally become hd2. Grub installer may add a command to rely on filesystem UUID, not on drive numbering:

search.fs_uuid 12345678-90ab-cdef-1234-567890abcdef root

or a variant with a hint where this partition is expected

search.fs_uuid 12345678-90ab-cdef-1234-567890abcdef root hd1,gpt3

to set the "root" variable.

Reply via email to