On Thursday 19 December 2024 15:46:06 GMT Alan Mackenzie wrote:

> OK, I'm flogging a dead horse here, but the correct error message would
> have been along the lines:
> 
>    File or directory not found: /dev/sda1/EFI/whatever.

Yes, it would be reasonable to expect at least this much.  Perhaps efibootmgr 
just prints out whatever the UEFI firmware API with its limited repertoire 
returns.  :-/

When I first started using it, I occasionally forgot the loader directive 
needs to use MSDOS nomenclature conventions; e.g.

 --loader "\EFI\Gentoo\foo-x64.efi"

and I couldn't decipher from the error message what was wrong with my syntax.


> 
> Having two EFI System partitions probably is a bad idea.

I have two /efi partitions on two different disks.  The UEFI firmware probes 
block devices and scans FAT32 partitions marked with an EFI System Partition 
GPT label, then lists all .efi executables it finds in there in its boot menu.

I never had a problem I didn't cause myself (e.g. deleting the wrong kernel 
image), but when 'smart' scripts "... for your own safety and convenience" are 
let loose on your drives then all bets are off.  ;-)

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to