archinstall icon indicating copy to clipboard operation
archinstall copied to clipboard

Failed to enable fstrim.timer error

Open MythSnipper opened this issue 1 year ago • 21 comments

Which ISO version are you using?

modified version from 2025-04-01

The installation log

[2025-09-18 13:28:41] - DEBUG - Hardware model detected: LENOVO 2464EB3; UEFI mode: True
[2025-09-18 13:28:41] - DEBUG - Processor model detected: Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz
[2025-09-18 13:28:41] - DEBUG - Memory statistics: 6384092 available out of 7950888 total installed
[2025-09-18 13:28:41] - DEBUG - Could not detect virtual system: ['/usr/bin/systemd-detect-virt'] exited with abnormal exit code [1]: none

[2025-09-18 13:28:41] - DEBUG - System is not running in a VM: ['/usr/bin/systemd-detect-virt'] exited with abnormal exit code [1]: none

[2025-09-18 13:28:41] - DEBUG - Virtualization detected: None; is VM: False
[2025-09-18 13:28:41] - DEBUG - Graphics devices detected: dict_keys(['Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)', 'NVIDIA Corporation GF108M [NVS 5400M] (rev a1)'])
[2025-09-18 13:28:41] - DEBUG - Disk states before installing:
{
    "blockdevices": [
        {
            "name": "loop0",
            "path": "/dev/loop0",
            "pkname": null,
            "log_sec": 512,
            "size": "988 MiB",
            "pttype": null,
            "ptuuid": null,
            "rota": false,
            "tran": null,
            "partn": null,
            "partuuid": null,
            "parttype": null,
            "uuid": null,
            "fstype": "squashfs",
            "fsver": "4.0",
            "fsavail": 0,
            "fsuse_percentage": "100%",
            "type": "loop",
            "mountpoint": "/run/archiso/airootfs",
            "mountpoints": [
                "/run/archiso/airootfs"
            ],
            "fsroots": [
                "/"
            ],
            "children": []
        },
        {
            "name": "sdb",
            "path": "/dev/sdb",
            "pkname": null,
            "log_sec": 512,
            "size": "953869 MiB",
            "pttype": "gpt",
            "ptuuid": "7e9edf70-bce4-4175-9e82-50869c8a00fb",
            "rota": true,
            "tran": "ata",
            "partn": null,
            "partuuid": null,
            "parttype": null,
            "uuid": null,
            "fstype": null,
            "fsver": null,
            "fsavail": null,
            "fsuse_percentage": null,
            "type": "disk",
            "mountpoint": null,
            "mountpoints": [],
            "fsroots": [],
            "children": [
                {
                    "name": "sdb1",
                    "path": "/dev/sdb1",
                    "pkname": "sdb",
                    "log_sec": 512,
                    "size": "4096 MiB",
                    "pttype": "gpt",
                    "ptuuid": "7e9edf70-bce4-4175-9e82-50869c8a00fb",
                    "rota": true,
                    "tran": null,
                    "partn": 1,
                    "partuuid": "64ca935b-ca1e-44a4-b2da-b5002ac41a39",
                    "parttype": "c12a7328-f81f-11d2-ba4b-00a0c93ec93b",
                    "uuid": "8450-A52D",
                    "fstype": "vfat",
                    "fsver": "FAT32",
                    "fsavail": 4286558208,
                    "fsuse_percentage": "0%",
                    "type": "part",
                    "mountpoint": "/mnt/boot",
                    "mountpoints": [
                        "/mnt/boot"
                    ],
                    "fsroots": [
                        "/"
                    ],
                    "children": []
                },
                {
                    "name": "sdb2",
                    "path": "/dev/sdb2",
                    "pkname": "sdb",
                    "log_sec": 512,
                    "size": "16384 MiB",
                    "pttype": "gpt",
                    "ptuuid": "7e9edf70-bce4-4175-9e82-50869c8a00fb",
                    "rota": true,
                    "tran": null,
                    "partn": 2,
                    "partuuid": "69e4d055-ded7-49e9-a270-9bbac10c9ac3",
                    "parttype": "0657fd6d-a4ab-43c4-84e5-0933c84b4f4f",
                    "uuid": "e004ba7d-4c33-46d6-a5c1-a143f000a22f",
                    "fstype": "swap",
                    "fsver": "1",
                    "fsavail": null,
                    "fsuse_percentage": null,
                    "type": "part",
                    "mountpoint": "[SWAP]",
                    "mountpoints": [
                        "[SWAP]"
                    ],
                    "fsroots": [],
                    "children": []
                },
                {
                    "name": "sdb3",
                    "path": "/dev/sdb3",
                    "pkname": "sdb",
                    "log_sec": 512,
                    "size": "239616 MiB",
                    "pttype": "gpt",
                    "ptuuid": "7e9edf70-bce4-4175-9e82-50869c8a00fb",
                    "rota": true,
                    "tran": null,
                    "partn": 3,
                    "partuuid": "4e8b8f7f-d8c1-4a58-992c-0ace643dca33",
                    "parttype": "0fc63daf-8483-4772-8e79-3d69d8477de4",
                    "uuid": "3cca7c23-4745-4053-8e2f-1c30443c0344",
                    "fstype": "ext4",
                    "fsver": "1.0",
                    "fsavail": 233594138624,
                    "fsuse_percentage": "0%",
                    "type": "part",
                    "mountpoint": "/mnt",
                    "mountpoints": [
                        "/mnt"
                    ],
                    "fsroots": [
                        "/"
                    ],
                    "children": []
                },
                {
                    "name": "sdb7",
                    "path": "/dev/sdb7",
                    "pkname": "sdb",
                    "log_sec": 512,
                    "size": "156672 MiB",
                    "pttype": "gpt",
                    "ptuuid": "7e9edf70-bce4-4175-9e82-50869c8a00fb",
                    "rota": true,
                    "tran": null,
                    "partn": 7,
                    "partuuid": "753c6cdc-1cfb-489e-b066-35aba67c0a35",
                    "parttype": "fe3a2a5d-4f32-41a7-b725-accc3285a309",
                    "uuid": "EDB7-BB5D",
                    "fstype": "exfat",
                    "fsver": "1.0",
                    "fsavail": null,
                    "fsuse_percentage": null,
                    "type": "part",
                    "mountpoint": null,
                    "mountpoints": [],
                    "fsroots": [],
                    "children": []
                }
            ]
        },
        {
            "name": "sr0",
            "path": "/dev/sr0",
            "pkname": null,
            "log_sec": 512,
            "size": "1023 MiB",
            "pttype": null,
            "ptuuid": null,
            "rota": false,
            "tran": "ata",
            "partn": null,
            "partuuid": null,
            "parttype": null,
            "uuid": null,
            "fstype": null,
            "fsver": null,
            "fsavail": null,
            "fsuse_percentage": null,
            "type": "rom",
            "mountpoint": null,
            "mountpoints": [],
            "fsroots": [],
            "children": []
        }
    ]
}
[2025-09-18 13:28:41] - INFO - Fetching Arch Linux package database...
[2025-09-18 13:28:42] - INFO - Checking version...
[2025-09-18 13:28:42] - DEBUG - Failed to check for package upgrades: archinstall
[2025-09-18 13:28:42] - DEBUG - No archinstall upgrades found
[2025-09-18 13:28:43] - DEBUG - Could not determine the filesystem: None
[2025-09-18 13:29:04] - DEBUG - Creating yescrypt hash with rounds 5
[2025-09-18 13:29:11] - DEBUG - Creating yescrypt hash with rounds 5
[2025-09-18 13:29:21] - DEBUG - Creating yescrypt hash with rounds 5
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/__init__.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/custom.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktop.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/minimal.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/server.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/tailored.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/xorg.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/__init__.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/awesome.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/bspwm.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/budgie.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/cinnamon.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/cosmic.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/cutefish.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/deepin.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/enlightenment.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/gnome.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/hyprland.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/i3.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/lxqt.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/mate.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/plasma.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/qtile.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/sway.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/xfce4.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/xmonad.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/river.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/niri.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/labwc.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/servers/__init__.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/servers/cockpit.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/servers/docker.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/servers/httpd.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/servers/lighttpd.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/servers/mariadb.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/servers/nginx.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/servers/postgresql.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/servers/sshd.py
[2025-09-18 13:29:30] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/servers/tomcat.py
[2025-09-18 13:31:26] - DEBUG -  -- Chosen configuration --
[2025-09-18 13:31:26] - DEBUG - {
    "app_config": {
        "audio_config": {
            "audio": "pipewire"
        },
        "bluetooth_config": {
            "enabled": true
        }
    },
    "archinstall-language": "English",
    "auth_config": {},
    "bootloader": "Grub",
    "custom_commands": [],
    "disk_config": {
        "config_type": "pre_mounted_config",
        "mountpoint": "/mnt"
    },
    "hostname": "tetOS",
    "kernels": [
        "linux"
    ],
    "locale_config": {
        "kb_layout": "us",
        "sys_enc": "UTF-8",
        "sys_lang": "en_US.UTF-8"
    },
    "network_config": {
        "type": "nm"
    },
    "ntp": true,
    "packages": [
        "dhcpcd",
        "dosfstools",
        "firefox",
        "gcc",
        "git",
        "iwd",
        "kitty",
        "vim",
        "python"
    ],
    "parallel_downloads": 0,
    "profile_config": {
        "gfx_driver": "Intel (open-source)",
        "greeter": "sddm",
        "profile": {
            "custom_settings": {
                "Lxqt": {}
            },
            "details": [
                "Lxqt"
            ],
            "main": "Desktop"
        }
    },
    "script": null,
    "services": [],
    "swap": true,
    "timezone": "Europe/Athens",
    "version": "3.0.10"
}
[2025-09-18 13:31:27] - DEBUG - Disk layout configuration is set to pre-mount, not performing any operations
[2025-09-18 13:31:27] - INFO - Starting installation...
[2025-09-18 13:31:27] - INFO - Waiting for time sync (timedatectl show) to complete.
[2025-09-18 13:31:27] - INFO - Waiting for automatic mirror selection (reflector) to complete.
[2025-09-18 13:31:27] - INFO - Waiting for Arch Linux keyring sync (archlinux-keyring-wkd-sync) to complete.
[2025-09-18 13:31:27] - DEBUG - System is not running in a VM: ['/usr/bin/systemd-detect-virt'] exited with abnormal exit code [1]: none

[2025-09-18 13:31:27] - DEBUG - Optional repositories: []
[2025-09-18 13:31:43] - INFO - Installing packages: ['base', 'base-devel', 'linux-firmware', 'linux', 'intel-ucode']
[2025-09-18 13:46:35] - ERROR - Could not strap in packages: ['/usr/bin/pacstrap', '-C', '/etc/pacman.conf', '-K', '/mnt', 'base', 'base-devel', 'linux-firmware', 'linux', 'intel-ucode', '--noconfirm'] exited with abnormal exit code [1]: ds
error: failed retrieving file 'util-linux-2.41.1-1-x86_64.pkg.tar.zst.sig' from losangeles.mirror.pkgbuild.com : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
warning: too many errors from losangeles.mirror.pkgbuild.com, skipping for the remainder of this transaction
warning: failed to retrieve some files
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
==> ERROR: Failed to install packages to new root

[2025-09-18 13:49:56] - INFO - Enabling periodic TRIM
[2025-09-18 13:49:56] - INFO - Enabling service fstrim.timer
[2025-09-18 13:49:56] - ERROR - Unable to start service fstrim.timer: ['/usr/bin/arch-chroot', '/mnt', 'systemctl', 'enable', 'fstrim.timer'] exited with abnormal exit code [1]: 
[2025-09-18 13:49:56] - ERROR - Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 670, in enable_service
    self.arch_chroot(f'systemctl enable {service}')
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 685, in arch_chroot
    return self.run_command(cmd)
           ~~~~~~~~~~~~~~~~^^^^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 679, in run_command
    return SysCommand(f'arch-chroot {self.target} {cmd}')
  File "/usr/lib/python3.13/site-packages/archinstall/lib/general.py", line 326, in __init__
    self.create_session()
    ~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/general.py", line 366, in create_session
    with SysCommandWorker(
         ~~~~~~~~~~~~~~~~^
    	self.cmd,
     ^^^^^^^^^
    ...<3 lines>...
    	working_directory=self.working_directory,
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ) as session:
    ^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/general.py", line 194, in __exit__
    raise SysCallError(
    ...<3 lines>...
    )
archinstall.lib.exceptions.SysCallError: ['/usr/bin/arch-chroot', '/mnt', 'systemctl', 'enable', 'fstrim.timer'] exited with abnormal exit code [1]: 

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/archinstall/__init__.py", line 104, in run_as_a_module
    rc = main()
  File "/usr/lib/python3.13/site-packages/archinstall/__init__.py", line 94, in main
    importlib.import_module(mod_name)
    ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/usr/lib/python3.13/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/usr/lib/python3.13/site-packages/archinstall/scripts/guided.py", line 212, in <module>
    guided()
    ~~~~~~^^
  File "/usr/lib/python3.13/site-packages/archinstall/scripts/guided.py", line 209, in guided
    perform_installation(arch_config_handler.args.mountpoint)
    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/archinstall/scripts/guided.py", line 89, in perform_installation
    installation.minimal_installation(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    	optional_repositories=optional_repositories,
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
    	locale_config=locale_config,
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 887, in minimal_installation
    self.enable_periodic_trim()
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 660, in enable_periodic_trim
    self.enable_service('fstrim.timer')
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 672, in enable_service
    raise ServiceException(f'Unable to start service {service}: {err}')
archinstall.lib.exceptions.ServiceException: Unable to start service fstrim.timer: ['/usr/bin/arch-chroot', '/mnt', 'systemctl', 'enable', 'fstrim.timer'] exited with abnormal exit code [1]: 

[2025-09-18 13:49:56] - WARNING - Archinstall experienced the above error. If you think this is a bug, please report it to
https://github.com/archlinux/archinstall and include the log file "/var/log/archinstall/install.log".

Hint: To extract the log from a live ISO 
curl -F'file=@/var/log/archinstall/install.log' https://0x0.st

[2025-09-18 13:52:06] - DEBUG - Hardware model detected: LENOVO 2464EB3; UEFI mode: True
[2025-09-18 13:52:06] - DEBUG - Processor model detected: Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz
[2025-09-18 13:52:06] - DEBUG - Memory statistics: 6278828 available out of 7950888 total installed
[2025-09-18 13:52:06] - DEBUG - Could not detect virtual system: ['/usr/bin/systemd-detect-virt'] exited with abnormal exit code [1]: none

[2025-09-18 13:52:06] - DEBUG - System is not running in a VM: ['/usr/bin/systemd-detect-virt'] exited with abnormal exit code [1]: none

[2025-09-18 13:52:06] - DEBUG - Virtualization detected: None; is VM: False
[2025-09-18 13:52:06] - DEBUG - Graphics devices detected: dict_keys(['Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)', 'NVIDIA Corporation GF108M [NVS 5400M] (rev a1)'])
[2025-09-18 13:52:06] - DEBUG - Disk states before installing:
{
    "blockdevices": [
        {
            "name": "loop0",
            "path": "/dev/loop0",
            "pkname": null,
            "log_sec": 512,
            "size": "988 MiB",
            "pttype": null,
            "ptuuid": null,
            "rota": false,
            "tran": null,
            "partn": null,
            "partuuid": null,
            "parttype": null,
            "uuid": null,
            "fstype": "squashfs",
            "fsver": "4.0",
            "fsavail": 0,
            "fsuse_percentage": "100%",
            "type": "loop",
            "mountpoint": "/run/archiso/airootfs",
            "mountpoints": [
                "/run/archiso/airootfs"
            ],
            "fsroots": [
                "/"
            ],
            "children": []
        },
        {
            "name": "sdb",
            "path": "/dev/sdb",
            "pkname": null,
            "log_sec": 512,
            "size": "953869 MiB",
            "pttype": "gpt",
            "ptuuid": "7e9edf70-bce4-4175-9e82-50869c8a00fb",
            "rota": true,
            "tran": "ata",
            "partn": null,
            "partuuid": null,
            "parttype": null,
            "uuid": null,
            "fstype": null,
            "fsver": null,
            "fsavail": null,
            "fsuse_percentage": null,
            "type": "disk",
            "mountpoint": null,
            "mountpoints": [],
            "fsroots": [],
            "children": [
                {
                    "name": "sdb1",
                    "path": "/dev/sdb1",
                    "pkname": "sdb",
                    "log_sec": 512,
                    "size": "4096 MiB",
                    "pttype": "gpt",
                    "ptuuid": "7e9edf70-bce4-4175-9e82-50869c8a00fb",
                    "rota": true,
                    "tran": null,
                    "partn": 1,
                    "partuuid": "64ca935b-ca1e-44a4-b2da-b5002ac41a39",
                    "parttype": "c12a7328-f81f-11d2-ba4b-00a0c93ec93b",
                    "uuid": "8450-A52D",
                    "fstype": "vfat",
                    "fsver": "FAT32",
                    "fsavail": 3923025920,
                    "fsuse_percentage": "8%",
                    "type": "part",
                    "mountpoint": "/mnt/boot",
                    "mountpoints": [
                        "/mnt/boot"
                    ],
                    "fsroots": [
                        "/"
                    ],
                    "children": []
                },
                {
                    "name": "sdb2",
                    "path": "/dev/sdb2",
                    "pkname": "sdb",
                    "log_sec": 512,
                    "size": "16384 MiB",
                    "pttype": "gpt",
                    "ptuuid": "7e9edf70-bce4-4175-9e82-50869c8a00fb",
                    "rota": true,
                    "tran": null,
                    "partn": 2,
                    "partuuid": "69e4d055-ded7-49e9-a270-9bbac10c9ac3",
                    "parttype": "0657fd6d-a4ab-43c4-84e5-0933c84b4f4f",
                    "uuid": "e004ba7d-4c33-46d6-a5c1-a143f000a22f",
                    "fstype": "swap",
                    "fsver": "1",
                    "fsavail": null,
                    "fsuse_percentage": null,
                    "type": "part",
                    "mountpoint": "[SWAP]",
                    "mountpoints": [
                        "[SWAP]"
                    ],
                    "fsroots": [],
                    "children": []
                },
                {
                    "name": "sdb3",
                    "path": "/dev/sdb3",
                    "pkname": "sdb",
                    "log_sec": 512,
                    "size": "239616 MiB",
                    "pttype": "gpt",
                    "ptuuid": "7e9edf70-bce4-4175-9e82-50869c8a00fb",
                    "rota": true,
                    "tran": null,
                    "partn": 3,
                    "partuuid": "4e8b8f7f-d8c1-4a58-992c-0ace643dca33",
                    "parttype": "0fc63daf-8483-4772-8e79-3d69d8477de4",
                    "uuid": "3cca7c23-4745-4053-8e2f-1c30443c0344",
                    "fstype": "ext4",
                    "fsver": "1.0",
                    "fsavail": 231080501248,
                    "fsuse_percentage": "1%",
                    "type": "part",
                    "mountpoint": "/mnt",
                    "mountpoints": [
                        "/mnt"
                    ],
                    "fsroots": [
                        "/"
                    ],
                    "children": []
                },
                {
                    "name": "sdb7",
                    "path": "/dev/sdb7",
                    "pkname": "sdb",
                    "log_sec": 512,
                    "size": "156672 MiB",
                    "pttype": "gpt",
                    "ptuuid": "7e9edf70-bce4-4175-9e82-50869c8a00fb",
                    "rota": true,
                    "tran": null,
                    "partn": 7,
                    "partuuid": "753c6cdc-1cfb-489e-b066-35aba67c0a35",
                    "parttype": "fe3a2a5d-4f32-41a7-b725-accc3285a309",
                    "uuid": "EDB7-BB5D",
                    "fstype": "exfat",
                    "fsver": "1.0",
                    "fsavail": null,
                    "fsuse_percentage": null,
                    "type": "part",
                    "mountpoint": null,
                    "mountpoints": [],
                    "fsroots": [],
                    "children": []
                }
            ]
        },
        {
            "name": "sr0",
            "path": "/dev/sr0",
            "pkname": null,
            "log_sec": 512,
            "size": "1023 MiB",
            "pttype": null,
            "ptuuid": null,
            "rota": false,
            "tran": "ata",
            "partn": null,
            "partuuid": null,
            "parttype": null,
            "uuid": null,
            "fstype": null,
            "fsver": null,
            "fsavail": null,
            "fsuse_percentage": null,
            "type": "rom",
            "mountpoint": null,
            "mountpoints": [],
            "fsroots": [],
            "children": []
        }
    ]
}
[2025-09-18 13:52:06] - INFO - Fetching Arch Linux package database...
[2025-09-18 13:52:14] - INFO - Checking version...
[2025-09-18 13:52:15] - DEBUG - Failed to check for package upgrades: archinstall
[2025-09-18 13:52:15] - DEBUG - No archinstall upgrades found
[2025-09-18 13:52:15] - DEBUG - Could not determine the filesystem: None
[2025-09-18 13:52:34] - DEBUG - Creating yescrypt hash with rounds 5
[2025-09-18 13:52:46] - DEBUG - Creating yescrypt hash with rounds 5
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/__init__.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/custom.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktop.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/minimal.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/server.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/tailored.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/xorg.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/__init__.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/awesome.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/bspwm.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/budgie.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/cinnamon.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/cosmic.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/cutefish.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/deepin.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/enlightenment.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/gnome.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/hyprland.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/i3.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/lxqt.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/mate.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/plasma.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/qtile.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/sway.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/xfce4.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/xmonad.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/river.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/niri.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/labwc.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/servers/__init__.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/servers/cockpit.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/servers/docker.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/servers/httpd.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/servers/lighttpd.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/servers/mariadb.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/servers/nginx.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/servers/postgresql.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/servers/sshd.py
[2025-09-18 13:52:51] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/servers/tomcat.py
[2025-09-18 13:54:02] - DEBUG -  -- Chosen configuration --
[2025-09-18 13:54:02] - DEBUG - {
    "app_config": {
        "audio_config": {
            "audio": "pipewire"
        },
        "bluetooth_config": {
            "enabled": true
        }
    },
    "archinstall-language": "English",
    "auth_config": {},
    "bootloader": "Grub",
    "custom_commands": [],
    "disk_config": {
        "config_type": "pre_mounted_config",
        "mountpoint": "/mnt"
    },
    "hostname": "tetOS",
    "kernels": [
        "linux"
    ],
    "locale_config": {
        "kb_layout": "us",
        "sys_enc": "UTF-8",
        "sys_lang": "en_US.UTF-8"
    },
    "network_config": {
        "type": "nm"
    },
    "ntp": true,
    "packages": [
        "dhcpcd",
        "dosfstools",
        "e2fsprogs",
        "exfatprogs",
        "f2fs-tools",
        "gcc",
        "git",
        "iwd",
        "kitty",
        "mtools",
        "vim",
        "python"
    ],
    "parallel_downloads": 0,
    "profile_config": {
        "gfx_driver": "Intel (open-source)",
        "greeter": "sddm",
        "profile": {
            "custom_settings": {
                "Lxqt": {}
            },
            "details": [
                "Lxqt"
            ],
            "main": "Desktop"
        }
    },
    "script": null,
    "services": [],
    "swap": true,
    "timezone": "Europe/Athens",
    "version": "3.0.10"
}
[2025-09-18 13:54:04] - DEBUG - Disk layout configuration is set to pre-mount, not performing any operations
[2025-09-18 13:54:04] - INFO - Starting installation...
[2025-09-18 13:54:04] - INFO - Waiting for time sync (timedatectl show) to complete.
[2025-09-18 13:54:04] - INFO - Waiting for automatic mirror selection (reflector) to complete.
[2025-09-18 13:54:04] - INFO - Waiting for Arch Linux keyring sync (archlinux-keyring-wkd-sync) to complete.
[2025-09-18 13:54:04] - DEBUG - System is not running in a VM: ['/usr/bin/systemd-detect-virt'] exited with abnormal exit code [1]: none

[2025-09-18 13:54:04] - DEBUG - Optional repositories: []
[2025-09-18 13:54:14] - INFO - Installing packages: ['base', 'base-devel', 'linux-firmware', 'linux', 'intel-ucode']
[2025-09-18 13:54:48] - INFO - Enabling periodic TRIM
[2025-09-18 13:54:48] - INFO - Enabling service fstrim.timer
[2025-09-18 13:54:48] - ERROR - Unable to start service fstrim.timer: ['/usr/bin/arch-chroot', '/mnt', 'systemctl', 'enable', 'fstrim.timer'] exited with abnormal exit code [1]: 
[2025-09-18 13:54:48] - ERROR - Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 670, in enable_service
    self.arch_chroot(f'systemctl enable {service}')
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 685, in arch_chroot
    return self.run_command(cmd)
           ~~~~~~~~~~~~~~~~^^^^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 679, in run_command
    return SysCommand(f'arch-chroot {self.target} {cmd}')
  File "/usr/lib/python3.13/site-packages/archinstall/lib/general.py", line 326, in __init__
    self.create_session()
    ~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/general.py", line 366, in create_session
    with SysCommandWorker(
         ~~~~~~~~~~~~~~~~^
    	self.cmd,
     ^^^^^^^^^
    ...<3 lines>...
    	working_directory=self.working_directory,
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ) as session:
    ^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/general.py", line 194, in __exit__
    raise SysCallError(
    ...<3 lines>...
    )
archinstall.lib.exceptions.SysCallError: ['/usr/bin/arch-chroot', '/mnt', 'systemctl', 'enable', 'fstrim.timer'] exited with abnormal exit code [1]: 

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/archinstall/__init__.py", line 104, in run_as_a_module
    rc = main()
  File "/usr/lib/python3.13/site-packages/archinstall/__init__.py", line 94, in main
    importlib.import_module(mod_name)
    ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/usr/lib/python3.13/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/usr/lib/python3.13/site-packages/archinstall/scripts/guided.py", line 212, in <module>
    guided()
    ~~~~~~^^
  File "/usr/lib/python3.13/site-packages/archinstall/scripts/guided.py", line 209, in guided
    perform_installation(arch_config_handler.args.mountpoint)
    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/archinstall/scripts/guided.py", line 89, in perform_installation
    installation.minimal_installation(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    	optional_repositories=optional_repositories,
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
    	locale_config=locale_config,
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 887, in minimal_installation
    self.enable_periodic_trim()
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 660, in enable_periodic_trim
    self.enable_service('fstrim.timer')
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 672, in enable_service
    raise ServiceException(f'Unable to start service {service}: {err}')
archinstall.lib.exceptions.ServiceException: Unable to start service fstrim.timer: ['/usr/bin/arch-chroot', '/mnt', 'systemctl', 'enable', 'fstrim.timer'] exited with abnormal exit code [1]:

describe the problem

Description of the issue

I am installing on a Thinkpad L430 as usual(I installed arch linux many times)

The hard drive is a 1tb hard drive, the issue is related to archinstall trying to enable fstrim but it is not supported on hard drives???

MythSnipper avatar Sep 18 '25 14:09 MythSnipper

I also got same type of error on my Thinkpad L570 I tried installing with different methods but still getting error

Have you tried manual installation

umeshwayakole27 avatar Sep 18 '25 14:09 umeshwayakole27

This looks like a duplicate of #3799. My guess is that it's related to the systemd 258 update.

correctmost avatar Sep 18 '25 14:09 correctmost

I also got this issue with archinstall. Logs look the same as mine

XXcipherX avatar Sep 18 '25 14:09 XXcipherX

This looks like a duplicate of #3799. My guess is that it's related to the systemd 258 update.

Same here. https://github.com/archlinux/archinstall/pull/3396

Failed to check for chroot() environment: Function not implemented Failed to connect to system scope bus via local transport: No data available error: command failed to execute correctly (14/15) Checking for old perl modules... (15/15) Updating the info directory file... Enabling periodic TRIM Enabling service fstrim.timer Unable to start service fstrim.timer: ['/usr/bin/arch-chroot', '/mnt', 'systemctl', 'enable', 'fstrim.timer'] exited with abnormal exit code [1]: [!] A log file has been created here: /home/hadeaneon/Desktop/KADEBOOT/logs/install.log

h8d13 avatar Sep 18 '25 14:09 h8d13

me too :-(

Nowawes avatar Sep 18 '25 16:09 Nowawes

Happened to me too (right on the day i started using arch again...)

inkeaton avatar Sep 18 '25 18:09 inkeaton

Definitely related to systemd because it seems like the error message is because systemd is not running on the chrooted system I'm trying to patch the installer.py script so it doesn't raise an exception when systemd service can't be started let's see if it works

MythSnipper avatar Sep 18 '25 18:09 MythSnipper

Would suck that its due to all this UKI + systemd boot default that they broke everything for devs here 😢

h8d13 avatar Sep 18 '25 20:09 h8d13

good news it worked here's the steps on how to install arch linux with this issue present:

  1. boot into archiso
  2. run these commands to find the path to the installer.py: cd / find . | grep archinstall | grep installer.py

for me it was here: /usr/lib/python3.13/site-packages/archinstall/lib/installer.py

  1. find the installer.py and open it using any text editor

  2. in the text editor search for "Unable to start service" and you should find this one line: raise ServiceException(f'Unable to start service {service}: {err}')

  3. delete that line and replace with something like this: print(f'Unable to start service {service}: {err}') input("Press enter to continue with installation...")

  4. save the file and run archinstall like normal! when it says unable to start service note down what it was trying to start so you can start it later after installation

  5. exit archiso and boot the installed system, if you are using sddm it won't start so go to a tty by doing Ctrl + Alt + F3 and log in

  6. for me these are the services that failed to start (sorted by time) fstrim.timer [email protected] NetworkManager bluetooth sddm systemd-timesyncd

I started everything but zram setup and I used the udev method to set up zram on archwiki

  1. reboot another time and it should work fine

Edit: I have no idea how the archinstall script works but this is the correct way to enable a systemctl services in archiso(if root of the new system is /mnt): systemctl --root=/mnt enable [service]

MythSnipper avatar Sep 18 '25 20:09 MythSnipper

https://0x0.st/KTuN.log

IgorKha avatar Sep 18 '25 20:09 IgorKha

legend, tysm

pedromoitinho avatar Sep 18 '25 21:09 pedromoitinho

Failed to check for chroot() environment: Function not implemented Failed to connect to system scope bus via local transport: No data available

I reported my findings here: https://gitlab.archlinux.org/archlinux/packaging/packages/systemd/-/issues/54

correctmost avatar Sep 18 '25 22:09 correctmost

I added a Pull Request with a quick fix to this.

  1. Boot into archiso.
  2. Update archinstall using pacman -Sy and pacman -S archinstall.
  3. Then run these commands to find the path to the installer.py:
cd /
find . | grep archinstall | grep installer.py

For me, as for MythSniper, the path was /usr/lib/python3.13/site-packages/archinstall/lib/installer.py 4. Find the installer.py and open it using any text editor 5. Go to the section where the error message was being raised (you can search by "Unable to start service") 6. Change the following section:

try:
    self.arch_chroot(f'systemctl enable {service}')
except SysCallError as err:
    raise SeviceException(f'Unable to start service {service}: {err}')

to the following:

try:
    SysCommand(f'systemctl --root={self.target} enable {service}')
except SysCallError as err:
    raise SeviceException(f'Unable to start service {service}: {err}')
  1. Initiate the installation as usual.

At least for me, it worked fine after this. (note that it's just a quick fix).

blzrosa avatar Sep 18 '25 23:09 blzrosa

I added a Pull Request with a quick fix to this.

  1. Boot into archiso.
  2. Update archinstall using pacman -Sy and pacman -S archinstall.
  3. Then run these commands to find the path to the installer.py:

cd /find . | grep archinstall | grep installer.py For me, as for MythSniper, the path was /usr/lib/python3.13/site-packages/archinstall/lib/installer.py 4. Find the installer.py and open it using any text editor 5. Go to the section where the error message was being raised (you can search by "Unable to start service") 6. Change the following section:

try: self.arch_chroot(f'systemctl enable {service}') except SysCallError as err: raise SeviceException(f'Unable to start service {service}: {err}') to the following:

try: SysCommand(f'systemctl --root={self.target} enable {service}') except SysCallError as err: raise SeviceException(f'Unable to start service {service}: {err}') 7. Initiate the installation as usual.

At least for me, it worked fine after this. (note that it's just a quick fix).

This Works me, thanks a lot

fcrios145 avatar Sep 19 '25 00:09 fcrios145

good news it worked here's the steps on how to install arch linux with this issue present:

  1. boot into archiso
  2. run these commands to find the path to the installer.py: cd / find . | grep archinstall | grep installer.py

for me it was here: /usr/lib/python3.13/site-packages/archinstall/lib/installer.py

  1. find the installer.py and open it using any text editor
  2. in the text editor search for "Unable to start service" and you should find this one line: raise ServiceException(f'Unable to start service {service}: {err}')
  3. delete that line and replace with something like this: print(f'Unable to start service {service}: {err}') input("Press enter to continue with installation...")
  4. save the file and run archinstall like normal! when it says unable to start service note down what it was trying to start so you can start it later after installation
  5. exit archiso and boot the installed system, if you are using sddm it won't start so go to a tty by doing Ctrl + Alt + F3 and log in
  6. for me these are the services that failed to start (sorted by time) fstrim.timer [email protected] NetworkManager bluetooth sddm systemd-timesyncd

I started everything but zram setup and I used the udev method to set up zram on archwiki

  1. reboot another time and it should work fine

Edit: I have no idea how the archinstall script works but this is the correct way to enable a systemctl services in archiso(if root of the new system is /mnt): systemctl --root=/mnt enable [service]

It worked , Thanks

sai-g3p avatar Sep 19 '25 11:09 sai-g3p

I added a Pull Request with a quick fix to this.

  1. Boot into archiso.
  2. Update archinstall using pacman -Sy and pacman -S archinstall.
  3. Then run these commands to find the path to the installer.py:

cd / find . | grep archinstall | grep installer.py For me, as for MythSniper, the path was /usr/lib/python3.13/site-packages/archinstall/lib/installer.py 4. Find the installer.py and open it using any text editor 5. Go to the section where the error message was being raised (you can search by "Unable to start service") 6. Change the following section:

try: self.arch_chroot(f'systemctl enable {service}') except SysCallError as err: raise SeviceException(f'Unable to start service {service}: {err}') to the following:

try: SysCommand(f'systemctl --root={self.target} enable {service}') except SysCallError as err: raise SeviceException(f'Unable to start service {service}: {err}') 7. Initiate the installation as usual.

At least for me, it worked fine after this. (note that it's just a quick fix).

perfect,thanks

vectorstone avatar Sep 19 '25 14:09 vectorstone

I added a Pull Request with a quick fix to this.

  1. Boot into archiso.
  2. Update archinstall using pacman -Sy and pacman -S archinstall.
  3. Then run these commands to find the path to the installer.py:

cd / find . | grep archinstall | grep installer.py For me, as for MythSniper, the path was /usr/lib/python3.13/site-packages/archinstall/lib/installer.py 4. Find the installer.py and open it using any text editor 5. Go to the section where the error message was being raised (you can search by "Unable to start service") 6. Change the following section:

try: self.arch_chroot(f'systemctl enable {service}') except SysCallError as err: raise SeviceException(f'Unable to start service {service}: {err}') to the following:

try: SysCommand(f'systemctl --root={self.target} enable {service}') except SysCallError as err: raise SeviceException(f'Unable to start service {service}: {err}') 7. Initiate the installation as usual.

At least for me, it worked fine after this. (note that it's just a quick fix).

Worked. Thanks.

crr004 avatar Sep 19 '25 14:09 crr004

I added a Pull Request with a quick fix to this.

1. Boot into archiso.

2. Update archinstall using `pacman -Sy` and `pacman -S archinstall`.

3. Then run these commands to find the path to the installer.py:

cd / find . | grep archinstall | grep installer.py

For me, as for MythSniper, the path was /usr/lib/python3.13/site-packages/archinstall/lib/installer.py 4. Find the installer.py and open it using any text editor 5. Go to the section where the error message was being raised (you can search by "Unable to start service") 6. Change the following section:

try: self.arch_chroot(f'systemctl enable {service}') except SysCallError as err: raise SeviceException(f'Unable to start service {service}: {err}')

to the following:

try: SysCommand(f'systemctl --root={self.target} enable {service}') except SysCallError as err: raise SeviceException(f'Unable to start service {service}: {err}')

7. Initiate the installation as usual.

At least for me, it worked fine after this. (note that it's just a quick fix).

Hero. Preciate it, man.

dominukasb avatar Sep 19 '25 15:09 dominukasb

I added a Pull Request with a quick fix to this.

  1. Boot into archiso.
  2. Update archinstall using pacman -Sy and pacman -S archinstall.
  3. Then run these commands to find the path to the installer.py:

cd / find . | grep archinstall | grep installer.py For me, as for MythSniper, the path was /usr/lib/python3.13/site-packages/archinstall/lib/installer.py 4. Find the installer.py and open it using any text editor 5. Go to the section where the error message was being raised (you can search by "Unable to start service") 6. Change the following section:

try: self.arch_chroot(f'systemctl enable {service}') except SysCallError as err: raise SeviceException(f'Unable to start service {service}: {err}') to the following:

try: SysCommand(f'systemctl --root={self.target} enable {service}') except SysCallError as err: raise SeviceException(f'Unable to start service {service}: {err}') 7. Initiate the installation as usual.

At least for me, it worked fine after this. (note that it's just a quick fix).

Worked for me too! xoxo

NiccPasqualetti avatar Sep 19 '25 15:09 NiccPasqualetti

Is the underlying systemd issue already fixed?

mistrjirka avatar Sep 21 '25 21:09 mistrjirka