Page MenuHomeFreeBSD

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

Authored by emaste on Tue, Aug 5, 2:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Aug 16, 7:44 AM
Unknown Object (File)
Sat, Aug 16, 6:40 AM
Unknown Object (File)
Thu, Aug 14, 11:51 AM
Unknown Object (File)
Tue, Aug 12, 8:11 PM
Unknown Object (File)
Sat, Aug 9, 6:41 AM
Unknown Object (File)
Sat, Aug 9, 6:39 AM
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.Tue, Aug 5, 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.Tue, Aug 5, 4:16 PM