archlinux / archinstall

Arch Linux installer - guided, templates etc.
GNU General Public License v3.0
6.33k stars 543 forks source link

lvm luks error #2924

Open Goosegit11 opened 1 day ago

Goosegit11 commented 1 day ago

Which ISO version are you using?

2024-11-01 (latest)

The installation log

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

i want to install LVM on LUKS setup with ext4

Torxed commented 23 hours ago

New version available: archinstall 2.8.6-1 -> 3.0.1-1

Could you try pacman -Sy archinstall and see if that solves the issue?

Goosegit11 commented 21 hours ago

no. with new archinstall, it just stucks there.

Goosegit11 commented 20 hours ago
Setting up LVM config...

^CTraceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/archinstall/lib/disk/device_handler.py", line 395, in _lvm_info_with_retry
    return self._lvm_info(cmd, info_type)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/archinstall/lib/disk/device_handler.py", line 367, in _lvm_info
    raise ValueError('Report does not contain any entry')
ValueError: Report does not contain any entry

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/archinstall", line 8, in <module>
    sys.exit(run_as_a_module())
             ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/archinstall/__init__.py", line 337, in run_as_a_module
    main()
  File "/usr/lib/python3.12/site-packages/archinstall/__init__.py", line 330, in main
    importlib.import_module(mod_name)
  File "/usr/lib/python3.12/importlib/__init__.py", line 90, 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 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/usr/lib/python3.12/site-packages/archinstall/scripts/guided.py", line 186, in <module>
    guided()
  File "/usr/lib/python3.12/site-packages/archinstall/scripts/guided.py", line 182, in guided
    fs_handler.perform_filesystem_operations()
  File "/usr/lib/python3.12/site-packages/archinstall/lib/disk/filesystem.py", line 81, in perform_filesystem_operations
    self.perform_lvm_operations()
  File "/usr/lib/python3.12/site-packages/archinstall/lib/disk/filesystem.py", line 152, in perform_lvm_operations
    self._setup_lvm_encrypted(
  File "/usr/lib/python3.12/site-packages/archinstall/lib/disk/filesystem.py", line 164, in _setup_lvm_encrypted
    self._setup_lvm(lvm_config, enc_mods)
  File "/usr/lib/python3.12/site-packages/archinstall/lib/disk/filesystem.py", line 228, in _setup_lvm
    lv_info = device_handler.lvm_vol_info(lv.name)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/archinstall/lib/disk/device_handler.py", line 406, in lvm_vol_info
    return self._lvm_info_with_retry(cmd, 'lv')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/archinstall/lib/disk/device_handler.py", line 397, in _lvm_info_with_retry
    time.sleep(3)
KeyboardInterrupt