Red Hat Bugzilla – Bug 1255945
Missing / home from list of mandatory Directories
Last modified: 2016-01-21 09:06:50 EST
Description of problem:
B.3.3. How Many Partitions?
Unless you have a reason for doing otherwise, you should at least create the following partitions: swap, /boot/, and / (root).
See Section 220.127.116.11, “Recommended Partitioning Scheme” for more information about the recommended partitioning scheme.
Version-Release number of selected component (if applicable):
It is not /boot/ but /boot and omitted was /home
If /home is not specified, it will be created within /.
No mention was made about /var and /opt
or a user partition /mypartition (for example)
Following the link at the bottom of the section you cited will lead you to https://docs.fedoraproject.org/en-US/Fedora/22/html/Installation_Guide/sect-installation-gui-manual-partitioning-recommended.html - the detailed recommendation. Omissions are deliberate.
Actually only /boot, and / are mandatory.
If /home is omitted, it will/may be included within / with some unspecified default size. This option is taken if automatic repartition of space is chosen and the partition method is standard.
If swap is omitted, two options have been seen to occur.
No assignment for swap is placed within fstab.
if with btrfs as the file system space for swap is allocated, but not assigned and it does not appear within fstab
no swap partition at all is created.
with / and /home being adjacent, anaconda merges the two to a single partition.
There is no documentation regarding rules when btrfs is chosen in lieu of lvm.
Test it yourself to validate my points.
If /opt and /var are chosen as well, these are recognized by anaconda and the space will be readjusted to accomodate these two extra directories.
What is not well documented are the options automatic/standard, lvm, btrfs xfs, etc. The documentation should include a matrix to explain the decisions taken for the lvm, btrfs, and manual configurations.
Missing is what one does when more than one disk is chosen along with the various options.
For example, if I specify no swap on the single disk that is where Fedora 22 will be assigned, but I include a swap from a second disk, depending on automatic/manual configuration options, I may get two swap files instead of one.
What are the rules?
I changed the wording in the section to indicate that only / and /boot are required; neither swap nor /home are *technically* necessary. I also added a mention of /boot/efi, biosboot and PRePBoot, since one of those might be necessary for a successful installation too, depending on the hardware.
It's not necessary to mention swap in this section, since it's recommended (and described as such in the Recommended Partitioning Scheme section) but not mandatory; same goes for /var, /opt, /usr and anything else - if someone insists on making those separate, they probably know what they're doing so they don't need it explained. LVM/Btrfs doesn't need to be mentioned either, this appendix is about *standard partitions*.
You can see the changes I made in https://da.gd/FTF5 .
Released, visible here: https://docs.fedoraproject.org/en-US/Fedora/23/html/Installation_Guide/sect-disk-partitions-how-many.html