Bug 279622 - Change Default bsdinstall(8) Partition Sizes for Auto (ZFS) Option
Summary: Change Default bsdinstall(8) Partition Sizes for Auto (ZFS) Option
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 14.0-RELEASE
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-sysinstall (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-10 09:38 UTC by Slawomir Wojciech Wojtczak
Modified: 2026-03-28 15:53 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Slawomir Wojciech Wojtczak 2024-06-10 09:38:52 UTC
Hi,

currently the default partitions layout/sizes to 'Auto (ZFS)' option is more or less:

- 260M efi
- 512K freebsd-boot
-   2G freebsd-swap
- REST freebsd-zfs

I would like to create a proposal for change - to make it like that:

- 260M efi
- 512K freebsd-boot
-   2G freebsd-swap
-  16G freebsd-zfs
- FREE (free space)

All the rest of (free space) is left untouched.

The reason for that proposal is that I often get questions on how to make FreeBSD to just use 'some' part of the disk for the install and how to make it do it in the installer ... and its not possible to my knowledge.

Example use:

Someone wants its system to boot automatically w/o any encryption and needs GELI partition that it will be attached manually via password sometime after the boot.

It is still possible to do that creating another ZFS dataset and using ZFS encryption - but some people prefer 'full' encryption including dataset names etc.

IMHO 16 GB for FreeBSD systems seems like more the enough - my current 'desktop' with 1500+ packages installed takes 12 GB ... and most people do not have that much stuff installed.

Regards,
vermaden
Comment 1 Slawomir Wojciech Wojtczak 2024-07-06 23:27:09 UTC
What do You think about that?
Comment 2 Slawomir Wojciech Wojtczak 2024-11-10 20:05:53 UTC
Solved by using VM-IMAGE to do the install:
- https://vermaden.wordpress.com/2024/11/10/install-freebsd-with-one-command/
Comment 3 devnull freebsd_committer freebsd_triage 2024-11-15 23:44:52 UTC
(In reply to Slawomir Wojciech Wojtczak from comment #0)

> -  16G freebsd-zfs
> - FREE (free space)

Users would ask how to grow the pool.
Comment 4 Slawomir Wojciech Wojtczak 2024-11-16 03:40:56 UTC
I do not want to FORCE that in the installer.

I would like to have OPTION to do that.

So - for new users that does not have a clue how to expand ZFS filesystem - let them have by default cover for entire device.

For users that know what they are doing - an option to LIMIT the FreeBSD 'system' partition up to the desired size.

Its already implemented for SWAP with 2GB default - I do not see ANY reason to NOT have additional option for the FreeBSD 'system' partition size with 'fill to the end of device' as default.
Comment 5 Slawomir Wojciech Wojtczak 2026-01-16 13:22:19 UTC
No change since ... should I close that one as 'unwanted'?
Comment 6 Michael Osipov freebsd_committer freebsd_triage 2026-03-28 15:53:09 UTC
(In reply to Slawomir Wojciech Wojtczak from comment #5)

Someone has to implement it after all...