| 1 |
# SPDX-FileCopyrightText: no |
| 2 |
# SPDX-License-Identifier: CC0-1.0 |
| 3 |
# |
| 4 |
|
| 5 |
# Options for EFI system partition. |
| 6 |
# |
| 7 |
# - *mountPoint* |
| 8 |
# This setting specifies the mount point of the EFI system partition. Some |
| 9 |
# distributions (Fedora, Debian, Manjaro, etc.) use /boot/efi, others (KaOS, |
| 10 |
# etc.) use just /boot. |
| 11 |
# |
| 12 |
# Defaults to "/boot/efi", may be empty (but weird effects ensue) |
| 13 |
# - *recommendedSize* |
| 14 |
# This optional setting specifies the size of the EFI system partition. |
| 15 |
# If nothing is specified, the default size of 300MiB will be used. |
| 16 |
# When writing quantities here, M is treated as MiB, and if you really |
| 17 |
# want one-million (10^6) bytes, use MB. |
| 18 |
# - *minimumSize* |
| 19 |
# This optional setting specifies the absolute minimum size of the EFI |
| 20 |
# system partition. If nothing is specified, the *recommendedSize* |
| 21 |
# is used instead. |
| 22 |
# - *label* |
| 23 |
# This optional setting specifies the name of the EFI system partition (see |
| 24 |
# PARTLABEL; gpt only; requires KPMCore >= 4.2.0). |
| 25 |
# If nothing is specified, the partition name is left unset. |
| 26 |
# |
| 27 |
# Going below the *recommended* size is allowed, but the user will |
| 28 |
# get a warning that it might not work. Going below the *minimum* |
| 29 |
# size is not allowed and the user will be told it will not work. |
| 30 |
# |
| 31 |
# Both quantities must be at least 32MiB, this is enforced by the EFI |
| 32 |
# spec. If minimum is not specified, it defaults to the recommended |
| 33 |
# size. Distro's that allow more user latitude can set the minimum lower. |
| 34 |
efi: |
| 35 |
mountPoint: "/boot/efi" |
| 36 |
recommendedSize: 300MiB |
| 37 |
minimumSize: 32MiB |
| 38 |
label: "EFI" |
| 39 |
|
| 40 |
# Deprecated alias of efi.mountPoint |
| 41 |
# efiSystemPartition: "/boot/efi" |
| 42 |
|
| 43 |
# Deprecated alias of efi.recommendedSize |
| 44 |
# efiSystemPartitionSize: 300MiB |
| 45 |
|
| 46 |
# Deprecated alias of efi.label |
| 47 |
# efiSystemPartitionName: EFI |
| 48 |
|
| 49 |
# In autogenerated partitioning, allow the user to select a swap size? |
| 50 |
# If there is exactly one choice, no UI is presented, and the user |
| 51 |
# cannot make a choice -- this setting is used. If there is more than |
| 52 |
# one choice, a UI is presented. |
| 53 |
# |
| 54 |
# Legacy settings *neverCreateSwap* and *ensureSuspendToDisk* correspond |
| 55 |
# to values of *userSwapChoices* as follows: |
| 56 |
# - *neverCreateSwap* is true, means [none] |
| 57 |
# - *neverCreateSwap* is false, *ensureSuspendToDisk* is false, [small] |
| 58 |
# - *neverCreateSwap* is false, *ensureSuspendToDisk* is true, [suspend] |
| 59 |
# |
| 60 |
# Autogenerated swap sizes are as follows: |
| 61 |
# - *suspend*: Swap is always at least total memory size, |
| 62 |
# and up to 4GiB RAM follows the rule-of-thumb 2 * memory; |
| 63 |
# from 4GiB to 8 GiB it stays steady at 8GiB, and over 8 GiB memory |
| 64 |
# swap is the size of main memory. |
| 65 |
# - *small*: Follows the rules above, but Swap is at |
| 66 |
# most 8GiB, and no more than 10% of available disk. |
| 67 |
# In both cases, a fudge factor (usually 10% extra) is applied so that there |
| 68 |
# is some space for administrative overhead (e.g. 8 GiB swap will allocate |
| 69 |
# 8.8GiB on disk in the end). |
| 70 |
# |
| 71 |
# If *file* is enabled here, make sure to have the *fstab* module |
| 72 |
# as well (later in the exec phase) so that the swap file is |
| 73 |
# actually created. |
| 74 |
userSwapChoices: |
| 75 |
- none # Create no swap, use no swap |
| 76 |
- small # Up to 4GB |
| 77 |
- suspend # At least main memory size |
| 78 |
# - reuse # Re-use existing swap, but don't create any (unsupported right now) |
| 79 |
- file # To swap file instead of partition |
| 80 |
|
| 81 |
# This optional setting specifies the name of the swap partition (see |
| 82 |
# PARTLABEL; gpt only; requires KPMCore >= 4.2.0). |
| 83 |
# If nothing is specified, the partition name is left unset. |
| 84 |
# swapPartitionName: swap |
| 85 |
|
| 86 |
# LEGACY SETTINGS (these will generate a warning) |
| 87 |
# ensureSuspendToDisk: true |
| 88 |
# neverCreateSwap: false |
| 89 |
|
| 90 |
# This setting specifies the LUKS generation (i.e LUKS1, LUKS2) used internally by |
| 91 |
# cryptsetup when creating an encrypted partition. |
| 92 |
# |
| 93 |
# This option is set to luks1 by default, as grub doesn't support LUKS2 + Argon2id |
| 94 |
# currently. On the other hand grub does support LUKS2 with PBKDF2 and could therefore be |
| 95 |
# also set to luks2. Also there are some patches for grub and Argon2. |
| 96 |
# See: https://aur.archlinux.org/packages/grub-improved-luks2-git |
| 97 |
# |
| 98 |
# Choices: luks1, luks2 (in addition, "luks" means "luks1") |
| 99 |
# |
| 100 |
# The default is luks1 |
| 101 |
# |
| 102 |
luksGeneration: luks2 |
| 103 |
|
| 104 |
# This setting determines if encryption should be allowed when using zfs. This |
| 105 |
# setting has no effect unless zfs support is provided. |
| 106 |
# |
| 107 |
# This setting is to handle the fact that some bootloaders(such as grub) do not |
| 108 |
# support zfs encryption. |
| 109 |
# |
| 110 |
# The default is true |
| 111 |
# |
| 112 |
# allowZfsEncryption: true |
| 113 |
|
| 114 |
# Correctly draw nested (e.g. logical) partitions as such. |
| 115 |
drawNestedPartitions: false |
| 116 |
|
| 117 |
# Show/hide partition labels on manual partitioning page. |
| 118 |
alwaysShowPartitionLabels: true |
| 119 |
|
| 120 |
# Allow manual partitioning. |
| 121 |
# |
| 122 |
# When set to false, this option hides the "Manual partitioning" button, |
| 123 |
# limiting the user's choice to "Erase", "Replace" or "Alongside". |
| 124 |
# This can be useful when using a custom partition layout we don't want |
| 125 |
# the user to modify. |
| 126 |
# |
| 127 |
# If nothing is specified, manual partitioning is enabled. |
| 128 |
#allowManualPartitioning: true |
| 129 |
|
| 130 |
# Show not encrypted boot partition warning. |
| 131 |
# |
| 132 |
# When set to false, this option does not show the |
| 133 |
# "Boot partition not encrypted" warning when encrypting the |
| 134 |
# root partition but not /boot partition. |
| 135 |
# |
| 136 |
# If nothing is specified, the warning is shown. |
| 137 |
#showNotEncryptedBootMessage: true |
| 138 |
|
| 139 |
# Initial selection on the Choice page |
| 140 |
# |
| 141 |
# There are four radio buttons (in principle: erase, replace, alongside, manual), |
| 142 |
# and you can pick which of them, if any, is initially selected. For most |
| 143 |
# installers, "none" is the right choice: it makes the user pick something specific, |
| 144 |
# rather than accidentally being able to click past an important choice (in particular, |
| 145 |
# "erase" is a dangerous choice). |
| 146 |
# |
| 147 |
# The default is "none" |
| 148 |
# |
| 149 |
initialPartitioningChoice: none |
| 150 |
# |
| 151 |
# Similarly, some of the installation choices may offer a choice of swap; |
| 152 |
# the available choices depend on *userSwapChoices*, above, and this |
| 153 |
# setting can be used to pick a specific one. |
| 154 |
# |
| 155 |
# The default is "none" (no swap) if that is one of the enabled options, otherwise |
| 156 |
# one of the items from the options. |
| 157 |
initialSwapChoice: none |
| 158 |
|
| 159 |
# armInstall |
| 160 |
# |
| 161 |
# Leaves 16MB empty at the start of a drive when partitioning |
| 162 |
# where usually the u-boot loader goes |
| 163 |
# |
| 164 |
# armInstall: false |
| 165 |
|
| 166 |
# Default partition table type, used when a "erase" disk is made. |
| 167 |
# |
| 168 |
# When erasing a disk, a new partition table is created on disk. |
| 169 |
# In other cases, e.g. Replace and Alongside, as well as when using |
| 170 |
# manual partitioning, this partition table exists already on disk |
| 171 |
# and it is left unmodified. |
| 172 |
# |
| 173 |
# Possible values: gpt, msdos (or other names defined by KPMcore). |
| 174 |
# Names are case-sensitive. |
| 175 |
# |
| 176 |
# If nothing is specified, Calamares defaults to "gpt" if system is |
| 177 |
# efi or "msdos" otherwise. |
| 178 |
# |
| 179 |
# defaultPartitionTableType: msdos |
| 180 |
|
| 181 |
# Requirement for partition table type |
| 182 |
# |
| 183 |
# Restrict the installation on disks that match the type of partition |
| 184 |
# tables that are specified. |
| 185 |
# |
| 186 |
# Possible values: msdos, gpt (or other names defined by KPMcore). |
| 187 |
# Names are case-sensitive. |
| 188 |
# |
| 189 |
# If nothing is specified, Calamares defaults to both "msdos" and "gpt". |
| 190 |
# |
| 191 |
# requiredPartitionTableType: gpt |
| 192 |
# requiredPartitionTableType: |
| 193 |
# - msdos |
| 194 |
# - gpt |
| 195 |
|
| 196 |
# Default filesystem type, used when a "new" partition is made. |
| 197 |
# |
| 198 |
# When replacing a partition, the new filesystem type will be from the |
| 199 |
# defaultFileSystemType value. In other cases, e.g. Erase and Alongside, |
| 200 |
# as well as when using manual partitioning and creating a new |
| 201 |
# partition, this filesystem type is pre-selected. Note that |
| 202 |
# editing a partition in manual-creation mode will not automatically |
| 203 |
# change the filesystem type to this default value -- it is not |
| 204 |
# creating a new partition. |
| 205 |
# |
| 206 |
# Suggested values: ext2, ext3, ext4, reiser, xfs, jfs, btrfs |
| 207 |
# If nothing is specified, Calamares defaults to "ext4". |
| 208 |
# |
| 209 |
# Names are case-sensitive and defined by KPMCore. |
| 210 |
defaultFileSystemType: "ext4" |
| 211 |
|
| 212 |
# Selectable filesystem type, used when "erase" is done. |
| 213 |
# |
| 214 |
# When erasing the disk, the *defaultFileSystemType* is used (see |
| 215 |
# above), but it is also possible to give users a choice: |
| 216 |
# list suitable filesystems here. A drop-down is provided |
| 217 |
# to pick which is the filesystems will be used. |
| 218 |
# |
| 219 |
# The value *defaultFileSystemType* is added to this list (with a warning) |
| 220 |
# if not present; the default pick is the *defaultFileSystemType*. |
| 221 |
# |
| 222 |
# If not specified at all, uses *defaultFileSystemType* without a |
| 223 |
# warning (this matches traditional no-choice-available behavior best). |
| 224 |
# availableFileSystemTypes: ["ext4","f2fs"] |
| 225 |
|
| 226 |
# Per-directory filesystem restrictions. |
| 227 |
# |
| 228 |
# This optional setting specifies what filesystems the user can and cannot use |
| 229 |
# for various directories and mountpoints when using manual partitioning. |
| 230 |
# |
| 231 |
# If nothing is specified, the only restriction enforced by default is that |
| 232 |
# the EFI system partition must use the fat32 filesystem. |
| 233 |
# |
| 234 |
# Otherwise, the filesystem restrictions are defined as follow: |
| 235 |
# |
| 236 |
# directoryFilesystemRestrictions: |
| 237 |
# - directory: "any" |
| 238 |
# allowedFilesystemTypes: ["all"] |
| 239 |
# - directory: "/" |
| 240 |
# allowedFilesystemTypes: ["ext4","xfs","btrfs","jfs","f2fs"] |
| 241 |
# - mountpoint: "efi" |
| 242 |
# allowedFilesystemTypes: ["fat32"] |
| 243 |
# onlyWhenMountpoint: true |
| 244 |
# |
| 245 |
# There can be any number of mountpoints listed, each entry having the |
| 246 |
# following attributes: |
| 247 |
# - mountpoint: mountpoint's full path |
| 248 |
# or |
| 249 |
# "any" to specify a global whitelist that applies to all |
| 250 |
# mountpoints |
| 251 |
# or |
| 252 |
# "efi" to specify a whitelist specific to the EFI system |
| 253 |
# partition, wherever that partition is located |
| 254 |
# - allowedFilesystemTypes: the list of all filesystems valid for this |
| 255 |
# mountpoint. If the list contains exactly one |
| 256 |
# element, and that element is the special value |
| 257 |
# "any", all filesystem types recognized by |
| 258 |
# Calamares will be allowed. |
| 259 |
# - onlyWhenMountpoint: Whether the restriction should apply only when the |
| 260 |
# specified directory is a mountpoint. When set to |
| 261 |
# true, Calamares will only enforce the listed |
| 262 |
# restrictions when the user makes a separate partition |
| 263 |
# for this directory and assigns the mountpoint |
| 264 |
# accordingly. When set to false, Calamares will |
| 265 |
# ensure this directory uses the specified filesystem |
| 266 |
# even if the directory is part of a filesystem on a |
| 267 |
# different mountpoint. Defaults to false. |
| 268 |
|
| 269 |
# The ClearMounts job unmounts / unmaps things before partitioning. |
| 270 |
# Some special entries under /dev/mapper are excepted from this process. |
| 271 |
# The example lists the three hard-coded exceptions which always apply |
| 272 |
# (they don't need to be listed here). Add other names or wildcards (with |
| 273 |
# a trailing '*') to this list if the live-ISO has additional mounts. |
| 274 |
essentialMounts: [ "live-*", "control", "ventoy" ] |
| 275 |
|
| 276 |
# Show/hide LUKS related functionality in automated partitioning modes. |
| 277 |
# Disable this if you choose not to deploy early unlocking support in GRUB2 |
| 278 |
# and/or your distribution's initramfs solution. |
| 279 |
# |
| 280 |
# BIG FAT WARNING: |
| 281 |
# |
| 282 |
# This option is unsupported, as it cuts out a crucial security feature. |
| 283 |
# Disabling LUKS and shipping Calamares without a correctly configured GRUB2 |
| 284 |
# and initramfs is considered suboptimal use of the Calamares software. The |
| 285 |
# Calamares team will not provide user support for any potential issue that |
| 286 |
# may arise as a consequence of setting this option to false. |
| 287 |
# It is strongly recommended that system integrators put in the work to support |
| 288 |
# LUKS unlocking support in GRUB2 and initramfs/dracut/mkinitcpio/etc. |
| 289 |
# For more information on setting up GRUB2 for Calamares with LUKS, see |
| 290 |
# https://github.com/calamares/calamares/wiki/Deploy-LUKS |
| 291 |
# |
| 292 |
# If nothing is specified, LUKS is enabled in automated modes. |
| 293 |
#enableLuksAutomatedPartitioning: true |
| 294 |
|
| 295 |
# When enableLuksAutomatedPartitioning is true, this option will pre-check |
| 296 |
# encryption checkbox. This option is only usefull to help people to not forget |
| 297 |
# to cypher their disk when installing in enterprise (for exemple). |
| 298 |
#preCheckEncryption: false |
| 299 |
|
| 300 |
# LVM support |
| 301 |
# |
| 302 |
# There is only one sub-key available, *enable* (defaults to true) |
| 303 |
# which can be used to show (default) or hide the LVM buttons in the partitioning module. |
| 304 |
lvm: |
| 305 |
enable: false |
| 306 |
|
| 307 |
# Partition layout. |
| 308 |
# |
| 309 |
# This optional setting specifies a custom partition layout. |
| 310 |
# |
| 311 |
# If nothing is specified, the default partition layout is a single partition |
| 312 |
# for root that uses 100% of the space and uses the filesystem defined by |
| 313 |
# defaultFileSystemType. |
| 314 |
# |
| 315 |
# Note: the EFI system partition is prepended automatically to the layout if |
| 316 |
# needed; the swap partition is appended to the layout if enabled (selections |
| 317 |
# "small" or "suspend" in *userSwapChoices*). |
| 318 |
# |
| 319 |
# Otherwise, the partition layout is defined as follow: |
| 320 |
# |
| 321 |
# partitionLayout: |
| 322 |
# - name: "rootfs" |
| 323 |
# type: "4f68bce3-e8cd-4db1-96e7-fbcaf984b709" |
| 324 |
# filesystem: "ext4" |
| 325 |
# noEncrypt: false |
| 326 |
# mountPoint: "/" |
| 327 |
# size: 20% |
| 328 |
# minSize: 500M |
| 329 |
# maxSize: 10G |
| 330 |
# attributes: 0xffff000000000003 |
| 331 |
# - name: "home" |
| 332 |
# type: "933ac7e1-2eb4-4f13-b844-0e14e2aef915" |
| 333 |
# filesystem: "ext4" |
| 334 |
# noEncrypt: false |
| 335 |
# mountPoint: "/home" |
| 336 |
# size: 3G |
| 337 |
# minSize: 1.5G |
| 338 |
# features: |
| 339 |
# 64bit: false |
| 340 |
# casefold: true |
| 341 |
# - name: "data" |
| 342 |
# filesystem: "fat32" |
| 343 |
# mountPoint: "/data" |
| 344 |
# features: |
| 345 |
# sector-size: 4096 |
| 346 |
# sectors-per-cluster: 128 |
| 347 |
# size: 100% |
| 348 |
# |
| 349 |
# There can be any number of partitions, each entry having the following attributes: |
| 350 |
# - name: filesystem label |
| 351 |
# and |
| 352 |
# partition name (gpt only; since KPMCore 4.2.0) |
| 353 |
# - uuid: partition uuid (optional parameter; gpt only; requires KPMCore >= 4.2.0) |
| 354 |
# - type: partition type (optional parameter; gpt only; requires KPMCore >= 4.2.0) |
| 355 |
# - attributes: partition attributes (optional parameter; gpt only; requires KPMCore >= 4.2.0) |
| 356 |
# - filesystem: filesystem type (optional parameter) |
| 357 |
# - if not set at all, treat as "unformatted" |
| 358 |
# - if "unformatted", no filesystem will be created |
| 359 |
# - if "unknown" (or an unknown FS name, like "elephant") then the |
| 360 |
# default filesystem type, or the user's choice, will be applied instead |
| 361 |
# of "unknown" (e.g. the user might pick ext4, or xfs). |
| 362 |
# - noEncrypt: whether this partition is exempt from encryption if enabled (optional parameter; default is false) |
| 363 |
# - mountPoint: partition mount point (optional parameter; not mounted if unset) |
| 364 |
# - size: partition size in bytes (append 'K', 'M' or 'G' for KiB, MiB or GiB) |
| 365 |
# or |
| 366 |
# % of the available drive space if a '%' is appended to the value |
| 367 |
# - minSize: minimum partition size (optional parameter) |
| 368 |
# - maxSize: maximum partition size (optional parameter) |
| 369 |
# - features: filesystem features (optional parameter; requires KPMCore >= 4.2.0) |
| 370 |
# name: boolean or integer or string |
| 371 |
|
| 372 |
# Checking for available storage |
| 373 |
# |
| 374 |
# This overlaps with the setting of the same name in the welcome module's |
| 375 |
# requirements section. If nothing is set by the welcome module, this |
| 376 |
# value is used instead. It is still a problem if there is no required |
| 377 |
# size set at all, and the replace and resize options will not be offered |
| 378 |
# if no required size is set. |
| 379 |
# |
| 380 |
# The value is in Gibibytes (GiB). |
| 381 |
# |
| 382 |
# BIG FAT WARNING: except for OEM-phase-0 use, you should be using |
| 383 |
# the welcome module, **and** configure this value in |
| 384 |
# `welcome.conf`, not here. |
| 385 |
# requiredStorage: 3.5 |