UEFI boot broken in 13?

Tomoaki AOKI junchoon at dec.sakura.ne.jp
Tue Jun 4 13:11:52 UTC 2019


Hi.

Try attached patch for stand/efi/boot1/boot1.c.
This partially reverts r347193 and works at least for me.

Without this, boot1.efi (bootx64.efi) forcibly boot from
first physical HDD/SSD, even if forcibly booted from other
physical drive via BIOS (UEFI firmware) menu.

Remaining parts of r347193 and following some commits does not
affect.

 *Hand-crafted reverse patch from commit mail [1].
  Reverting whole r347193 is fine, too.

[1]
https://lists.freebsd.org/pipermail/svn-src-head/2019-May/124677.html


On Mon, 3 Jun 2019 18:38:47 -0700 Johannes Lundberg
<johalun at FreeBSD.org> wrote:

> Hi
> 
> I'm using poudriere-image to create usb memstick images. The images are
> identical except OS version. They are tested on a laptop with 13-CURRENT
> installed as only OS, having UEFI boot and root on zfs.
> 
> 12-STABLE memstick boots fine with in UEFI mode.
> 
> With 13-CURRENT memstick it boots the installed FreeBSD from the SSD
> instead (I choose USB UEFI OS in boot menu but it silently boots from
> the SSD instead). If I switch to legacy boot, the memstick image boots fine.
> 
> Any ideas?
> 
> /Johannes
> 
> 
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"


-- 
Tomoaki AOKI    <junchoon at dec.sakura.ne.jp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: REV_r347193-2_Reach_over_and_pull_in_devpath.c_from_libefi-stand_efi_boot1_boot1.c.diff
Type: text/x-diff
Size: 2414 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20190604/4ddbdcad/attachment.diff>


More information about the freebsd-current mailing list