You are not logged in.

#1 2023-10-24 07:49:18

nietsnibur
Member
Registered: 2023-10-24
Posts: 2

archinstall script issues when using .json config files

I recently successfully installed arch with hyprland as the desktop option. I saved the .json files for a future install. When I did try to use them, I noticed I had to manually select again desktop and hyprland as options, or else system specific files such as dunst, xdg-desktop-portal-hyrpland wouldn't be installed. When manually doing this, the description changed from hyprland to desktop, on the overall list of options, right before install.

Here's the json file:

{
    "__separator__": null,
    "additional-repositories": [],
    "archinstall-language": "English",
    "audio_config": {
        "audio": "pipewire"
    },
    "bootloader": "Systemd-boot",
    "config_version": "2.6.0",
    "debug": false,
    "disk_config": {
        "config_type": "default_layout",
        "device_modifications": [
            {
                "device": "/dev/nvme0n1",
                "partitions": [
                    {
                        "btrfs": [],
                        "flags": [
                            "Boot"
                        ],
                        "fs_type": "fat32",
                        "length": {
                            "sector_size": null,
                            "total_size": null,
                            "unit": "MiB",
                            "value": 512
                        },
                        "mount_options": [],
                        "mountpoint": "/boot",
                        "obj_id": "86d2481a-2584-454a-a594-0f5996847626",
                        "start": {
                            "sector_size": null,
                            "total_size": null,
                            "unit": "MiB",
                            "value": 1
                        },
                        "status": "create",
                        "type": "primary"
                    },
                    {
                        "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
                            }
                        ],
                        "flags": [],
                        "fs_type": "btrfs",
                        "length": {
                            "sector_size": null,
                            "total_size": {
                                "sector_size": null,
                                "total_size": null,
                                "unit": "B",
                                "value": 500107862016
                            },
                            "unit": "Percent",
                            "value": 100
                        },
                        "mount_options": [
                            "compress=zstd"
                        ],
                        "mountpoint": null,
                        "obj_id": "b92ae9e9-d18d-47e5-a1ea-ed23b2b7d0d6",
                        "start": {
                            "sector_size": null,
                            "total_size": null,
                            "unit": "MiB",
                            "value": 513
                        },
                        "status": "create",
                        "type": "primary"
                    }
                ],
                "wipe": true
            }
        ]
    },
    "disk_encryption": {
        "encryption_type": "luks",
        "partitions": [
            "b92ae9e9-d18d-47e5-a1ea-ed23b2b7d0d6"
        ]
    },
    "hostname": "littleblackbox",
    "kernels": [
        "linux"
    ],
    "locale_config": {
        "kb_layout": "us",
        "sys_enc": "UTF-8",
        "sys_lang": "en_US"
    },
    "mirror_config": {
        "custom_mirrors": [],
        "mirror_regions": {
            "Brazil": [
                "[url]https://mirror.ufscar.br/archlinux/$repo/os/$arch[/url]",
                "[url]http://mirror.ufscar.br/archlinux/$repo/os/$arch[/url]",
                "[url]http://mirror.ufam.edu.br/archlinux/$repo/os/$arch[/url]",
                "[url]http://linorg.usp.br/archlinux/$repo/os/$arch[/url]",
                "[url]http://archlinux.c3sl.ufpr.br/$repo/os/$arch[/url]"
            ]
        }
    },
    "network_config": {
        "type": "nm"
    },
    "no_pkg_lookups": false,
    "ntp": true,
    "offline": false,
    "packages": [],
    "parallel downloads": 0,
    "profile_config": {
        "gfx_driver": "AMD / ATI (open-source)",
        "greeter": "sddm",
        "profile": {
            "custom_settings": {
                "Hyperland": {}
            },
            "details": [
                "Hyperland"
            ],
            "main": "Desktop"
        }
    },
    "save_config": null,
    "script": "guided",
    "silent": false,
    "swap": true,
    "timezone": "America/Sao_Paulo",
    "version": "2.6.0"
} 

Last edited by nietsnibur (2023-10-24 08:05:26)

Offline

#2 2023-10-24 07:51:31

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,464
Website

Re: archinstall script issues when using .json config files

Please edit your post to include code tags.

https://wiki.archlinux.org/title/Genera … s_and_code

Moving to Archinstall subforum.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB