Page MenuHomeFreeBSD

uefi.8: mention boot1.efi
ClosedPublic

Authored by kevlo on Dec 27 2020, 3:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 6, 9:23 AM
Unknown Object (File)
Nov 14 2024, 9:06 AM
Unknown Object (File)
Nov 10 2024, 1:02 PM
Unknown Object (File)
Nov 9 2024, 2:08 PM
Unknown Object (File)
Nov 9 2024, 4:15 AM
Unknown Object (File)
Oct 30 2024, 10:48 PM
Unknown Object (File)
Oct 27 2024, 6:59 AM
Unknown Object (File)
Oct 25 2024, 4:25 PM
Subscribers
None

Details

Summary

Mention boot1.efi since it is an image of 800KB FAT filesystem stored as
/EFI/BOOT/BOOTX64.EFI and it's capable of boot FreeBSD.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kevlo requested review of this revision.Dec 27 2020, 3:21 PM
kevlo created this revision.
This revision is now accepted and ready to land.Dec 27 2020, 3:45 PM
ygy added inline comments.
share/man/man8/uefi.8
127

Would it be better to rephrase

and the bootcode argument to gpart

to ->

and gpart bootcode argument / and the bootcode argument of gpart

?

129

For consistency, please remove the "." in the list.

ygy requested changes to this revision.Dec 28 2020, 1:54 AM
ygy added inline comments.
share/man/man8/uefi.8
27

This should be "December 27"

This revision now requires changes to proceed.Dec 28 2020, 1:54 AM
This revision was not accepted when it landed; it landed in state Needs Revision.Dec 28 2020, 2:32 AM
This revision was automatically updated to reflect the committed changes.

/boot/boot1.efifat is the 800 KB filesystem image. /boot/boot1.efi is the EFI bootloader application.

Also, /boot/boot1.efifat is no longer included in -CURRENT.

Also, boot1.efi is obsolete. We retain it only for special needs users: those with the bogus tiny ESP partitions and some really weird edge cases that loader.efi doesn't work for.

In D27782#621399, @imp wrote:

Also, boot1.efi is obsolete. We retain it only for special needs users: those with the bogus tiny ESP partitions and some really weird edge cases that loader.efi doesn't work for.

I have Ubuntu 20.10 and FreeBSD -current installed on my thinkpad laptop.
Linux's Grub2 is unable to boot FreeBSD directly from UEFI, I have to copy
the FreeBSD UEFI loader (/boot/boot.efi) into EFI partition.

In D27782#621399, @imp wrote:

Also, boot1.efi is obsolete. We retain it only for special needs users: those with the bogus tiny ESP partitions and some really weird edge cases that loader.efi doesn't work for.

I have Ubuntu 20.10 and FreeBSD -current installed on my thinkpad laptop.
Linux's Grub2 is unable to boot FreeBSD directly from UEFI, I have to copy
the FreeBSD UEFI loader (/boot/boot.efi) into EFI partition.

You should copy loader.efi instead of boot1.efi since boot1 use is deprecated is what I meant. We should teach grub about UFS and maybe ZFS...

share/man/man8/uefi.8
127

Neither of these things are true. Bsdinstall has been updated, and gpart bootcode isn't used with EFI because these things aren't boot blocks but a program that needs to be installed in a special place

In D27782#621560, @imp wrote:
In D27782#621399, @imp wrote:

Also, boot1.efi is obsolete. We retain it only for special needs users: those with the bogus tiny ESP partitions and some really weird edge cases that loader.efi doesn't work for.

I have Ubuntu 20.10 and FreeBSD -current installed on my thinkpad laptop.
Linux's Grub2 is unable to boot FreeBSD directly from UEFI, I have to copy
the FreeBSD UEFI loader (/boot/boot.efi) into EFI partition.

You should copy loader.efi instead of boot1.efi since boot1 use is deprecated is what I meant. We should teach grub about UFS and maybe ZFS...

I did try copying loader.efi into efi partition, but it didn't work.