On Wednesday, 18 September 2019 17:26:25 BST Peter Humphrey wrote:
> On Wednesday, 18 September 2019 14:20:11 BST Mick wrote:

> > I think --label can only be specified when you --create a new entry in the
> > UEFI boot menu.  If there is an entry already present, I think you cannot
> > modify it.  When I get things wrong at menu entry creation time, I delete
> > the whole entry and reconstitute it afresh.
> 
> Ah, now why would the man page not say this?

Indeed.  I could be wrong how the 'efibootmgr --bootnum' is meant to work, but 
I share your experience with it, namely it doesn't seem to work with '--
label', but works with '--delete-bootnum'.


> > Hmm ... I wonder what bootctl reads to populate its "title:" field.  Would
> > you care to share the output of:
> > 
> > efibootmgr -v
> 
> Taken just now, at 16:25 GMT:
> 
> # efibootmgr -v
> BootCurrent: 0000
> Timeout: 1 seconds
> BootOrder: 0000,0001,0002
> Boot0000* EFI Stub      HD(1,GPT,95b0a3f6-eae2-445c-
> b098-3c8174588948,0x800,0x7f800)/File(\EFI\BOOT\BOOTX64.EFI)

Boot0000 above is the first menu entry.

"EFI Stub" is the label of this entry.

Thereafter you can see the path of the bootable entry:

HD - it is a hard drive
1  - on the first partition
GTP - using a GPT partitioning schema
95b0a3f6-* - the UUID of the partition (not the fs)
0x800,0x7f800 - start-end of the partition in hex
File - the filesystem path of the bootable image.


> Boot0001* CD/DVD Drive  BBS(CDROM,,0x0)..GO..NO........o.T.S.S.T.c.o.r.p.
> .C.D.D.V.D.W. .S.N.-.
> 2.0.8.F.B....................A...........................>..Gd-.;.A..MQ..L.
> 1.S.3.2.Y.6.G.B.0.C.B.0.G.K. . . . . . ........BO

Boot0001 is the second boot entry and is a CD/DVD drive.  It seems you have a 
CD in it, without it you would probably see something like this:

Boot0001* UEFI:CD/DVD Drive     BBS(129,,0x0)


> Boot0002* Hard Drive    BBS(HD,,0x0)..GO..NO........o.C.T.1.0.0.0.B.X.
> 1.0.0.S.S.D.
> 1....................A...........................>..Gd-.;.A..MQ..L.
> 5.1.4.0.0.F.2.0.8.3.4.6. . . . . . . . ........BO..NO........o.C.T.
> 1.0.0.0.B.X.1.0.0.S.S.D.
> 1....................A...........................>..Gd-.;.A..MQ..L.
> 5.1.4.0.0.F.2.0.8.3.F.8. . . . . . . .
> ........BO..NO..........S.A.M.S.U.N.G. .M.Z.V.P.V.2.5.6.H.D.G.L.-.
> 0.0.0.0.0....................A.......................................J..Gd-.
> ;.A..MQ..L.S.A.M.S.U.N.G. .M.Z.V.P.V.2.5.6.H.D.G.L.-.0.0.0.0.0........BO

Boot0002 is the final entry by the looks of it refers to a Samsung SSD.


> Is that the sort of thing you were expecting? I can't say it means much to
> me.

Yes, from what I see above there is only one label, "EFI Stub", corresponding 
to the first bootable entry of the menu.  You can contact me off-list if you 
want help stringing the efibootmgr syntax, to create/delete entries in your 
boot menu.  It may help future recovery exercises of your ESP in the future, 
without having to recreate partition tables, partitions and filesystems.
-- 
Regards,

Mick

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

Reply via email to