Page MenuHomeFreeBSD

handbook: The freebsd-boot 512KB limit is for legacy BIOS
ClosedPublic

Authored by emaste on Aug 5 2025, 2:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 14, 3:13 PM
Unknown Object (File)
Tue, Oct 14, 3:13 PM
Unknown Object (File)
Tue, Oct 14, 3:13 PM
Unknown Object (File)
Tue, Oct 14, 1:44 AM
Unknown Object (File)
Fri, Oct 10, 8:40 PM
Unknown Object (File)
Thu, Oct 9, 8:15 PM
Unknown Object (File)
Wed, Oct 8, 9:06 PM
Unknown Object (File)
Wed, Oct 8, 2:32 PM
Subscribers
None

Details

Summary

Handbook partitioning doc has no reference to EFI right now, and says that the freebsd-boot partition should not be bigger than 512KB. Clarify that this is the partition used for legacy BIOS booting to avoid confusion about EFI's default 200MB partition.

Ref: https://www.reddit.com/r/freebsd/comments/1mia9z6/boot_partition_over_512kb_works_fine/

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste requested review of this revision.Aug 5 2025, 2:35 PM
emaste updated this revision to Diff 159784.
emaste created this revision.
emaste added reviewers: imp, Installer.

Explicitly mention that EFI boot does not have an issue

So you *CAN* have boot partitions larger than 512k. We just don't read more than 512k bytes.

documentation/content/en/books/handbook/bsdinstall/_index.adoc
637

While here, s/current boot code/boot code/. There's no chance we'll ever fix it to be anything significantly larger. Otherwise it's fine.

documentation/content/en/books/handbook/bsdinstall/_index.adoc
637

Or how about "... for BIOS booting should be no larger than 512K due to legacy boot code limitations."?

imp added inline comments.
documentation/content/en/books/handbook/bsdinstall/_index.adoc
637

even better.

This revision is now accepted and ready to land.Aug 5 2025, 4:16 PM