archinstall icon indicating copy to clipboard operation
archinstall copied to clipboard

Zram issue: can't install arch

Open giacoro opened this issue 1 year ago • 1 comments

Which ISO version are you using?

2025.09.01

The installation log

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

describe the problem

Description of the issue

I was installing on Lenovo Yoga ...

Then I messed up with bootloader and uefi-legacy settings. I rebooted plugged in my iso and tried to install manually. In that case I would simply not see bootloader and having message: no bootable os. With arch install in gives me the error above ...

Virtual machine config:

<domain type="kvm">
  <name>my-arch-machine</name>
  ...
  </devices>
</domain>
/usr/bin/qemu-system-x86_64 -name guest=my-arch-machine,debug-threads=on -object ...

giacoro avatar Sep 19 '25 05:09 giacoro

2025-09-19 05:26:17] - INFO - Enabling service [email protected] [2025-09-19 05:26:17] - ERROR - Unable to start service [email protected]: ['/usr/bin/arch-chroot', '/mnt', 'systemctl', 'enable', '[email protected]'] exited with abnormal exit code [1]: [2025-09-19 05:26:17] - 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', '[email protected]'] 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 "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 1026, in exec_module File "", line 488, in _call_with_frames_removed File "/usr/lib/python3.13/site-packages/archinstall/scripts/guided.py", line 212, in 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 100, in perform_installation installation.setup_swap('zram') ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^ File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 973, in setup_swap self.enable_service('[email protected]') ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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 [email protected]: ['/usr/bin/arch-chroot', '/mnt', 'systemctl', 'enable', '[email protected]'] exited with abnormal exit code [1]:

giacoro avatar Sep 19 '25 05:09 giacoro