On Wed, Feb 06, 2019 at 07:53:45PM +0000, Ken Moffat via lfs-dev wrote:
> On Wed, Feb 06, 2019 at 12:17:50AM -0600, Bruce Dubbs via lfs-dev wrote:
> > On 02/05/2019 11:27 PM, Ken Moffat via lfs-dev wrote:
> > > On Tue, Feb 05, 2019 at 10:03:45PM -0600, Bruce Dubbs via lfs-dev wrote:
> > 
> > > > You may need to go into the firmware to get it to boot via the USB 
> > > > stick.
> > > > 
> > > 
> > > Yes - UEFI seems to be an order of magnitude worse than BIOSes.
> > 
> > It has been my experience that on most UEFI firmware you can turn off secure
> > boot.  Then if the disk does not have an efi partition, it boots just like
> > the old BIOS based firmware.
> > 
> >   -- Bruce
> 
> Yes, that is what I've been doing until now.  But, at least
> initially, I want to keep a minimal Win10 in case I need to update
> the firmware (the prospective machine will be some sort of Ryzen2).
> 
One or two further points on this: the laptop I got (Acer) does NOT
appear to permit legacy boot (trying to change the UEFI entry gives
a message that nothing will change until rebooted), and it also has
a strong tendency to act as if it is alive, and think "I'm sure he
wants to boot windows" - when using a stick, with the UEFI set to
prefer that, from time to time windows booted - possibly after
powering off when a stick had problems and looped trying to start
something related to LVM2 (Hello, Arch, and SystemRescueCD) - and
no, that was not apparently related to a lack of entropy (or else it
needed a *lot* more than thumping the keyboard provided).

Anyway, after finding that Manjaro could boot without hangs (and
accepts the bootargs this one needs to fix IO_APIC[4] and [5]) I
did the reading about that distro and installed it.  Rebooted - to
windows.

So, the second point of this post - on several brands of laptop the
easiest way to fix that after installing an EFI version of grub is
to go into the UEFI: turn secure boot 'on' (yes, really), find a
setting to trust a firmware file (on my machine, that is on a
different tab), navigate to the file (for mine it was below
'Manjaro') until you get to a grub*.efi file (grubx64.efi for mine,
I think), then trust that.  Go back to the secure boot settings and
turn SB off.  At that point I saved and booted - to windows, again.

Retry - on the list of bootable devices, something with a name like
'Boot File 0' now existed: promote that above windows.  Save.  Now
this (Manjaro grub) boots, with an option for windows.

It seems that although UEFI allows a range of bootable firmwares, it
will begin at the highest priority and only try the next if that one
fails to boot.

Maybe this will be useful to somebody else in the future, maybe not.

But at last the machine is booting linux, so getting a bit closer to
LFS.  Whether I will ever attempt to follow the UEFI hint and
install my own grub remains to be seen : for the moment the
installed Manjaro will be my rescue option, not sure what I'd do if
that got trashed (reinstall it, I suppose, but possibly trashing all
of /boot/efi).

Summary: I hate UEFI even more! ;-)

ĸen
-- 
The beauty of reading a page of de Selby is that it leads one
inescapably to the conclusion that one is not, of all nincompoops,
the greates.            -- du Garbandier
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to