archinstall icon indicating copy to clipboard operation
archinstall copied to clipboard

Another issue with archinstall

Open stanleyandroid opened this issue 1 year ago • 3 comments

Which ISO version are you using?

"2015-09-01"

The installation log

[2025-09-18 17:19:09] - DEBUG - Archinstall will not install any ucode.
[2025-09-18 17:19:09] - DEBUG - Optional repositories: [<Repository.Multilib: 'multilib'>, <Repository.Testing: 'testing'>]
[2025-09-18 17:19:37] - INFO - Installing packages: ['base', 'base-devel', 'linux-firmware', 'linux-zen', 'btrfs-progs']
[2025-09-18 17:22:56] - INFO - Setting keyboard language to us
[2025-09-18 17:23:01] - INFO - Keyboard language for this installation is now set to: us
[2025-09-18 17:23:50] - DEBUG - Setting mirrors on target
[2025-09-18 17:23:50] - DEBUG - Mirrorlist:


## Ukraine
Server = https://mirror.hntr.pp.ua/archlinux/$repo/os/$arch
Server = http://mirror.mirohost.net/archlinux/$repo/os/$arch
Server = http://mirror.hntr.pp.ua/archlinux/$repo/os/$arch
Server = https://mirror.mirohost.net/archlinux/$repo/os/$arch
Server = http://mirrors.reitarovskyi.com.ua/archlinux/$repo/os/$arch
Server = http://repo.hyron.dev/archlinux/$repo/os/$arch
Server = https://repo.hyron.dev/archlinux/$repo/os/$arch
Server = https://mirrors.reitarovskyi.com.ua/archlinux/$repo/os/$arch
Server = http://distrohub.kyiv.ua/archlinux/$repo/os/$arch
Server = https://archlinux.ip-connect.vn.ua/$repo/os/$arch
Server = https://distrohub.kyiv.ua/archlinux/$repo/os/$arch
Server = http://mirror.hostiko.network/archlinux/$repo/os/$arch
Server = http://archlinux.ip-connect.vn.ua/$repo/os/$arch
Server = https://mirror.hostiko.network/archlinux/$repo/os/$arch

[2025-09-18 17:23:50] - INFO - Adding bootloader Limine to /dev/sda1
[2025-09-18 17:23:50] - DEBUG - Installing Limine bootloader
[2025-09-18 17:23:50] - INFO - Installing packages: ['limine']
[2025-09-18 17:23:53] - INFO - Limine boot partition: /dev/sda1
[2025-09-18 17:23:53] - DEBUG - Root partition is an encrypted device, identifying by PARTUUID: 051df235-02
[2025-09-18 17:23:53] - DEBUG - kernel parameters: cryptdevice=PARTUUID=051df235-02:root root=/dev/mapper/root rootflags=subvol=@ rw rootfstype=btrfs
[2025-09-18 17:23:53] - INFO - Enabling service systemd-networkd
[2025-09-18 17:23:53] - ERROR - Unable to start service systemd-networkd: ['/usr/bin/arch-chroot', '/mnt', 'systemctl', 'enable', 'systemd-networkd'] exited with abnormal exit code [1]: 
[2025-09-18 17:23:54] - ERROR - Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 669, in enable_service
    self.arch_chroot(f'systemctl enable {service}')
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 684, in arch_chroot
    return self.run_command(cmd)
           ~~~~~~~~~~~~~~~~^^^^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 678, 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', 'systemd-networkd'] 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 113, in perform_installation
    network_config.install_network_config(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    	installation,
     ^^^^^^^^^^^^^
    	config.profile_config,
     ^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/models/network.py", line 145, in install_network_config
    installation.copy_iso_network_config(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    	enable_services=True,  # Sources the ISO network configuration to the install medium.
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 754, in copy_iso_network_config
    self.enable_service(['systemd-networkd', 'systemd-resolved'])
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 671, in enable_service
    raise ServiceException(f'Unable to start service {service}: {err}')
archinstall.lib.exceptions.ServiceException: Unable to start service systemd-networkd: ['/usr/bin/arch-chroot', '/mnt', 'systemctl', 'enable', 'systemd-networkd'] exited with abnormal exit code [1]: 

[2025-09-18 17:23:54] - 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

describe the problem

Description of the issue

I was installing on HP, Xiaomi laptops, VirtualBox also That installation was with option swap not in zram

Crashed in middle of installation

stanleyandroid avatar Sep 18 '25 17:09 stanleyandroid

I got this same error too. Tried switching network types but ran into other errors in doing so.

RATIU5 avatar Sep 18 '25 18:09 RATIU5

i kinda solved it if you want to install see here https://github.com/archlinux/archinstall/issues/3800#issuecomment-3309621778

MythSnipper avatar Sep 18 '25 20:09 MythSnipper

+1

zram

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

IgorKha avatar Sep 18 '25 20:09 IgorKha