From d7eb35f4ee49cbb8fe065db445a84000883d69b5 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Wed, 22 Nov 2023 22:24:29 +0100 Subject: Nuking docs to allow for redirect (ouff) (#2245) --- docs/cli_parameters/config/config_options.csv | 24 --- docs/cli_parameters/config/custom_commands.rst | 22 --- docs/cli_parameters/config/disk_config.rst | 245 ------------------------- docs/cli_parameters/config/disk_encryption.rst | 19 -- docs/cli_parameters/config/manual_options.csv | 4 - 5 files changed, 314 deletions(-) delete mode 100644 docs/cli_parameters/config/config_options.csv delete mode 100644 docs/cli_parameters/config/custom_commands.rst delete mode 100644 docs/cli_parameters/config/disk_config.rst delete mode 100644 docs/cli_parameters/config/disk_encryption.rst delete mode 100644 docs/cli_parameters/config/manual_options.csv (limited to 'docs/cli_parameters/config') diff --git a/docs/cli_parameters/config/config_options.csv b/docs/cli_parameters/config/config_options.csv deleted file mode 100644 index 1861b1e1..00000000 --- a/docs/cli_parameters/config/config_options.csv +++ /dev/null @@ -1,24 +0,0 @@ -Key,Value(s),Description,Required -additional-repositories,[ `multilib `_!, `testing `_ ],Enables one or more of the testing and multilib repositories before proceeding with installation,No -archinstall-language,`lang `__,Sets the TUI language used *(make sure to use the ``lang`` value not the ``abbr``)*,No -audio_config,`pipewire `_!, `pulseaudio `_,Audioserver to be installed,No -bootloader,`Systemd-boot `_!, `grub `_,Bootloader to be installed *(grub being mandatory on BIOS machines)*,Yes -debug,``true``!, ``false``,Enables debug output,No -disk_config,*Read more under* :ref:`disk config`,Contains the desired disk setup to be used during installation,No -disk_encryption,*Read more about under* :ref:`disk encryption`,Parameters for disk encryption applied ontop of ``disk_config``,No -hostname,``str``,A string definining your machines hostname on the network *(defaults to ``archinstall``)*,No -kernels,[ `linux `_!, `linux-hardened `_!, `linux-lts `_!, `linux-rt `_!, `linux-rt-lts `_!, `linux-zen `_ ],Defines which kernels should be installed and setup in the boot loader options,Yes -custom-commands,*Read more under* :ref:`custom commands`,Custom commands that will be run post-install chrooted inside the installed system,No -locale_config,{kb_layout: `lang `__!, sys_enc: `Character encoding `_!, sys_lang: `locale `_},Defines the keyboard key map!, system encoding and system locale,No -mirror_config,{custom_mirrors: [ https://... ]!, mirror_regions: { "Worldwide": [ "https://geo.mirror.pkgbuild.com/$repo/os/$arch" ] } },Sets various mirrors *(defaults to ISO's ``/etc/pacman.d/mirrors`` if not defined)*,No -network_config,*`see options under Network Configuration`*,Sets which type of *(if any)* network configuration should be used,No -no_pkg_lookups,``true``!, ``false``,Disabled package checking against https://archlinux.org/packages/,No -ntp,``true``!, ``false``,enables or disables `NTP `_ during installation,No -offline,``true``!, ``false``,enables or disables certain online checks such as mirror reachability etc,No -packages,[ !, !, ... ],A list of packages to install during installation,No -parallel downloads,0-∞,sets a given number of paralell downloads to be used by `pacman `_,No -profile_config,*`read more under the profiles section`*,Installs a given profile if defined,No -script,`guided `__! *(default)*!, `minimal `__!, `only_hdd `_!, `swiss `_!, `unattended `_,When used to autorun an installation!, this sets which script to autorun with,No -silent,``true``!, ``false``,disables or enables user questions using the TUI,No -swap,``true``!, ``false``,enables or disables swap,No -timezone,`timezone `_,sets a timezone for the installed system,No \ No newline at end of file diff --git a/docs/cli_parameters/config/custom_commands.rst b/docs/cli_parameters/config/custom_commands.rst deleted file mode 100644 index c1529020..00000000 --- a/docs/cli_parameters/config/custom_commands.rst +++ /dev/null @@ -1,22 +0,0 @@ -.. _custom commands: - -Custom Commands -=============== - -| Custom commands is a configuration entry that allows for executing custom commands post-installation. -| The commands are executed with `arch-chroot `_. - -The option takes a list of arguments, an example is: - -.. code-block:: json - - { - "custom-commands": [ - "hostname new-hostname" - ] - } - -| The following example will set a new hostname in the installed system. -| The example is just to illustrate that the command is not run in the ISO but inside the installed system after the base system is installed. - -More examples can be found in the code repository under `examples/ `_ \ No newline at end of file diff --git a/docs/cli_parameters/config/disk_config.rst b/docs/cli_parameters/config/disk_config.rst deleted file mode 100644 index ed5f42c1..00000000 --- a/docs/cli_parameters/config/disk_config.rst +++ /dev/null @@ -1,245 +0,0 @@ -.. _disk config: - -Disk Configuration -================== - -There are only three modes in the ``disk_config`` option. They are described in more detail below. - -"Leave as is" --------------- - -.. code-block:: json - - { - "config_type": "pre_mounted_config", - "mountpoint": "/mnt/archinstall" - } - -This mode will not perform any partitioning what so ever. -Instead it relies on what's mounted manually by the user under ``/mnt/archinstall``. - -Given the following disk example: - -.. code-block:: - - /mnt/archinstall (/dev/sda2) - ├── boot (/dev/sda1) - └── home (/dev/sda3) - -Runing ``archinstall --conf your.json --silent`` where the above JSON is configured. The disk will be left alone — and a working system will be installed to the above folders and mountpoints will be translated into the installed system. - -.. note:: - - Some disk layouts can be too complicated to detect, such as RAID setups. Please do report those setups on the `Issue Tracker `__ so we can support them. - -Best Effort ------------ - -.. warning:: - - This mode will wipe data! - -.. note:: - - Note that this options is similar to the manual partitioning but is generated through the menu system! And the best effort layout might deviate slightly from some wiki guidelines in order to facilitate some optional configurations at a later stage. - -.. code-block:: json - - { - "disk_config": { - "config_type": "default_layout", - "device_modifications": [ - { - "device": "/dev/sda", - "wipe": true, - "partitions": "..." - } - ] - } - } - -This mode will attempt to configure a sane default layout on the selected disks. -Based on the chosen filesystem, and potential optional settings for said filesystem — different default layouts will be provided. - -Manual Partitioning -------------------- - -.. code-block:: json - - { - "disk_config": { - "config_type": "manual_partitioning", - "device_modifications": [ - "filesystem struct" - ] - } - } - -Manual partitioning is the most complex one of the three. It offers you near endless flexibility of how to partition your disk. It integrates against `pyparted `__ and some control logic in ``archinstall`` that deals with creating things like subvolumes and compression. - -Sizes are by default ``sector`` units, but other units are supported. - -The options supplied to ``manual_partitioning`` are dictionary definitions, where the following parameters must exist: - -.. csv-table:: JSON options - :file: ./manual_options.csv - :widths: 15, 15, 65, 5 - :escape: ! - :header-rows: 1 - -Each partition definition heavily relies on what filesystem is used. -Below follow two of the more common filesystems, anything else will best be described by running ``archinstall`` to generate a desired configuration for the desired filesystem type — and copy the relevant parts for permanent configurations. - -.. warning:: - - Important to note that the units and positions in the examples below — are highly user specific! - -FAT32 -^^^^^ - -.. code-block:: json - - { - "btrfs": [], - "flags": [ - "Boot" - ], - "fs_type": "fat32", - "length": { - "sector_size": null, - "total_size": null, - "unit": "B", - "value": 99982592 - }, - "mount_options": [], - "mountpoint": "/boot", - "obj_id": "369f31a8-2781-4d6b-96e7-75680552b7c9", - "start": { - "sector_size": { - "sector_size": null, - "total_size": null, - "unit": "B", - "value": 512 - }, - "total_size": null, - "unit": "sectors", - "value": 34 - }, - "status": "create", - "type": "primary" - } - -.. note:: - - The ``Boot`` flag will make ``archinstall`` automatically set the correct ESP partition GUID if the system is booted with ``EFI`` support. The GUID will then be set to ``C12A7328-F81F-11D2-BA4B-00A0C93EC93B``. - -EXT4 -^^^^ - -.. code-block:: json - - { - "btrfs": [], - "flags": [], - "fs_type": "ext4", - "length": { - "sector_size": null, - "total_size": null, - "unit": "B", - "value": 15805127360 - }, - "mount_options": [], - "mountpoint": "/", - "obj_id": "3e75d045-21a4-429d-897e-8ec19a006e8b", - "start": { - "sector_size": { - "sector_size": null, - "total_size": null, - "unit": "B", - "value": 512 - }, - "total_size": { - "sector_size": null, - "total_size": null, - "unit": "B", - "value": 16106127360 - }, - "unit": "MB", - "value": 301 - }, - "status": "create", - "type": "primary" - } - -BTRFS -^^^^^ - -The BTRFS filesystem is inherently more complicated, thus the options are a bit more involved. -This example contains both subvolumes and compression. - -.. note:: - - Note that the ``"mountpoint": null`` is used for the overall partition, and instead individual subvolumes have mountpoints set. - -.. code-block:: json - - { - "btrfs": [ - { - "compress": false, - "mountpoint": "/", - "name": "@", - "nodatacow": false - }, - { - "compress": false, - "mountpoint": "/home", - "name": "@home", - "nodatacow": false - }, - { - "compress": false, - "mountpoint": "/var/log", - "name": "@log", - "nodatacow": false - }, - { - "compress": false, - "mountpoint": "/var/cache/pacman/pkg", - "name": "@pkg", - "nodatacow": false - }, - { - "compress": false, - "mountpoint": "/.snapshots", - "name": "@.snapshots", - "nodatacow": false - } - ], - "dev_path": null, - "flags": [], - "fs_type": "btrfs", - "mount_options": [ - "compress=zstd" - ], - "mountpoint": null, - "obj_id": "d712357f-97cc-40f8-a095-24ff244d4539", - "size": { - "sector_size": { - "unit": "B", - "value": 512 - }, - "unit": "B", - "value": 15568207872 - }, - "start": { - "sector_size": { - "unit": "B", - "value": 512 - }, - "unit": "MiB", - "value": 513 - }, - "status": "create", - "type": "primary" - } \ No newline at end of file diff --git a/docs/cli_parameters/config/disk_encryption.rst b/docs/cli_parameters/config/disk_encryption.rst deleted file mode 100644 index df2e2fa7..00000000 --- a/docs/cli_parameters/config/disk_encryption.rst +++ /dev/null @@ -1,19 +0,0 @@ -.. _disk encryption: - -Disk Encryption -=============== - -Disk encryption consists of a top level entry in the user configuration. - -.. code-block:: json - - { - "disk_encryption": { - "encryption_type": "luks", - "partitions": [ - "d712357f-97cc-40f8-a095-24ff244d4539" - ] - } - } - -The ``UID`` in the ``partitions`` list is an internal reference to the ``obj_id`` in the :ref:`disk config` entries. \ No newline at end of file diff --git a/docs/cli_parameters/config/manual_options.csv b/docs/cli_parameters/config/manual_options.csv deleted file mode 100644 index 2fcc26f0..00000000 --- a/docs/cli_parameters/config/manual_options.csv +++ /dev/null @@ -1,4 +0,0 @@ -Key,Value(s),Description,Required -device,``str``,Which block-device to format,yes -partitions,[ {key: val} ],The data describing the change/addition in a partition,yes -wipe,``bool``,clear the disk before adding any partitions,No \ No newline at end of file -- cgit v1.2.3-70-g09d2