Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Mar 2019 02:45:22 +0000
From:      James Wright <james.wright@jigsawdezign.com>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Adding a new efi-update-loader script: need help understanding Makefile.inc1 for "make installworld"
Message-ID:  <6fcddcfe-8d0e-d493-7a1b-2ba093dacabb@jigsawdezign.com>
In-Reply-To: <4cdd585b-2469-fb19-9ac6-5d0af7b9f607@bluestop.org>
References:  <642fed43-0535-9ae3-6f01-a943650cd511@bluestop.org> <20190324090103.GO1923@kib.kiev.ua> <e6695237-6a22-3ff0-b113-9efeee05a51a@bluestop.org> <20190325000241.GS1923@kib.kiev.ua> <6badde15-d8f4-c4ea-2061-0d3c80c6e82a@bluestop.org> <CANCZdfrNSd_eoa933j-ouCHgURqCHCqtv1MQ2PYT1dvAzF0uTQ@mail.gmail.com> <4cdd585b-2469-fb19-9ac6-5d0af7b9f607@bluestop.org>

next in thread | previous in thread | raw e-mail | index | archive | help

FYI... I run a quad boot (OSX, FreeBSD, Debian, Win10) setup on a 
MacbookAir using rEFInd. Nothing annoys me more than the OSX, Linux, and 
Win10 updates that decide without warning to replace the boot loader on 
the ESP. FreeBSD was the only OS that doesn't do this (I'm fine with 
updating /efi/freebsd/loader.efi manually), please could we not mess 
about replacing boot loaders on the ESP unless explicitly asked to?


On 25/03/2019 02:30, Rebecca Cran via freebsd-hackers wrote:
> On 3/24/19 7:34 PM, Warner Losh wrote:
>
>>
>> Right. We need a standard location (that maybe can be overridden, 
>> like you
>> can with /boot, if you really want), and that's likely the first 
>> order of
>> business. I don't think we should be second guessing, though. And we
>> shouldn't be touching \efi\boot anything unless specifically 
>> instructed to
>> do so. I'm deeply uncomfortable with guessing whether or not to do
>> something...
>
>
> I'd be wary of *not* touching \efi\boot, since both Microsoft and 
> Linux installs \efi\boot\bootx64.efi. And with desktop systems often 
> not having an UEFI Shell built in and no option to browse for a boot 
> loader from the BIOS, if the FreeBSD boot entry gets lost somehow 
> they're stuck. I discovered recently that rEFInd at least knows to 
> look for \efi\freebsd\loader.efi, but otherwise recovery could be 
> pretty tricky for people who aren't familiar with UEFI. Perhaps adding 
> an option to the efi-update-loader script to search for and list 
> potential ESPs could help, along with good documentation of efibootmgr 
> etc.
>
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6fcddcfe-8d0e-d493-7a1b-2ba093dacabb>