archinstall icon indicating copy to clipboard operation
archinstall copied to clipboard

"archinstall" gives this error

Open VedadKrajina opened this issue 9 months ago • 1 comments

Which ISO version are you using?

archlinux-2025.04.01-x86_64.iso

The installation log

[2025-04-27 04:57:09] - DEBUG - Hardware model detected: HP OMEN by HP Laptop 15-dc0xxx; UEFI mode: True
[2025-04-27 04:57:09] - DEBUG - Processor model detected: Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz
[2025-04-27 04:57:09] - DEBUG - Memory statistics: 6563812 available out of 7969480 total installed
[2025-04-27 04:57:09] - DEBUG - Could not detect virtual system: ['/usr/bin/systemd-detect-virt'] exited with abnormal exit code [1]: none

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

[2025-04-27 04:57:09] - DEBUG - Virtualization detected: None; is VM: False
[2025-04-27 04:57:10] - DEBUG - Graphics devices detected: dict_keys(['Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630]', 'NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1)'])
[2025-04-27 04:57:10] - DEBUG - Disk states before installing:
{
    "blockdevices": [
        {
            "name": "loop0",
            "path": "/dev/loop0",
            "pkname": null,
            "log_sec": 512,
            "size": "841 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": "sda",
            "path": "/dev/sda",
            "pkname": null,
            "log_sec": 512,
            "size": "2011 MiB",
            "pttype": "dos",
            "ptuuid": "81e44903",
            "rota": true,
            "tran": "usb",
            "partn": null,
            "partuuid": null,
            "parttype": null,
            "uuid": "2025-04-01-14-28-13-00",
            "fstype": "iso9660",
            "fsver": "Joliet Extension",
            "fsavail": null,
            "fsuse_percentage": null,
            "type": "disk",
            "mountpoint": null,
            "mountpoints": [],
            "fsroots": [],
            "children": [
                {
                    "name": "sda1",
                    "path": "/dev/sda1",
                    "pkname": "sda",
                    "log_sec": 512,
                    "size": "1006 MiB",
                    "pttype": "dos",
                    "ptuuid": "81e44903",
                    "rota": true,
                    "tran": null,
                    "partn": 1,
                    "partuuid": "81e44903-01",
                    "parttype": "0x0",
                    "uuid": "2025-04-01-14-28-13-00",
                    "fstype": "iso9660",
                    "fsver": "Joliet Extension",
                    "fsavail": null,
                    "fsuse_percentage": null,
                    "type": "part",
                    "mountpoint": null,
                    "mountpoints": [],
                    "fsroots": [],
                    "children": []
                },
                {
                    "name": "sda2",
                    "path": "/dev/sda2",
                    "pkname": "sda",
                    "log_sec": 512,
                    "size": "172 MiB",
                    "pttype": "dos",
                    "ptuuid": "81e44903",
                    "rota": true,
                    "tran": null,
                    "partn": 2,
                    "partuuid": "81e44903-02",
                    "parttype": "0xef",
                    "uuid": "67EB-F7FD",
                    "fstype": "vfat",
                    "fsver": "FAT32",
                    "fsavail": null,
                    "fsuse_percentage": null,
                    "type": "part",
                    "mountpoint": null,
                    "mountpoints": [],
                    "fsroots": [],
                    "children": []
                }
            ]
        },
        {
            "name": "nvme0n1",
            "path": "/dev/nvme0n1",
            "pkname": null,
            "log_sec": 512,
            "size": "244198 MiB",
            "pttype": "gpt",
            "ptuuid": "0d5a0ddc-ed10-48d4-b260-d99cc7c9d934",
            "rota": false,
            "tran": "nvme",
            "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": "nvme0n1p1",
                    "path": "/dev/nvme0n1p1",
                    "pkname": "nvme0n1",
                    "log_sec": 512,
                    "size": "300 MiB",
                    "pttype": "gpt",
                    "ptuuid": "0d5a0ddc-ed10-48d4-b260-d99cc7c9d934",
                    "rota": false,
                    "tran": "nvme",
                    "partn": 1,
                    "partuuid": "3794dca9-4ce2-4a6f-87d2-98740bc087c5",
                    "parttype": "c12a7328-f81f-11d2-ba4b-00a0c93ec93b",
                    "uuid": "A847-574A",
                    "fstype": "vfat",
                    "fsver": "FAT32",
                    "fsavail": null,
                    "fsuse_percentage": null,
                    "type": "part",
                    "mountpoint": null,
                    "mountpoints": [],
                    "fsroots": [],
                    "children": []
                },
                {
                    "name": "nvme0n1p2",
                    "path": "/dev/nvme0n1p2",
                    "pkname": "nvme0n1",
                    "log_sec": 512,
                    "size": "16 MiB",
                    "pttype": "gpt",
                    "ptuuid": "0d5a0ddc-ed10-48d4-b260-d99cc7c9d934",
                    "rota": false,
                    "tran": "nvme",
                    "partn": 2,
                    "partuuid": "af9fd15a-cbd6-4f66-a533-6787aaeb8d3e",
                    "parttype": "e3c9e316-0b5c-4db8-817d-f92df00215ae",
                    "uuid": "397d0b5b-db2e-43e7-b72b-d4ea0ad297f0",
                    "fstype": "btrfs",
                    "fsver": null,
                    "fsavail": null,
                    "fsuse_percentage": null,
                    "type": "part",
                    "mountpoint": null,
                    "mountpoints": [],
                    "fsroots": [],
                    "children": []
                },
                {
                    "name": "nvme0n1p3",
                    "path": "/dev/nvme0n1p3",
                    "pkname": "nvme0n1",
                    "log_sec": 512,
                    "size": "243880 MiB",
                    "pttype": "gpt",
                    "ptuuid": "0d5a0ddc-ed10-48d4-b260-d99cc7c9d934",
                    "rota": false,
                    "tran": "nvme",
                    "partn": 3,
                    "partuuid": "d67de11c-83c5-46c7-b61e-1c650c6b6337",
                    "parttype": "ebd0a0a2-b9e5-4433-87c0-68b6b72699c7",
                    "uuid": "1074A89574A87F5A",
                    "fstype": "ntfs",
                    "fsver": null,
                    "fsavail": null,
                    "fsuse_percentage": null,
                    "type": "part",
                    "mountpoint": null,
                    "mountpoints": [],
                    "fsroots": [],
                    "children": []
                }
            ]
        }
    ]
}
[2025-04-27 04:57:10] - INFO - Fetching Arch Linux package database...
[2025-04-27 04:57:12] - INFO - Checking version...
[2025-04-27 04:57:12] - DEBUG - Failed determine pacman version: ['/usr/bin/pacman', '-Qu', 'archinstall'] exited with abnormal exit code [1]: [?25l[?25h
[2025-04-27 04:57:12] - DEBUG - Mounting /dev/nvme0n1p2: mount /dev/nvme0n1p2 /mnt/arch_btrfs
[2025-04-27 04:57:12] - ERROR - Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/archinstall/lib/disk/device_handler.py", line 780, in mount
    SysCommand(command)
    ~~~~~~~~~~^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/general.py", line 347, in __init__
    self.create_session()
    ~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/general.py", line 387, in create_session
    with SysCommandWorker(
         ~~~~~~~~~~~~~~~~^
    	self.cmd,
     ^^^^^^^^^
    ...<3 lines>...
    	remove_vt100_escape_codes_from_lines=self.remove_vt100_escape_codes_from_lines,
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    	working_directory=self.working_directory) as session:
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/general.py", line 199, in __exit__
    raise SysCallError(
    ...<3 lines>...
    )
archinstall.lib.exceptions.SysCallError: ['/usr/bin/mount', '/dev/nvme0n1p2', '/mnt/arch_btrfs'] exited with abnormal exit code [32]: mount: /mnt/arch_btrfs: can't read superblock on /dev/nvme0n1p2.
       dmesg(1) may have more information after failed mount system call.


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 103, in run_as_a_module
    main()
    ~~~~^^
  File "/usr/lib/python3.13/site-packages/archinstall/__init__.py", line 96, 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 6, in <module>
    from archinstall.lib.disk.filesystem import FilesystemHandler
  File "/usr/lib/python3.13/site-packages/archinstall/lib/disk/filesystem.py", line 9, in <module>
    from ..interactions.general_conf import ask_abort
  File "/usr/lib/python3.13/site-packages/archinstall/lib/interactions/__init__.py", line 1, in <module>
    from .disk_conf import (
    ...<6 lines>...
    )
  File "/usr/lib/python3.13/site-packages/archinstall/lib/interactions/disk_conf.py", line 5, in <module>
    from archinstall.lib.disk.device_handler import device_handler
  File "/usr/lib/python3.13/site-packages/archinstall/lib/disk/device_handler.py", line 876, in <module>
    device_handler = DeviceHandler()
  File "/usr/lib/python3.13/site-packages/archinstall/lib/disk/device_handler.py", line 56, in __init__
    self.load_devices()
    ~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/disk/device_handler.py", line 113, in load_devices
    subvol_infos = self.get_btrfs_info(partition.path, lsblk_info)
  File "/usr/lib/python3.13/site-packages/archinstall/lib/disk/device_handler.py", line 223, in get_btrfs_info
    self.mount(dev_path, self._TMP_BTRFS_MOUNT, create_target_mountpoint=True)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/disk/device_handler.py", line 782, in mount
    raise DiskError(f'Could not mount {dev_path}: {command}\n{err.message}')
archinstall.lib.exceptions.DiskError: Could not mount /dev/nvme0n1p2: mount /dev/nvme0n1p2 /mnt/arch_btrfs
['/usr/bin/mount', '/dev/nvme0n1p2', '/mnt/arch_btrfs'] exited with abnormal exit code [32]: mount: /mnt/arch_btrfs: can't read superblock on /dev/nvme0n1p2.
       dmesg(1) may have more information after failed mount system call.


[2025-04-27 04:57:13] - 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-04-27 02:58:25] - DEBUG - Hardware model detected: HP OMEN by HP Laptop 15-dc0xxx; UEFI mode: True
[2025-04-27 02:58:25] - DEBUG - Processor model detected: Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz
[2025-04-27 02:58:25] - DEBUG - Memory statistics: 6558408 available out of 7969480 total installed
[2025-04-27 02:58:25] - DEBUG - Could not detect virtual system: ['/usr/bin/systemd-detect-virt'] exited with abnormal exit code [1]: none

[2025-04-27 02:58:25] - DEBUG - System is not running in a VM: ['/usr/bin/systemd-detect-virt'] exited with abnormal exit code [1]: none

[2025-04-27 02:58:25] - DEBUG - Virtualization detected: None; is VM: False
[2025-04-27 02:58:26] - DEBUG - Graphics devices detected: dict_keys(['Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630]', 'NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1)'])
[2025-04-27 02:58:26] - DEBUG - Disk states before installing:
{
    "blockdevices": [
        {
            "name": "loop0",
            "path": "/dev/loop0",
            "pkname": null,
            "log_sec": 512,
            "size": "841 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": "sda",
            "path": "/dev/sda",
            "pkname": null,
            "log_sec": 512,
            "size": "2011 MiB",
            "pttype": "dos",
            "ptuuid": "81e44903",
            "rota": true,
            "tran": "usb",
            "partn": null,
            "partuuid": null,
            "parttype": null,
            "uuid": "2025-04-01-14-28-13-00",
            "fstype": "iso9660",
            "fsver": "Joliet Extension",
            "fsavail": null,
            "fsuse_percentage": null,
            "type": "disk",
            "mountpoint": null,
            "mountpoints": [],
            "fsroots": [],
            "children": [
                {
                    "name": "sda1",
                    "path": "/dev/sda1",
                    "pkname": "sda",
                    "log_sec": 512,
                    "size": "1006 MiB",
                    "pttype": "dos",
                    "ptuuid": "81e44903",
                    "rota": true,
                    "tran": null,
                    "partn": 1,
                    "partuuid": "81e44903-01",
                    "parttype": "0x0",
                    "uuid": "2025-04-01-14-28-13-00",
                    "fstype": "iso9660",
                    "fsver": "Joliet Extension",
                    "fsavail": null,
                    "fsuse_percentage": null,
                    "type": "part",
                    "mountpoint": null,
                    "mountpoints": [],
                    "fsroots": [],
                    "children": []
                },
                {
                    "name": "sda2",
                    "path": "/dev/sda2",
                    "pkname": "sda",
                    "log_sec": 512,
                    "size": "172 MiB",
                    "pttype": "dos",
                    "ptuuid": "81e44903",
                    "rota": true,
                    "tran": null,
                    "partn": 2,
                    "partuuid": "81e44903-02",
                    "parttype": "0xef",
                    "uuid": "67EB-F7FD",
                    "fstype": "vfat",
                    "fsver": "FAT32",
                    "fsavail": null,
                    "fsuse_percentage": null,
                    "type": "part",
                    "mountpoint": null,
                    "mountpoints": [],
                    "fsroots": [],
                    "children": []
                }
            ]
        },
        {
            "name": "nvme0n1",
            "path": "/dev/nvme0n1",
            "pkname": null,
            "log_sec": 512,
            "size": "244198 MiB",
            "pttype": "gpt",
            "ptuuid": "0d5a0ddc-ed10-48d4-b260-d99cc7c9d934",
            "rota": false,
            "tran": "nvme",
            "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": "nvme0n1p1",
                    "path": "/dev/nvme0n1p1",
                    "pkname": "nvme0n1",
                    "log_sec": 512,
                    "size": "300 MiB",
                    "pttype": "gpt",
                    "ptuuid": "0d5a0ddc-ed10-48d4-b260-d99cc7c9d934",
                    "rota": false,
                    "tran": "nvme",
                    "partn": 1,
                    "partuuid": "3794dca9-4ce2-4a6f-87d2-98740bc087c5",
                    "parttype": "c12a7328-f81f-11d2-ba4b-00a0c93ec93b",
                    "uuid": "A847-574A",
                    "fstype": "vfat",
                    "fsver": "FAT32",
                    "fsavail": null,
                    "fsuse_percentage": null,
                    "type": "part",
                    "mountpoint": null,
                    "mountpoints": [],
                    "fsroots": [],
                    "children": []
                },
                {
                    "name": "nvme0n1p2",
                    "path": "/dev/nvme0n1p2",
                    "pkname": "nvme0n1",
                    "log_sec": 512,
                    "size": "16 MiB",
                    "pttype": "gpt",
                    "ptuuid": "0d5a0ddc-ed10-48d4-b260-d99cc7c9d934",
                    "rota": false,
                    "tran": "nvme",
                    "partn": 2,
                    "partuuid": "af9fd15a-cbd6-4f66-a533-6787aaeb8d3e",
                    "parttype": "e3c9e316-0b5c-4db8-817d-f92df00215ae",
                    "uuid": "397d0b5b-db2e-43e7-b72b-d4ea0ad297f0",
                    "fstype": "btrfs",
                    "fsver": null,
                    "fsavail": null,
                    "fsuse_percentage": null,
                    "type": "part",
                    "mountpoint": null,
                    "mountpoints": [],
                    "fsroots": [],
                    "children": []
                },
                {
                    "name": "nvme0n1p3",
                    "path": "/dev/nvme0n1p3",
                    "pkname": "nvme0n1",
                    "log_sec": 512,
                    "size": "243880 MiB",
                    "pttype": "gpt",
                    "ptuuid": "0d5a0ddc-ed10-48d4-b260-d99cc7c9d934",
                    "rota": false,
                    "tran": "nvme",
                    "partn": 3,
                    "partuuid": "d67de11c-83c5-46c7-b61e-1c650c6b6337",
                    "parttype": "ebd0a0a2-b9e5-4433-87c0-68b6b72699c7",
                    "uuid": "1074A89574A87F5A",
                    "fstype": "ntfs",
                    "fsver": null,
                    "fsavail": null,
                    "fsuse_percentage": null,
                    "type": "part",
                    "mountpoint": null,
                    "mountpoints": [],
                    "fsroots": [],
                    "children": []
                }
            ]
        }
    ]
}
[2025-04-27 02:58:26] - INFO - Fetching Arch Linux package database...
[2025-04-27 02:58:27] - INFO - Checking version...
[2025-04-27 02:58:28] - DEBUG - Failed determine pacman version: ['/usr/bin/pacman', '-Qu', 'archinstall'] exited with abnormal exit code [1]: [?25l[?25h
[2025-04-27 02:58:28] - DEBUG - Mounting /dev/nvme0n1p2: mount /dev/nvme0n1p2 /mnt/arch_btrfs
[2025-04-27 02:58:28] - ERROR - Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/archinstall/lib/disk/device_handler.py", line 780, in mount
    SysCommand(command)
    ~~~~~~~~~~^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/general.py", line 347, in __init__
    self.create_session()
    ~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/general.py", line 387, in create_session
    with SysCommandWorker(
         ~~~~~~~~~~~~~~~~^
    	self.cmd,
     ^^^^^^^^^
    ...<3 lines>...
    	remove_vt100_escape_codes_from_lines=self.remove_vt100_escape_codes_from_lines,
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    	working_directory=self.working_directory) as session:
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/general.py", line 199, in __exit__
    raise SysCallError(
    ...<3 lines>...
    )
archinstall.lib.exceptions.SysCallError: ['/usr/bin/mount', '/dev/nvme0n1p2', '/mnt/arch_btrfs'] exited with abnormal exit code [32]: mount: /mnt/arch_btrfs: can't read superblock on /dev/nvme0n1p2.
       dmesg(1) may have more information after failed mount system call.


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 103, in run_as_a_module
    main()
    ~~~~^^
  File "/usr/lib/python3.13/site-packages/archinstall/__init__.py", line 96, 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 6, in <module>
    from archinstall.lib.disk.filesystem import FilesystemHandler
  File "/usr/lib/python3.13/site-packages/archinstall/lib/disk/filesystem.py", line 9, in <module>
    from ..interactions.general_conf import ask_abort
  File "/usr/lib/python3.13/site-packages/archinstall/lib/interactions/__init__.py", line 1, in <module>
    from .disk_conf import (
    ...<6 lines>...
    )
  File "/usr/lib/python3.13/site-packages/archinstall/lib/interactions/disk_conf.py", line 5, in <module>
    from archinstall.lib.disk.device_handler import device_handler
  File "/usr/lib/python3.13/site-packages/archinstall/lib/disk/device_handler.py", line 876, in <module>
    device_handler = DeviceHandler()
  File "/usr/lib/python3.13/site-packages/archinstall/lib/disk/device_handler.py", line 56, in __init__
    self.load_devices()
    ~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/disk/device_handler.py", line 113, in load_devices
    subvol_infos = self.get_btrfs_info(partition.path, lsblk_info)
  File "/usr/lib/python3.13/site-packages/archinstall/lib/disk/device_handler.py", line 223, in get_btrfs_info
    self.mount(dev_path, self._TMP_BTRFS_MOUNT, create_target_mountpoint=True)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/disk/device_handler.py", line 782, in mount
    raise DiskError(f'Could not mount {dev_path}: {command}\n{err.message}')
archinstall.lib.exceptions.DiskError: Could not mount /dev/nvme0n1p2: mount /dev/nvme0n1p2 /mnt/arch_btrfs
['/usr/bin/mount', '/dev/nvme0n1p2', '/mnt/arch_btrfs'] exited with abnormal exit code [32]: mount: /mnt/arch_btrfs: can't read superblock on /dev/nvme0n1p2.
       dmesg(1) may have more information after failed mount system call.


[2025-04-27 02:58:28] - 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

installing arch on my laptop and when i typed archinstall it waited a bit and then spit out the error above. It wasnt a virtual machine

VedadKrajina avatar Apr 27 '25 03:04 VedadKrajina

Are you intending on using the entire disk for Arch? If so, can you try manually wiping the disk first before you run archinstall?

Torxed avatar Apr 27 '25 08:04 Torxed