On Wednesday, 18 September 2019 14:20:11 BST Mick wrote: > On Wednesday, 18 September 2019 09:43:11 BST Peter Humphrey wrote: > > On Tuesday, 17 September 2019 07:23:10 BST Peter Humphrey wrote: > > > > Well, it seems to be working now - mostly. > > > > The fix was to write a new gpt label, create all the partitions and build > > a new system: no use of earlier packages. User data came from backups. > > This sounds too drastic a repair procedure, unless the GPT table entries > themselves were corrupted, but ... whatever works. :-)
Yes, it is, but by this time I had no confidence in my ability to patch over the holes, nor in the system doing as I expected. It seemed time for drastic measures. > > Meanwhile, I used bootctl and efibootmgr to create and delete boot entries > > in the efi data until I finished up with this arrangement: > > > > # bootctl > > systemd-boot not installed in ESP. <---- Note 1 > > > > System: > > Firmware: UEFI 2.31 (American Megatrends 5.09) > > Secure Boot: disabled > > Setup Mode: user > > If you are not using systemd-boot, is bootctl of any use vis-à-vis the > efibootmgr command? It's simpler to operate, I think, and it's been good enough for me up to now. --->8 > Perhaps bootctl is now meant to operate (without breaking things) with > systemd-boot fully installed and configured. If you're not using > systemd-boot it tries to be too clever by half. But I haven't seen any version changes in anything relevant to this. > > Note 2: I've tried to change this with 'efibootmgr -b 00 -L "Gentoo > Linux"', > > > to no avail. It does nothing I can see. > > 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? > > Note 3: This title comes from the file named two lines later; it has > nothing to do with the Title of Note 2. > > 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) 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 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 Is that the sort of thing you were expecting? I can't say it means much to me. -- Regards, Peter.