archinstall icon indicating copy to clipboard operation
archinstall copied to clipboard

Crash: Mountpoint is not specified

Open LorenzoBettini opened this issue 5 months ago • 20 comments

Which ISO version are you using?

2025-07-01

The installation log

[2025-07-28 17:35:48] - DEBUG - Hardware model detected: QEMU Standard PC (Q35 + ICH9, 2009); UEFI mode: True
[2025-07-28 17:35:48] - DEBUG - Processor model detected: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
[2025-07-28 17:35:48] - DEBUG - Memory statistics: 7653028 available out of 8106544 total installed
[2025-07-28 17:35:48] - DEBUG - Virtualization detected: kvm; is VM: True
[2025-07-28 17:35:48] - DEBUG - Graphics devices detected: dict_keys(['Red Hat, Inc. Virtio 1.0 GPU (rev 01)'])
[2025-07-28 17:35:48] - DEBUG - Disk states before installing:
{
    "blockdevices": [
        {
            "name": "loop0",
            "path": "/dev/loop0",
            "pkname": null,
            "log_sec": 512,
            "size": "942 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": "sr0",
            "path": "/dev/sr0",
            "pkname": null,
            "log_sec": 2048,
            "size": "1294 MiB",
            "pttype": "dos",
            "ptuuid": "9935aeb5",
            "rota": false,
            "tran": "sata",
            "partn": null,
            "partuuid": null,
            "parttype": null,
            "uuid": "2025-07-01-17-34-06-00",
            "fstype": "iso9660",
            "fsver": "Joliet Extension",
            "fsavail": 0,
            "fsuse_percentage": "100%",
            "type": "rom",
            "mountpoint": "/run/archiso/bootmnt",
            "mountpoints": [
                "/run/archiso/bootmnt"
            ],
            "fsroots": [
                "/"
            ],
            "children": []
        },
        {
            "name": "vda",
            "path": "/dev/vda",
            "pkname": null,
            "log_sec": 512,
            "size": "102400 MiB",
            "pttype": "gpt",
            "ptuuid": "2634f6fc-4cb3-47fd-b202-3042c21dd890",
            "rota": true,
            "tran": "virtio",
            "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": "vda1",
                    "path": "/dev/vda1",
                    "pkname": "vda",
                    "log_sec": 512,
                    "size": "500 MiB",
                    "pttype": "gpt",
                    "ptuuid": "2634f6fc-4cb3-47fd-b202-3042c21dd890",
                    "rota": true,
                    "tran": "virtio",
                    "partn": 1,
                    "partuuid": "ac8463f5-f436-430a-8b37-79e702b8fd61",
                    "parttype": "c12a7328-f81f-11d2-ba4b-00a0c93ec93b",
                    "uuid": "9348-423F",
                    "fstype": "vfat",
                    "fsver": "FAT16",
                    "fsavail": null,
                    "fsuse_percentage": null,
                    "type": "part",
                    "mountpoint": null,
                    "mountpoints": [],
                    "fsroots": [],
                    "children": []
                },
                {
                    "name": "vda2",
                    "path": "/dev/vda2",
                    "pkname": "vda",
                    "log_sec": 512,
                    "size": "51200 MiB",
                    "pttype": "gpt",
                    "ptuuid": "2634f6fc-4cb3-47fd-b202-3042c21dd890",
                    "rota": true,
                    "tran": "virtio",
                    "partn": 2,
                    "partuuid": "e293d628-4244-4d51-9480-eb34c13401bd",
                    "parttype": "4f68bce3-e8cd-4db1-96e7-fbcaf984b709",
                    "uuid": "8a86ce96-3511-4015-b592-d82d0854e812",
                    "fstype": "ext4",
                    "fsver": "1.0",
                    "fsavail": null,
                    "fsuse_percentage": null,
                    "type": "part",
                    "mountpoint": null,
                    "mountpoints": [],
                    "fsroots": [],
                    "children": []
                },
                {
                    "name": "vda3",
                    "path": "/dev/vda3",
                    "pkname": "vda",
                    "log_sec": 512,
                    "size": "50698 MiB",
                    "pttype": "gpt",
                    "ptuuid": "2634f6fc-4cb3-47fd-b202-3042c21dd890",
                    "rota": true,
                    "tran": "virtio",
                    "partn": 3,
                    "partuuid": "aef0e476-9cfa-4a44-ada7-88c6be45ce30",
                    "parttype": "0fc63daf-8483-4772-8e79-3d69d8477de4",
                    "uuid": "07bebede-a85c-40a8-a855-f7816bb3353e",
                    "fstype": "btrfs",
                    "fsver": null,
                    "fsavail": null,
                    "fsuse_percentage": null,
                    "type": "part",
                    "mountpoint": null,
                    "mountpoints": [],
                    "fsroots": [],
                    "children": []
                }
            ]
        }
    ]
}
[2025-07-28 17:35:48] - INFO - Fetching Arch Linux package database...
[2025-07-28 17:35:49] - INFO - Checking version...
[2025-07-28 17:35:49] - DEBUG - Failed to check for package upgrades: archinstall
[2025-07-28 17:35:49] - DEBUG - No archinstall upgrades found
[2025-07-28 17:35:49] - DEBUG - Mounting /dev/vda3: mount /dev/vda3 /mnt/arch_btrfs
[2025-07-28 17:35:49] - DEBUG - Partition /dev/vda3 is currently mounted at: ['/mnt/arch_btrfs']
[2025-07-28 17:35:49] - DEBUG - Unmounting mountpoint: /mnt/arch_btrfs
[2025-07-28 17:36:45] - DEBUG - Creating yescrypt hash with rounds 5
[2025-07-28 17:36:54] - DEBUG - Creating yescrypt hash with rounds 5
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/__init__.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/custom.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktop.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/minimal.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/server.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/tailored.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/xorg.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/applications/__init__.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/applications/pipewire.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/__init__.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/awesome.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/bspwm.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/budgie.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/cinnamon.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/cosmic.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/cutefish.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/deepin.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/enlightenment.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/gnome.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/hyprland.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/i3.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/labwc.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/lxqt.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/mate.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/niri.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/plasma.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/qtile.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/river.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/sway.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/xfce4.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/desktops/xmonad.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/servers/__init__.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/servers/cockpit.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/servers/docker.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/servers/httpd.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/servers/lighttpd.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/servers/mariadb.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/servers/nginx.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/servers/postgresql.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/servers/sshd.py
[2025-07-28 17:37:01] - DEBUG - Importing profile: /usr/lib/python3.13/site-packages/archinstall/default_profiles/servers/tomcat.py
[2025-07-28 17:37:19] - DEBUG -  -- Chosen configuration --
[2025-07-28 17:37:19] - DEBUG - {
    "archinstall-language": "English",
    "audio_config": {
        "audio": "pipewire"
    },
    "bootloader": "Grub",
    "custom_commands": [],
    "disk_config": {
        "btrfs_options": {
            "snapshot_config": null
        },
        "config_type": "manual_partitioning",
        "device_modifications": [
            {
                "device": "/dev/vda",
                "partitions": [
                    {
                        "btrfs": [],
                        "dev_path": "/dev/vda1",
                        "flags": [
                            "boot",
                            "esp"
                        ],
                        "fs_type": "fat16",
                        "mount_options": [],
                        "mountpoint": "/boot",
                        "obj_id": "79c6d365-1916-49db-8463-45550d7133df",
                        "size": {
                            "sector_size": {
                                "unit": "B",
                                "value": 512
                            },
                            "unit": "B",
                            "value": 524288000
                        },
                        "start": {
                            "sector_size": {
                                "unit": "B",
                                "value": 512
                            },
                            "unit": "sectors",
                            "value": 2048
                        },
                        "status": "existing",
                        "type": "primary"
                    },
                    {
                        "btrfs": [],
                        "dev_path": "/dev/vda2",
                        "flags": [],
                        "fs_type": "ext4",
                        "mount_options": [],
                        "mountpoint": "/",
                        "obj_id": "871c61d5-b085-4c5c-94ea-9e99b481c1b1",
                        "size": {
                            "sector_size": {
                                "unit": "B",
                                "value": 512
                            },
                            "unit": "B",
                            "value": 53687091200
                        },
                        "start": {
                            "sector_size": {
                                "unit": "B",
                                "value": 512
                            },
                            "unit": "sectors",
                            "value": 1026048
                        },
                        "status": "modify",
                        "type": "primary"
                    },
                    {
                        "btrfs": [
                            {
                                "mountpoint": "None",
                                "name": "@"
                            },
                            {
                                "mountpoint": "None",
                                "name": "@home"
                            },
                            {
                                "mountpoint": "None",
                                "name": "@cache"
                            },
                            {
                                "mountpoint": "None",
                                "name": "@log"
                            },
                            {
                                "mountpoint": "None",
                                "name": "@/var/lib/portables"
                            },
                            {
                                "mountpoint": "None",
                                "name": "@/var/lib/machines"
                            }
                        ],
                        "dev_path": "/dev/vda3",
                        "flags": [],
                        "fs_type": "btrfs",
                        "mount_options": [],
                        "mountpoint": null,
                        "obj_id": "bea902d9-52e7-45cc-bb3c-7ddb024a12e8",
                        "size": {
                            "sector_size": {
                                "unit": "B",
                                "value": 512
                            },
                            "unit": "B",
                            "value": 53161737728
                        },
                        "start": {
                            "sector_size": {
                                "unit": "B",
                                "value": 512
                            },
                            "unit": "sectors",
                            "value": 105883648
                        },
                        "status": "existing",
                        "type": "primary"
                    }
                ],
                "wipe": false
            }
        ]
    },
    "hostname": "archlinux",
    "kernels": [
        "linux"
    ],
    "locale_config": {
        "kb_layout": "it",
        "sys_enc": "UTF-8",
        "sys_lang": "en_US.UTF-8"
    },
    "network_config": {
        "type": "nm"
    },
    "ntp": true,
    "packages": [],
    "parallel_downloads": 0,
    "profile_config": {
        "gfx_driver": "All open-source",
        "greeter": "gdm",
        "profile": {
            "custom_settings": {
                "GNOME": {}
            },
            "details": [
                "GNOME"
            ],
            "main": "Desktop"
        }
    },
    "services": [],
    "swap": true,
    "timezone": "Europe/Rome",
    "version": null
}
[2025-07-28 17:37:25] - DEBUG - Unmounting all existing partitions: /dev/vda
[2025-07-28 17:37:25] - DEBUG - Unmounting: /dev/vda1
[2025-07-28 17:37:25] - DEBUG - Unmounting: /dev/vda2
[2025-07-28 17:37:25] - DEBUG - Unmounting: /dev/vda3
[2025-07-28 17:37:25] - INFO - Use existing device: /dev/vda
[2025-07-28 17:37:25] - INFO - Creating partitions: /dev/vda
[2025-07-28 17:37:25] - INFO - Delete existing partition: /dev/vda2
[2025-07-28 17:37:25] - DEBUG - 	Type: primary
[2025-07-28 17:37:25] - DEBUG - 	Filesystem: ext4
[2025-07-28 17:37:25] - DEBUG - 	Geometry: 1026048 start sector, 104857600 length
[2025-07-28 17:37:25] - DEBUG - Formatting filesystem: mkfs.ext4 -F /dev/vda2
[2025-07-28 17:37:25] - DEBUG - partition information found: {"name":"vda2","path":"/dev/vda2","pkname":"vda","log_sec":512,"size":"51200 MiB","pttype":"gpt","ptuuid":"2634f6fc-4cb3-47fd-b202-3042c21dd890","rota":true,"tran":"virtio","partn":2,"partuuid":"96755112-01b6-4acf-b324-2706385f83cb","parttype":"4f68bce3-e8cd-4db1-96e7-fbcaf984b709","uuid":"dcbc6822-57ae-40b9-959b-947db19ee211","fstype":"ext4","fsver":"1.0","fsavail":null,"fsuse_percentage":null,"type":"part","mountpoint":null,"mountpoints":[],"fsroots":[],"children":[]}
[2025-07-28 17:37:25] - INFO - Starting installation...
[2025-07-28 17:37:25] - DEBUG - Mounting ordered layout
[2025-07-28 17:37:25] - DEBUG - No lvm config defined to be mounted
[2025-07-28 17:37:25] - DEBUG - Mounting partition layout
[2025-07-28 17:37:25] - DEBUG - Mounting /dev/vda2: mount /dev/vda2 /mnt
[2025-07-28 17:37:25] - ERROR - Mountpoint is not specified
[2025-07-28 17:37:25] - ERROR - 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 210, in <module>
    guided()
    ~~~~~~^^
  File "/usr/lib/python3.13/site-packages/archinstall/scripts/guided.py", line 207, in guided
    perform_installation(arch_config_handler.args.mountpoint)
    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/archinstall/scripts/guided.py", line 75, in perform_installation
    installation.mount_ordered_layout()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 256, in mount_ordered_layout
    self._mount_partition_layout(luks_handlers)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 287, in _mount_partition_layout
    self._mount_partition(part_mod)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 357, in _mount_partition
    self._mount_btrfs_subvol(
    ~~~~~~~~~~~~~~~~~~~~~~~~^
    	part_mod.dev_path,
     ^^^^^^^^^^^^^^^^^^
    	part_mod.btrfs_subvols,
     ^^^^^^^^^^^^^^^^^^^^^^^
    	part_mod.mount_options,
     ^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 399, in _mount_btrfs_subvol
    for subvol in sorted(subvolumes, key=lambda x: x.relative_mountpoint):
                  ~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 399, in <lambda>
    for subvol in sorted(subvolumes, key=lambda x: x.relative_mountpoint):
                                                   ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/models/device_model.py", line 657, in relative_mountpoint
    raise ValueError('Mountpoint is not specified')
ValueError: Mountpoint is not specified

[2025-07-28 17:37:25] - 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

I see this error has already been reported, e.g., https://github.com/archlinux/archinstall/issues/2324, and declared as fixed, but it looks like it appears again, so maybe it is not fixed.

In a virtual machine, I specified to format an existing partition mount as / ext4, specified the existing efi partition to be mount as /boot, and simply ignore the existing partition BTRFS.

Still, the installation immediately crashes.

LorenzoBettini avatar Jul 28 '25 17:07 LorenzoBettini

Additional experiments: the only way to make the installation go on is to mount the BTRFS partition (which I didn't want to, since that should stay unrelated). But, to do that, I have to specify to wipe it. Interestingly, I then have to specify a mount point for all the existing subvolumes...

LorenzoBettini avatar Jul 28 '25 18:07 LorenzoBettini

Moreover, the reported /dev/vda2 is the requested partition to be formatted as ext4 and mounted as /. So the error doesn't seem to be on the other BTRFS partition which is /dev/vda3. However, as said in the previous comment, the only way to make the installer proceed is to also mount the BTRFS partition.

LorenzoBettini avatar Jul 28 '25 18:07 LorenzoBettini

Oh... when I reboot, I cannot get into the installed system because of this:

Image

Looks like the installer is completely confused by the existing BTRFS partition and cannot even install properly onto the formatted EXT4?

LorenzoBettini avatar Jul 28 '25 18:07 LorenzoBettini

I also tried, removing the existing BTRFS (vda3) and create another BTRFS on vda2 (I tried giving up on EXT4 for the moment), and specified two subvolumes @ for / and @home for /home.

The problem is always the same:

[2025-07-28 19:45:53] - DEBUG - Unmounting all existing partitions: /dev/vda
[2025-07-28 19:45:53] - DEBUG - Unmounting: /dev/vda1
[2025-07-28 19:45:53] - DEBUG - Unmounting: /dev/vda2
[2025-07-28 19:45:53] - DEBUG - Unmounting: /dev/vda3
[2025-07-28 19:45:53] - INFO - Use existing device: /dev/vda
[2025-07-28 19:45:53] - INFO - Creating partitions: /dev/vda
[2025-07-28 19:45:53] - INFO - Delete existing partition: /dev/vda2
[2025-07-28 19:45:53] - DEBUG - 	Type: primary
[2025-07-28 19:45:53] - DEBUG - 	Filesystem: btrfs
[2025-07-28 19:45:53] - DEBUG - 	Geometry: 1026048 start sector, 104857600 length
[2025-07-28 19:45:53] - DEBUG - Formatting filesystem: mkfs.btrfs -f /dev/vda2
[2025-07-28 19:45:53] - DEBUG - partition information found: {"name":"vda2","path":"/dev/vda2","pkname":"vda","log_sec":512,"size":"51200 MiB","pttype":"gpt","ptuuid":"2634f6fc-4cb3-47fd-b202-3042c21dd890","rota":true,"tran":"virtio","partn":2,"partuuid":"40812efe-760f-419e-97af-db002a451178","parttype":"4f68bce3-e8cd-4db1-96e7-fbcaf984b709","uuid":"b8c2b548-152e-4685-8bb1-7a26becfe0ba","fstype":"btrfs","fsver":null,"fsavail":null,"fsuse_percentage":null,"type":"part","mountpoint":null,"mountpoints":[],"fsroots":[],"children":[]}
[2025-07-28 19:45:53] - INFO - Creating subvolumes: /dev/vda2
[2025-07-28 19:45:53] - DEBUG - Mounting /dev/vda2: mount -o compress=zstd /dev/vda2 /mnt/arch_btrfs
[2025-07-28 19:45:53] - DEBUG - Creating subvolume: @
[2025-07-28 19:45:53] - DEBUG - Creating subvolume: @home
[2025-07-28 19:45:53] - DEBUG - Partition /dev/vda2 is currently mounted at: ['/mnt/arch_btrfs']
[2025-07-28 19:45:53] - DEBUG - Unmounting mountpoint: /mnt/arch_btrfs
[2025-07-28 19:45:53] - INFO - Starting installation...
[2025-07-28 19:45:53] - DEBUG - Mounting ordered layout
[2025-07-28 19:45:53] - DEBUG - No lvm config defined to be mounted
[2025-07-28 19:45:53] - DEBUG - Mounting partition layout
[2025-07-28 19:45:53] - DEBUG - Mounting /dev/vda2: mount -o compress=zstd,subvol=@ /dev/vda2 /mnt
[2025-07-28 19:45:53] - DEBUG - Mounting /dev/vda2: mount -o compress=zstd,subvol=@home /dev/vda2 /mnt/home
[2025-07-28 19:45:53] - ERROR - Mountpoint is not specified
[2025-07-28 19:45:53] - ERROR - 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 210, in <module>
    guided()
    ~~~~~~^^
  File "/usr/lib/python3.13/site-packages/archinstall/scripts/guided.py", line 207, in guided
    perform_installation(arch_config_handler.args.mountpoint)
    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/archinstall/scripts/guided.py", line 75, in perform_installation
    installation.mount_ordered_layout()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 256, in mount_ordered_layout
    self._mount_partition_layout(luks_handlers)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 287, in _mount_partition_layout
    self._mount_partition(part_mod)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 357, in _mount_partition
    self._mount_btrfs_subvol(
    ~~~~~~~~~~~~~~~~~~~~~~~~^
    	part_mod.dev_path,
     ^^^^^^^^^^^^^^^^^^
    	part_mod.btrfs_subvols,
     ^^^^^^^^^^^^^^^^^^^^^^^
    	part_mod.mount_options,
     ^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 399, in _mount_btrfs_subvol
    for subvol in sorted(subvolumes, key=lambda x: x.relative_mountpoint):
                  ~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 399, in <lambda>
    for subvol in sorted(subvolumes, key=lambda x: x.relative_mountpoint):
                                                   ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/models/device_model.py", line 657, in relative_mountpoint
    raise ValueError('Mountpoint is not specified')
ValueError: Mountpoint is not specified

Maybe the installer cannot simply be used in the presence of an existing BTRFS partition or when manually adding a BTRFS partition with subvolumes...

LorenzoBettini avatar Jul 28 '25 19:07 LorenzoBettini

So to understand, you have manually formatted and setup BTRS on a partition and now want to use that inside archinstall? If that's the case then that's not supported at the moment (related https://github.com/archlinux/archinstall/issues/2290)

svartkanin avatar Jul 29 '25 18:07 svartkanin

Not really. That was an experiment. In the original scenario, I don't want to use the existing btrfs partition at all. I'd want to create and use an ext4 partition. But the existing btrfs partition just breaks everything.

LorenzoBettini avatar Jul 29 '25 18:07 LorenzoBettini

Do I understand you correctly when I say that you wanted it to skip or ignore /dev/vda3 all together, but archinstall fails to do so?

Torxed avatar Jul 29 '25 19:07 Torxed

@Torxed exactly! That was what I tried as the first experiment: mount the existing EFI partition as /boot, specify to format as EXT4 /dev/vda2 and mount it as /, and completely ignore the existing BTRFS /dev/vda3.

The original log shows

[2025-07-28 17:37:25] - DEBUG - Unmounting all existing partitions: /dev/vda
[2025-07-28 17:37:25] - DEBUG - Unmounting: /dev/vda1
[2025-07-28 17:37:25] - DEBUG - Unmounting: /dev/vda2
[2025-07-28 17:37:25] - DEBUG - Unmounting: /dev/vda3
[2025-07-28 17:37:25] - INFO - Use existing device: /dev/vda
[2025-07-28 17:37:25] - INFO - Creating partitions: /dev/vda
[2025-07-28 17:37:25] - INFO - Delete existing partition: /dev/vda2
[2025-07-28 17:37:25] - DEBUG - 	Type: primary
[2025-07-28 17:37:25] - DEBUG - 	Filesystem: ext4
[2025-07-28 17:37:25] - DEBUG - 	Geometry: 1026048 start sector, 104857600 length
[2025-07-28 17:37:25] - DEBUG - Formatting filesystem: mkfs.ext4 -F /dev/vda2
[2025-07-28 17:37:25] - DEBUG - partition information found: {"name":"vda2","path":"/dev/vda2","pkname":"vda","log_sec":512,"size":"51200 MiB","pttype":"gpt","ptuuid":"2634f6fc-4cb3-47fd-b202-3042c21dd890","rota":true,"tran":"virtio","partn":2,"partuuid":"96755112-01b6-4acf-b324-2706385f83cb","parttype":"4f68bce3-e8cd-4db1-96e7-fbcaf984b709","uuid":"dcbc6822-57ae-40b9-959b-947db19ee211","fstype":"ext4","fsver":"1.0","fsavail":null,"fsuse_percentage":null,"type":"part","mountpoint":null,"mountpoints":[],"fsroots":[],"children":[]}
[2025-07-28 17:37:25] - INFO - Starting installation...
[2025-07-28 17:37:25] - DEBUG - Mounting ordered layout
[2025-07-28 17:37:25] - DEBUG - No lvm config defined to be mounted
[2025-07-28 17:37:25] - DEBUG - Mounting partition layout
[2025-07-28 17:37:25] - DEBUG - Mounting /dev/vda2: mount /dev/vda2 /mnt
[2025-07-28 17:37:25] - ERROR - Mountpoint is not specified
[2025-07-28 17:37:25] - ERROR - Traceback (most recent call last):

I seem to understand that the installer correctly formats /dev/vda2 as EXT4, but then it fails to mount it. It is as if the presence of the BTRFS partition disturbs the installer.

In the other comments, I tried additional experiments, but the original problem is exactly as you said. The presence of an existing BTRFS partition, even if ignored during the manual partitioning, disturbs the installer.

LorenzoBettini avatar Jul 30 '25 05:07 LorenzoBettini

I specified to format an existing partition mount as / ext4, specified the existing efi partition to be mount as /boot, and simply ignore the existing partition BTRFS.

Still, the installation immediately crashes.

exactly the same problem that I got now, same partition scheme, archinstall crashed. only difference, I was trying to install the latest ISO, of August

djlalle avatar Aug 02 '25 19:08 djlalle

only difference, I was trying to install the latest ISO, of August

I don't think anything has changed concerning archinstall in the August ISO. I forgot to mention that I had also tried with the latest archinstall git.

LorenzoBettini avatar Aug 02 '25 19:08 LorenzoBettini

The presence of an existing BTRFS partition, even if ignored during the manual partitioning, disturbs the installer.

Thank you for clarifying!

Torxed avatar Aug 03 '25 08:08 Torxed

the existing BTRFS partition seems the problem. I have formatted it to EXT4 during the installation and I had no crash anymore.

djlalle avatar Aug 05 '25 19:08 djlalle

the existing BTRFS partition seems the problem. I have formatted it to EXT4 during the installation and I had no crash anymore.

Yes, I also did that experiment, and confirm that.

LorenzoBettini avatar Aug 05 '25 20:08 LorenzoBettini

I would assumed that manual intervention would solve it. But we should fix this, I think I need to push a release before this, but after that I can take a look at this if no one beats me to it with a PR.

Torxed avatar Aug 06 '25 09:08 Torxed

I would assumed that manual intervention would solve it. But we should fix this, I think I need to push a release before this, but after that I can take a look at this if no one beats me to it with a PR.

As soon as you have something to test I can do that on the same virtual machine I used for the original report.

LorenzoBettini avatar Aug 06 '25 11:08 LorenzoBettini

That would be great! Would you be able to post the configuration you're using for that VM? Bot the QEMU parameters as well as the disk layout+fs types before install?

I would love to get that into my test bench that I've built for archinstall, so I can simulate that "edge case" so to speak. I'd still welcome your verification and testing, this is more for myself for each release cycle.

Torxed avatar Aug 06 '25 13:08 Torxed

Ran into this as well. My setup is quite simple: I installed opensuse tumbleweed on a clean disk, shrunk the existing btrfs partition, and am trying to install arch with btrfs in the newly created hole.

mid-kid avatar Aug 18 '25 18:08 mid-kid

That would be great! Would you be able to post the configuration you're using for that VM? Bot the QEMU parameters as well as the disk layout+fs types before install?

I would love to get that into my test bench that I've built for archinstall, so I can simulate that "edge case" so to speak. I'd still welcome your verification and testing, this is more for myself for each release cycle.

@Torxed, sorry, I still couldn't access my VM.

How can I retrieve the QEMU parameters you need? Is using EFI enough concerning the important parameters? I also use 3d acceleration, but I don't think that is crucial.

As for the FS layout (as others have reported later, I seem to understand the problematic situation is always the same: an existing BTRFS partition), I think an easy way to reproduce the problem would be:

  1. install with BTRFS with archinstall
  2. resize the disk of the VM with some new space
  3. create a snapshot (for easy going back to the initial state for testing)
  4. use archinstall again, trying to install on the free space with an EXT4 partition (after mounting the existing /boot partition)

LorenzoBettini avatar Aug 19 '25 15:08 LorenzoBettini

It seems I just ran into this (or similar?) while playing in VirtualBox

It's easy to reproduce, just create a Btrfs partition with a subvolume before starting archinstall:

parted /dev/sda --script mklabel gpt mkpart P1 btrfs 1MiB 2GiB
mkfs.btrfs -f /dev/sda1
mount /dev/sda1 /mnt
btrfs subvolume create /mnt/@
umount /mnt
archinstall

In archinstall, use manual partitioning, ignore (or even mark for deletion) the Btrfs partition and create esp and root (e.g. ext4) as usual

install.log
[2025-11-20 11:11:51] - DEBUG - Hardware model detected: innotek GmbH VirtualBox; UEFI mode: True
[2025-11-20 11:11:51] - DEBUG - Processor model detected: AMD Ryzen Threadripper 1950X 16-Core Processor
[2025-11-20 11:11:51] - DEBUG - Memory statistics: 5467384 available out of 6044880 total installed
[2025-11-20 11:11:51] - DEBUG - Virtualization detected: oracle; is VM: True
[2025-11-20 11:11:51] - DEBUG - Graphics devices detected: dict_keys(['VMware SVGA II Adapter'])
[2025-11-20 11:11:51] - DEBUG - Disk states before installing:
{
    "blockdevices": [
        {
            "name": "loop0",
            "path": "/dev/loop0",
            "pkname": null,
            "log_sec": 512,
            "size": "961 MiB",
            "pttype": null,
            "ptuuid": null,
            "rota": true,
            "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": "30720 MiB",
            "pttype": "gpt",
            "ptuuid": "3f3df2ac-15ae-44f4-80cf-4214cbb23d44",
            "rota": true,
            "tran": "sata",
            "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": "sda1",
                    "path": "/dev/sda1",
                    "pkname": "sda",
                    "log_sec": 512,
                    "size": "2047 MiB",
                    "pttype": "gpt",
                    "ptuuid": "3f3df2ac-15ae-44f4-80cf-4214cbb23d44",
                    "rota": true,
                    "tran": null,
                    "partn": 1,
                    "partuuid": "31b20c74-d60a-4780-8154-57788cf43f1a",
                    "parttype": "0fc63daf-8483-4772-8e79-3d69d8477de4",
                    "uuid": "6ce078e1-1917-4fe8-86bf-265403f8f2c0",
                    "fstype": "btrfs",
                    "fsver": null,
                    "fsavail": null,
                    "fsuse_percentage": null,
                    "type": "part",
                    "mountpoint": null,
                    "mountpoints": [],
                    "fsroots": [],
                    "children": []
                }
            ]
        },
        {
            "name": "sr0",
            "path": "/dev/sr0",
            "pkname": null,
            "log_sec": 2048,
            "size": "1455 MiB",
            "pttype": "dos",
            "ptuuid": "999b7ed1",
            "rota": true,
            "tran": "ata",
            "partn": null,
            "partuuid": null,
            "parttype": null,
            "uuid": "2025-11-01-09-48-56-00",
            "fstype": "iso9660",
            "fsver": "Joliet Extension",
            "fsavail": 0,
            "fsuse_percentage": "100%",
            "type": "rom",
            "mountpoint": "/run/archiso/bootmnt",
            "mountpoints": [
                "/run/archiso/bootmnt"
            ],
            "fsroots": [
                "/"
            ],
            "children": []
        }
    ]
}
[2025-11-20 11:11:51] - INFO - Fetching Arch Linux package database...
[2025-11-20 11:11:51] - INFO - Checking version...
[2025-11-20 11:11:51] - DEBUG - Failed to check for package upgrades: archinstall
[2025-11-20 11:11:51] - DEBUG - No archinstall upgrades found
[2025-11-20 11:11:51] - DEBUG - Mounting /dev/sda1: mount /dev/sda1 /mnt/arch_btrfs
[2025-11-20 11:11:51] - DEBUG - Partition /dev/sda1 is currently mounted at: ['/mnt/arch_btrfs']
[2025-11-20 11:11:51] - DEBUG - Unmounting mountpoint: /mnt/arch_btrfs
[2025-11-20 11:12:15] - DEBUG - Creating yescrypt hash with rounds 5
[2025-11-20 11:12:25] - DEBUG - Saving configuration files to /tmp
[2025-11-20 11:12:26] - DEBUG -  -- Chosen configuration --
[2025-11-20 11:12:26] - DEBUG -
{
    "app_config": null,
    "archinstall-language": "English",
    "auth_config": {},
    "bootloader": "Systemd-boot",
    "custom_commands": [],
    "disk_config": {
        "btrfs_options": {
            "snapshot_config": null
        },
        "config_type": "manual_partitioning",
        "device_modifications": [
            {
                "device": "/dev/sda",
                "partitions": [
                    {
                        "btrfs": [
                            {
                                "mountpoint": "None",
                                "name": "@"
                            }
                        ],
                        "dev_path": "/dev/sda1",
                        "flags": [],
                        "fs_type": "btrfs",
                        "mount_options": [],
                        "mountpoint": null,
                        "obj_id": "ed774edd-6352-4aa6-a701-c151d54c3753",
                        "size": {
                            "sector_size": {
                                "unit": "B",
                                "value": 512
                            },
                            "unit": "B",
                            "value": 2146435072
                        },
                        "start": {
                            "sector_size": {
                                "unit": "B",
                                "value": 512
                            },
                            "unit": "sectors",
                            "value": 2048
                        },
                        "status": "existing",
                        "type": "primary"
                    },
                    {
                        "btrfs": [],
                        "dev_path": null,
                        "flags": [
                            "boot",
                            "esp"
                        ],
                        "fs_type": "fat32",
                        "mount_options": [],
                        "mountpoint": "/boot",
                        "obj_id": "8c774cc2-864c-45a3-adcf-1125db2d3f9a",
                        "size": {
                            "sector_size": {
                                "unit": "B",
                                "value": 512
                            },
                            "unit": "GiB",
                            "value": 1
                        },
                        "start": {
                            "sector_size": {
                                "unit": "B",
                                "value": 512
                            },
                            "unit": "B",
                            "value": 2147483648
                        },
                        "status": "create",
                        "type": "primary"
                    },
                    {
                        "btrfs": [],
                        "dev_path": null,
                        "flags": [],
                        "fs_type": "ext4",
                        "mount_options": [],
                        "mountpoint": "/",
                        "obj_id": "d94fb036-4336-46a1-87ca-1f2e5bf56b84",
                        "size": {
                            "sector_size": {
                                "unit": "B",
                                "value": 512
                            },
                            "unit": "GiB",
                            "value": 2
                        },
                        "start": {
                            "sector_size": {
                                "unit": "B",
                                "value": 512
                            },
                            "unit": "B",
                            "value": 3221225472
                        },
                        "status": "create",
                        "type": "primary"
                    }
                ],
                "wipe": false
            }
        ]
    },
    "hostname": "archlinux",
    "kernels": [
        "linux"
    ],
    "locale_config": {
        "kb_layout": "us",
        "sys_enc": "UTF-8",
        "sys_lang": "en_US.UTF-8"
    },
    "ntp": true,
    "packages": [],
    "parallel_downloads": 0,
    "script": null,
    "services": [],
    "swap": true,
    "timezone": "UTC",
    "uki": false,
    "version": "3.0.13"
}
[2025-11-20 11:12:32] - DEBUG - Unmounting all existing partitions: /dev/sda
[2025-11-20 11:12:32] - DEBUG - Unmounting: /dev/sda1
[2025-11-20 11:12:32] - INFO - Use existing device: /dev/sda
[2025-11-20 11:12:32] - INFO - Creating partitions: /dev/sda
[2025-11-20 11:12:32] - DEBUG -         Type: primary
[2025-11-20 11:12:32] - DEBUG -         Filesystem: fat32
[2025-11-20 11:12:32] - DEBUG -         Geometry: 4194304 start sector, 2097152 length
[2025-11-20 11:12:32] - DEBUG -         Type: primary
[2025-11-20 11:12:32] - DEBUG -         Filesystem: ext4
[2025-11-20 11:12:32] - DEBUG -         Geometry: 6291456 start sector, 4194304 length
[2025-11-20 11:12:32] - DEBUG - Formatting filesystem: mkfs.fat -F 32 /dev/sda2
[2025-11-20 11:12:32] - DEBUG - partition information found:
{
  "name": "sda2",
  "path": "/dev/sda2",
  "pkname": "sda",
  "log_sec": 512,
  "size": "1024 MiB",
  "pttype": "gpt",
  "ptuuid": "3f3df2ac-15ae-44f4-80cf-4214cbb23d44",
  "rota": true,
  "tran": null,
  "partn": 2,
  "partuuid": "aa0e1e3c-d6e5-4f55-a4ca-d906087dc5e1",
  "parttype": "c12a7328-f81f-11d2-ba4b-00a0c93ec93b",
  "uuid": "7A04-F9EB",
  "fstype": "vfat",
  "fsver": "FAT32",
  "fsavail": null,
  "fsuse_percentage": null,
  "type": "part",
  "mountpoint": null,
  "mountpoints": [],
  "fsroots": [],
  "children": []
}
[2025-11-20 11:12:32] - DEBUG - Formatting filesystem: mkfs.ext4 -F /dev/sda3
[2025-11-20 11:12:32] - DEBUG - partition information found:
{
  "name": "sda3",
  "path": "/dev/sda3",
  "pkname": "sda",
  "log_sec": 512,
  "size": "2048 MiB",
  "pttype": "gpt",
  "ptuuid": "3f3df2ac-15ae-44f4-80cf-4214cbb23d44",
  "rota": true,
  "tran": null,
  "partn": 3,
  "partuuid": "1dc92acb-53b4-47e5-9178-8797d15febdb",
  "parttype": "4f68bce3-e8cd-4db1-96e7-fbcaf984b709",
  "uuid": "5a22e107-7e2a-4adf-a1c9-85e322a12d6f",
  "fstype": "ext4",
  "fsver": "1.0",
  "fsavail": null,
  "fsuse_percentage": null,
  "type": "part",
  "mountpoint": null,
  "mountpoints": [],
  "fsroots": [],
  "children": []
}
[2025-11-20 11:12:32] - INFO - Starting installation...
[2025-11-20 11:12:32] - DEBUG - Mounting ordered layout
[2025-11-20 11:12:32] - DEBUG - No lvm config defined to be mounted
[2025-11-20 11:12:32] - DEBUG - Mounting partition layout
[2025-11-20 11:12:32] - ERROR - Mountpoint is not specified
[2025-11-20 11:12:32] - ERROR - Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/archinstall/__init__.py", line 127, in run_as_a_module
    rc = main()
  File "/usr/lib/python3.13/site-packages/archinstall/__init__.py", line 117, 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 77, in perform_installation
    installation.mount_ordered_layout()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 257, in mount_ordered_layout
    self._mount_partition_layout(luks_handlers)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 288, in _mount_partition_layout
    self._mount_partition(part_mod)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 358, in _mount_partition
    self._mount_btrfs_subvol(
    ~~~~~~~~~~~~~~~~~~~~~~~~^
        part_mod.dev_path,
     ^^^^^^^^^^^^^^^^^^
        part_mod.btrfs_subvols,
     ^^^^^^^^^^^^^^^^^^^^^^^
        part_mod.mount_options,
     ^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 400, in _mount_btrfs_subvol
    for subvol in sorted(subvolumes, key=lambda x: x.relative_mountpoint):
                  ~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 400, in <lambda>
    for subvol in sorted(subvolumes, key=lambda x: x.relative_mountpoint):
                                                   ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/models/device.py", line 659, in relative_mountpoint
    raise ValueError('Mountpoint is not specified')
ValueError: Mountpoint is not specified

(Fun fact: even if the Btrfs partition is marked for deletion, archinstall still wants to mount it, which is absurd)

andreymal avatar Nov 20 '25 11:11 andreymal

Yes, I also encountered the same problem. I created an ext4 file system, but the installation crashed because of the existing btrfs partition. The log shows that the reason for the crash is that there is no mount point for the btrfs partition.

Image

wxmup avatar Nov 30 '25 15:11 wxmup

Here to report the same issue. btrfs Manjaro installation is causing an Arch ext4 with mountpoint / to fail with this error.

scrypt-kitty avatar Dec 12 '25 16:12 scrypt-kitty