On 07/30/16 23:20, Xin Li wrote:
I finally got some time to explore the UEFI boot process (kudos to
everyone who made this work!) and getting myself familiarize with the
One quick question -- Is there some technical restriction that prevents
us from merging boot1.efi and loader.efi into one binary?
No technical reason (and, in fact, when you boot from CD, that's how it
works). The reason they are different is that we traditionally don't
mount the EFI partition and so make installworld can't replace things
there. boot1.efi is a basically static piece of code that doesn't need
updates and can load loader, which does get updates, from a UFS/ZFS system.
loader.efi additionally assumes that it is started from the same
partition that contains the kernel, loader.conf, fstab, etc., which are
also generally not on the EFI partition (except in the CD case).
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"