File size: 2,169 Bytes
99d3593
 
83606d3
99d3593
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
  "version": 1,
  "_comment": "Golden decision table for the #42 OS installer guardrail. Single source of truth for the eval, the guardrail, and the trace matrix.",
  "constraints": {
    "esp_mib_min": 512,
    "fs_allowlist_root": ["ext4", "btrfs", "xfs", "f2fs"],
    "fs_esp": "vfat",
    "mounts_allowed": ["/", "/boot", "/boot/efi", "/home", "swap"],
    "install_modes": ["erase", "alongside", "manual"],
    "encryption_modes": ["none", "luks"],
    "swap_mib_per_gib_ram_hib": 1024
  },
  "profiles": [
    {
      "id": "nvme-500-16g-uefi",
      "firmware": "uefi",
      "ram_gb": 16,
      "hibernation": true,
      "scheme": "gpt",
      "mounts": ["/", "/home", "swap"],
      "root_fs": "ext4",
      "swap_gb_min": 16,
      "esp_mib_min": 512,
      "bootloader_target": "internal",
      "encryption": "optional_luks"
    },
    {
      "id": "nvme-1tb-32g-uefi-dualboot",
      "firmware": "uefi",
      "ram_gb": 32,
      "hibernation": true,
      "scheme": "gpt",
      "mounts": ["/", "/home", "swap"],
      "root_fs": "ext4_or_btrfs",
      "swap_gb_min": 32,
      "esp_mib_min": 512,
      "bootloader_target": "internal_separate_esp",
      "encryption": "optional"
    },
    {
      "id": "hdd-120-4g-bios",
      "firmware": "bios",
      "ram_gb": 4,
      "hibernation": false,
      "scheme": "mbr",
      "mounts": ["/", "swap"],
      "root_fs": "ext4",
      "swap_gb_min": 4,
      "esp_mib_min": null,
      "bootloader_target": "bios_disk",
      "encryption": "no"
    },
    {
      "id": "external-usb-uefi",
      "firmware": "uefi",
      "ram_gb": 16,
      "hibernation": false,
      "scheme": "gpt",
      "mounts": ["/", "/boot/efi", "swap"],
      "root_fs": "ext4",
      "swap_gb_min": 8,
      "esp_mib_min": 512,
      "bootloader_target": "usb_disk",
      "encryption": "no"
    },
    {
      "id": "laptop-8g-kde-nohib",
      "firmware": "uefi",
      "ram_gb": 8,
      "hibernation": false,
      "scheme": "gpt",
      "mounts": ["/", "swap"],
      "root_fs": "ext4",
      "swap_gb_min": 8,
      "esp_mib_min": 512,
      "bootloader_target": "internal",
      "encryption": "optional"
    }
  ]
}