Page MenuHomeFreeBSD

partedit: make minimum FreeBSD install size just under 1G
ClosedPublic

Authored by emaste on Mar 2 2023, 11:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 11, 2:05 AM
Unknown Object (File)
Sat, Oct 11, 12:19 AM
Unknown Object (File)
Sun, Sep 28, 3:48 AM
Unknown Object (File)
Sep 11 2025, 8:04 PM
Unknown Object (File)
Sep 11 2025, 6:24 PM
Unknown Object (File)
Sep 10 2025, 11:47 PM
Unknown Object (File)
Aug 26 2025, 4:38 PM
Unknown Object (File)
Aug 5 2025, 12:35 AM
Subscribers

Details

Summary
1G is a convenient disk image size for testing.  It is also the
installer's minimum size, but the minimum applies to the partition not
the whole disk.  When testing with a 1G image this resulted in the
counterintuitive error "There is not enough free space on <disk> to
install FreeBSD (1.0 GB free, 1.0 GB required)."

Reduce the installer's minimum required by 1M to allow this case.

Sponsored by:   The FreeBSD Foundation

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste created this revision.
emaste added reviewers: brd, nwhitehorn.

{F57270726}

This revision is now accepted and ready to land.Mar 6 2023, 1:21 AM