Re: [gentoo-user] UEFI booting again - FIXED

2020-10-20 Thread Peter Humphrey
On Monday, 19 October 2020 18:08:53 -00 Michael wrote:

> However, I don't think anyone would argue against empirical repeatable
> outcomes.  :-)

:)

-- 
Regards,
Peter.






Re: [gentoo-user] UEFI booting again - FIXED

2020-10-19 Thread Michael
On Monday, 19 October 2020 17:10:57 BST Peter Humphrey wrote:
> On Monday, 19 October 2020 14:08:05 -00 Michael wrote:
> > Are you saying calling 'efibootmgr -v' lists a different UEFI boot menu?
> 
> No, I'm saying that I appear to be able to create a BIOS entry using
> efibootmgr, but when I reboot and enter BIOS setup, the entry often isn't
> there. Or if it is, either the kernel won't boot, or it does but the
> resulting system is incomplete.
> 
> When I bought this system I failed entirely to install grub - I followed the
> instructions slavishly and received much help from those more knowledgeable
> on this list at the time, but never got the system to boot. Then, groping
> about trying to understand efibootmgr, bootctl and UEFI generally, I may
> have done some combination of things that prevented those tools from ever
> working again. For me. On this machine.
> 
> So the summary is: I can preserve the ESP using Windows's system image
> creation and recovery tool, but not with those two Linux tools.
> 
> I've wasted several months wrestling with this, and I've finished up with
> what I've described.

I see.  What you describe is interesting, because the UEFI firmware GUI, 
efibootmgr, and MSWindows are all meant to be accessing the *same* database of 
editable entries on the firmware, using the UEFI API.  I have not looked into 
bootctl more than once to know what it does with any clarity.

However, I don't think anyone would argue against empirical repeatable 
outcomes.  :-)

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


Re: [gentoo-user] UEFI booting again - FIXED

2020-10-19 Thread Peter Humphrey
On Monday, 19 October 2020 14:08:05 -00 Michael wrote:

> Are you saying calling 'efibootmgr -v' lists a different UEFI boot menu? 

No, I'm saying that I appear to be able to create a BIOS entry using 
efibootmgr, but when I reboot and enter BIOS setup, the entry often isn't 
there. Or if it is, either the kernel won't boot, or it does but the resulting 
system is incomplete.

When I bought this system I failed entirely to install grub - I followed the 
instructions slavishly and received much help from those more knowledgeable on 
this list at the time, but never got the system to boot. Then, groping about 
trying to understand efibootmgr, bootctl and UEFI generally, I may have done 
some combination of things that prevented those tools from ever working again. 
For me. On this machine.

So the summary is: I can preserve the ESP using Windows's system image 
creation and recovery tool, but not with those two Linux tools.

I've wasted several months wrestling with this, and I've finished up with what 
I've described.

-- 
Regards,
Peter.






Re: [gentoo-user] UEFI booting again - FIXED

2020-10-19 Thread Michael
On Monday, 19 October 2020 13:08:35 BST Peter Humphrey wrote:
> On Sunday, 11 October 2020 23:21:49 -00 pe...@prh.myzen.co.uk wrote:
> > Can anyone please tell me precisely where 'efibootmgr -c ...' writes a
> > boot
> > record, or whatever it's called? My machine seems unable to store what I
> > give it, and I suspect that the BIOS ROM has failed. Big expense if so.
> 
> I have a bootable system again.
> 
> In one line: I need Windows as part of my system maintenance.
> 
> Yes, I did mean to write that. Let me explain.
> 
> Every attempt of mine to write bootable images failed. I still don't know
> why, but while I was trying everything I could think of, I ran Windows (on
> /dev/ sdb) to restore a system image (from /dev/sda; /root is on
> /dev/nvme0n1). On rebooting, lo! and behold! there was a boot menu! It was
> an old one, dating from when I created the system image in Windows, but
> after booting from USB and adding the right kernels and /boot/loader/
> structure, and running 'bootclt update', a reboot showed me the proper boot
> menu.
> 
> A kernel upgrade arrived today, so after installing it and updating the
> /boot/ loader config, I ran Windows again to create a new system image.
> 
> So on my machine, efibootmgr is no use. I have to use bootctl from
> systemd-boot to manage my bootable images. And Windows to preserve them.
> 
> I've attached a shot of the boot menu I've been referring to in this thread.
> It's not pretty, but there's only so much I can do with a curved screen and
> a hand-held phone.

I am confused ...

Are you saying calling 'efibootmgr -v' lists a different UEFI boot menu?  o_O


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