Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Sep 2024 10:54:28 +0900
From:      Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
To:        void <void@f-m.fm>
Cc:        freebsd-current@freebsd.org, Warner Losh <imp@bsdimp.com>
Subject:   Re: Loader needs to be updated message
Message-ID:  <20240908105428.5913d8310f2fc39b08da6ee8@dec.sakura.ne.jp>
In-Reply-To: <Ztz3Tq-uq7RSbclW@int21h>
References:  <9494862A-E445-43AC-8887-FACC84A74435.ref@yahoo.com> <9494862A-E445-43AC-8887-FACC84A74435@yahoo.com> <ZtyM5OkDRntXe1Ru@int21h> <CANCZdfoFCZJzQJJDqk8WWSUc7LKj=JjiCUsD=t=BRnYQwCEYXg@mail.gmail.com> <ZtyaOO2a3L84tAuT@int21h> <CANCZdfocFaqYLKU0zdPuHQaAK_CACad7A8CK0bm3B5=d2RVXMQ@mail.gmail.com> <20240908092302.caa9f655693f71e03ee6b030@dec.sakura.ne.jp> <Ztz3Tq-uq7RSbclW@int21h>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 8 Sep 2024 02:01:02 +0100
void <void@f-m.fm> wrote:

> On Sun, Sep 08, 2024 at 09:23:02AM +0900, Tomoaki AOKI wrote:
> 
> >Can it be in reverse?
> >
> >I've not read (even if it's already provided somewhere or attached) the
> >vmrun.sh script, but isn't there any possibility that it somehow
> >uses loader on bare-metal (regardless on /boot/ or on ESP) to kick the
> >guests?
> >If so, version mismatch happenes, but newer kicks older.
> >But yes, usually it is not at all the problem, as newer loader codes in
> >same interpreter (lua/4th) is keeping backward compatibilities, I guess.
> >
> >Another case is that void already stated that
> >
> >>>In such a case, you might need something like:
> >>>
> >>># cp -a /boot/loader.efi /boot/efi/efi/BOOT/bootx64.efi
> >>
> >>and the error is gone!!! TYVM
> >
> >in another mail in this thread [1].
> 
> I should have made it clearer, in that other case, i did 
> # cp -a /boot/loader.efi /boot/efi/efi/BOOT/bootaa64.efi
> as it was an arm64 context
> 
> >This could mean that efi/freebsd/loader.efi in ESP is not called by
> >the UEFI firmware and efi/BOOT/efi/bootx64.efi is used instead.
> 
> In *this* amd64 case, neither the -current server running bhyve
> nor the 13.4-stable guest have bootx64.efi present.
> 
> /boot/efi is empty on both the server and the guest.

If not automounted, you can mount ESP manually as msdosfs there, at
least for bare-metal host. IIUC, recent installation by bsdinstall
creates fstab entry for it by default.

-- 
Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20240908105428.5913d8310f2fc39b08da6ee8>