Port-amd64 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: UEFI boot
Perhaps not entirely irrelevant - I save myself some trouble with EFI
boot by installing rEFInd. Works well on my HP Envy 17 laptop
(although its boot manager does essentially the same, slightly less
convenient). It lets me easily boot four operating systems from the
two internal drives (one being NetBSD-current amd64), plus any other
from external USB disks.
On Mon, 17 Sep 2018 at 11:43, Patrick Welche <prlw1%cam.ac.uk@localhost> wrote:
>
> On Thu, Sep 13, 2018 at 04:40:19PM +0100, Patrick Welche wrote:
> > Where does firmware? (BIOS?) look for the "boot blocks"?
> >
> > Story so far: I installed NetBSD on a zotac, using /usr/mdec/*.efi.
> > "BIOS" set to "UEFI only", and all was well.
> >
> > I then stupidly fought with ubuntu, as it seems to have a "nice" feature
> > that you can only install as UEFI if you installed from UEFI media. (For
> > NetBSD, I PXE booted => legacy, and then happily installed UEFI.)
> >
> > After installation, boot went straight to the ubuntu menu.
> >
> > I didn't get on with ubuntu 18, so thought I would get back to NetBSD-only
> > with
> >
> > mount /dev/dk0 /mnt
> > /mnt/EFI/boot /mnt/EFI/uboot
> > mkdir /mnt/EFI/boot
> > cp /usr/mdec/*.efi /mnt/EFI/boot
> >
> > When I reboot, I *still* get the ubuntu menu. I thought that changing
> > bootx64.efi back to the NetBSD one would be sufficient. Is that not
> > the way it works?
>
> After a massive hint from Bob Nestor - thanks! - I see from the ubuntu
> side:
>
> $ efibootmgr -v
> BootCurrent: 0008
> Timeout: 1 seconds
> BootOrder: 0008,0000
> Boot0000* Windows Boot Manager VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...a................
> Boot0008* ubuntu HD(1,GPT,38a65f87-f860-440c-b8d9-43f1758b730d,0x28,0x80000)/File(\EFI\UBUNTU\SHIMX64.EFI)
>
> so bootx64.efi doesn't get a look-in!
>
> Cheers,
>
> Patrick
--
----
Home |
Main Index |
Thread Index |
Old Index