archinstall icon indicating copy to clipboard operation
archinstall copied to clipboard

Archinstall cannot mount vfat partitions, crashes

Open zx331645 opened this issue 10 months ago • 11 comments

Which ISO version are you using?

"2026-01-01"

The installation log

[2026-01-22 21:27:53] - DEBUG - Hardware model detected: LENOVO 21HRS45800; UEFI mode: True
[2026-01-22 21:27:53] - DEBUG - Processor model detected: 13th Gen Intel(R) Core(TM) i7-1355U
[2026-01-22 21:27:53] - DEBUG - Memory statistics: 11601420 available out of 16024704 total installed
[2026-01-22 21:27:53] - DEBUG - Could not detect virtual system: ['/usr/bin/systemd-detect-virt'] exited with abnormal exit code [1]: none

[2026-01-22 21:27:53] - DEBUG - System is not running in a VM: ['/usr/bin/systemd-detect-virt'] exited with abnormal exit code [1]: none

[2026-01-22 21:27:53] - DEBUG - Virtualization detected: None; is VM: False
[2026-01-22 21:27:53] - DEBUG - Graphics devices detected: dict_keys(['Intel Corporation Raptor Lake-P [Iris Xe Graphics] (rev 04)'])
[2026-01-22 21:27:53] - DEBUG - Disk states before installing:
{
    "blockdevices": [
        {
            "name": "loop0",
            "path": "/dev/loop0",
            "pkname": null,
            "log_sec": 512,
            "size": "971 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": "29340 MiB",
            "pttype": "dos",
            "ptuuid": "2822af79",
            "rota": true,
            "tran": "usb",
            "partn": null,
            "partuuid": null,
            "parttype": null,
            "uuid": "2026-01-01-11-33-55-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": "1216 MiB",
                    "pttype": "dos",
                    "ptuuid": "2822af79",
                    "rota": true,
                    "tran": null,
                    "partn": 1,
                    "partuuid": "2822af79-01",
                    "parttype": "0x0",
                    "uuid": "2026-01-01-11-33-55-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": "251 MiB",
                    "pttype": "dos",
                    "ptuuid": "2822af79",
                    "rota": true,
                    "tran": null,
                    "partn": 2,
                    "partuuid": "2822af79-02",
                    "parttype": "0xef",
                    "uuid": "6956-5BA3",
                    "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": "488386 MiB",
            "pttype": "gpt",
            "ptuuid": "49daa9ca-fc33-475e-a215-76a5b5c7f177",
            "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": "1024 MiB",
                    "pttype": "gpt",
                    "ptuuid": "49daa9ca-fc33-475e-a215-76a5b5c7f177",
                    "rota": false,
                    "tran": "nvme",
                    "partn": 1,
                    "partuuid": "ad923a35-3720-44e0-b3c0-1e42656e7597",
                    "parttype": "c12a7328-f81f-11d2-ba4b-00a0c93ec93b",
                    "uuid": "76CF-111E",
                    "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": "487360 MiB",
                    "pttype": "gpt",
                    "ptuuid": "49daa9ca-fc33-475e-a215-76a5b5c7f177",
                    "rota": false,
                    "tran": "nvme",
                    "partn": 2,
                    "partuuid": "d3e02e3a-e4b1-4e9b-92c8-83ac96017acd",
                    "parttype": "4f68bce3-e8cd-4db1-96e7-fbcaf984b709",
                    "uuid": "2f5c9e86-45b5-4d9d-b38e-f859d309d84c",
                    "fstype": "ext4",
                    "fsver": "1.0",
                    "fsavail": null,
                    "fsuse_percentage": null,
                    "type": "part",
                    "mountpoint": null,
                    "mountpoints": [],
                    "fsroots": [],
                    "children": []
                }
            ]
        }
    ]
}
[2026-01-22 21:27:53] - INFO - Fetching Arch Linux package database...
[2026-01-22 21:27:54] - INFO - Checking version...
[2026-01-22 21:27:54] - DEBUG - Failed to check for package upgrades: archinstall
[2026-01-22 21:27:54] - DEBUG - No archinstall upgrades found
[2026-01-22 21:27:54] - DEBUG - Running from ISO (Live Mode)...
[2026-01-22 21:31:20] - DEBUG - load mirrors: True
[2026-01-22 21:33:05] - DEBUG - Creating yescrypt hash with rounds 5
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/xorg.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/tailored.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/server.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/minimal.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/desktop.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/custom.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/__init__.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/servers/tomcat.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/servers/sshd.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/servers/postgresql.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/servers/nginx.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/servers/mariadb.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/servers/lighttpd.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/servers/httpd.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/servers/docker.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/servers/cockpit.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/servers/__init__.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/desktops/xmonad.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/desktops/xfce4.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/desktops/sway.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/desktops/river.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/desktops/qtile.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/desktops/plasma.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/desktops/niri.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/desktops/mate.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/desktops/lxqt.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/desktops/labwc.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/desktops/i3.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/desktops/hyprland.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/desktops/gnome.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/desktops/enlightenment.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/desktops/deepin.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/desktops/cutefish.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/desktops/cosmic.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/desktops/cinnamon.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/desktops/budgie.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/desktops/bspwm.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/desktops/awesome.py
[2026-01-22 21:34:21] - DEBUG - Importing profile: /usr/lib/python3.14/site-packages/archinstall/default_profiles/desktops/__init__.py
[2026-01-22 21:36:17] - DEBUG -  -- Chosen configuration --
[2026-01-22 21:36:17] - DEBUG - {
    "app_config": {
        "audio_config": {
            "audio": "pipewire"
        },
        "bluetooth_config": {
            "enabled": true
        },
        "power_management_config": {
            "power_management": "power-profiles-daemon"
        },
        "print_service_config": {
            "enabled": true
        }
    },
    "archinstall-language": "English",
    "auth_config": {},
    "bootloader_config": {
        "bootloader": "Systemd-boot",
        "removable": false,
        "uki": false
    },
    "custom_commands": [],
    "disk_config": {
        "btrfs_options": {
            "snapshot_config": null
        },
        "config_type": "default_layout",
        "device_modifications": [
            {
                "device": "/dev/nvme0n1",
                "partitions": [
                    {
                        "btrfs": [],
                        "dev_path": null,
                        "flags": [
                            "boot",
                            "esp"
                        ],
                        "fs_type": "fat32",
                        "mount_options": [],
                        "mountpoint": "/boot",
                        "obj_id": "8118144d-0098-4b79-b114-11b37d94a3d0",
                        "size": {
                            "sector_size": {
                                "unit": "B",
                                "value": 512
                            },
                            "unit": "GiB",
                            "value": 1
                        },
                        "start": {
                            "sector_size": {
                                "unit": "B",
                                "value": 512
                            },
                            "unit": "MiB",
                            "value": 1
                        },
                        "status": "create",
                        "type": "primary"
                    },
                    {
                        "btrfs": [],
                        "dev_path": null,
                        "flags": [],
                        "fs_type": "ext4",
                        "mount_options": [],
                        "mountpoint": "/",
                        "obj_id": "6919d35a-441b-4946-b3f0-3955c2fa4d3a",
                        "size": {
                            "sector_size": {
                                "unit": "B",
                                "value": 512
                            },
                            "unit": "B",
                            "value": 511033999360
                        },
                        "start": {
                            "sector_size": {
                                "unit": "B",
                                "value": 512
                            },
                            "unit": "B",
                            "value": 1074790400
                        },
                        "status": "create",
                        "type": "primary"
                    }
                ],
                "wipe": true
            }
        ]
    },
    "hostname": "sq98-x1",
    "kernels": [
        "linux"
    ],
    "locale_config": {
        "kb_layout": "us",
        "sys_enc": "UTF-8",
        "sys_lang": "en_AU.UTF-8"
    },
    "mirror_config": {
        "custom_repositories": [],
        "custom_servers": [],
        "mirror_regions": {
            "Worldwide": [
                "http://mirror.rackspace.com/archlinux/$repo/os/$arch",
                "https://mirror.rackspace.com/archlinux/$repo/os/$arch",
                "https://ftpmirror.infania.net/mirror/archlinux/$repo/os/$arch",
                "https://geo.mirror.pkgbuild.com/$repo/os/$arch",
                "https://fastly.mirror.pkgbuild.com/$repo/os/$arch"
            ]
        },
        "optional_repositories": [
            "multilib"
        ]
    },
    "network_config": {
        "type": "nm"
    },
    "ntp": true,
    "packages": [
        "firefox"
    ],
    "parallel_downloads": 0,
    "profile_config": {
        "gfx_driver": "All open-source",
        "greeter": "sddm",
        "profile": {
            "custom_settings": {
                "KDE Plasma": {}
            },
            "details": [
                "KDE Plasma"
            ],
            "main": "Desktop"
        }
    },
    "script": null,
    "services": [],
    "swap": {
        "algorithm": "zstd",
        "enabled": true
    },
    "timezone": "Australia/Melbourne",
    "version": "3.0.15"
}
[2026-01-22 21:36:23] - DEBUG - Unmounting all existing partitions: /dev/nvme0n1
[2026-01-22 21:36:23] - DEBUG - Unmounting: /dev/nvme0n1p1
[2026-01-22 21:36:23] - DEBUG - Unmounting: /dev/nvme0n1p2
[2026-01-22 21:36:23] - INFO - Wiping partitions and metadata: /dev/nvme0n1
[2026-01-22 21:36:23] - INFO - Creating partitions: /dev/nvme0n1
[2026-01-22 21:36:23] - DEBUG - 	Type: primary
[2026-01-22 21:36:23] - DEBUG - 	Filesystem: fat32
[2026-01-22 21:36:23] - DEBUG - 	Geometry: 2048 start sector, 2097152 length
[2026-01-22 21:36:23] - DEBUG - 	Type: primary
[2026-01-22 21:36:23] - DEBUG - 	Filesystem: ext4
[2026-01-22 21:36:23] - DEBUG - 	Geometry: 2099200 start sector, 998113280 length
[2026-01-22 21:36:23] - DEBUG - Wiping signatures from: /dev/nvme0n1p1
[2026-01-22 21:36:23] - DEBUG - Wiping signatures from: /dev/nvme0n1p2
[2026-01-22 21:36:23] - DEBUG - Formatting filesystem: mkfs.fat -F 32 /dev/nvme0n1p1
[2026-01-22 21:36:23] - DEBUG - partition information found: {"name":"nvme0n1p1","path":"/dev/nvme0n1p1","pkname":"nvme0n1","log_sec":512,"size":"1024 MiB","pttype":"gpt","ptuuid":"24453084-56e9-480a-997f-18ede594bb67","rota":false,"tran":"nvme","partn":1,"partuuid":"265783a0-ae36-4414-aac8-c465254444a8","parttype":"c12a7328-f81f-11d2-ba4b-00a0c93ec93b","uuid":"8579-6849","fstype":"vfat","fsver":"FAT32","fsavail":null,"fsuse_percentage":null,"type":"part","mountpoint":null,"mountpoints":[],"fsroots":[],"children":[]}
[2026-01-22 21:36:23] - DEBUG - Formatting filesystem: mkfs.ext4 -F /dev/nvme0n1p2
[2026-01-22 21:36:23] - DEBUG - partition information found: {"name":"nvme0n1p2","path":"/dev/nvme0n1p2","pkname":"nvme0n1","log_sec":512,"size":"487360 MiB","pttype":"gpt","ptuuid":"24453084-56e9-480a-997f-18ede594bb67","rota":false,"tran":"nvme","partn":2,"partuuid":"57833964-23bc-4e5f-a1b5-6651dca3c3c9","parttype":"4f68bce3-e8cd-4db1-96e7-fbcaf984b709","uuid":"672b80ce-8930-4753-a8d4-299aea1d7026","fstype":"ext4","fsver":"1.0","fsavail":null,"fsuse_percentage":null,"type":"part","mountpoint":null,"mountpoints":[],"fsroots":[],"children":[]}
[2026-01-22 21:36:23] - INFO - Starting installation...
[2026-01-22 21:36:23] - DEBUG - Mounting ordered layout
[2026-01-22 21:36:23] - DEBUG - No lvm config defined to be imported
[2026-01-22 21:36:23] - DEBUG - No lvm config defined to be mounted
[2026-01-22 21:36:23] - DEBUG - Mounting partition layout
[2026-01-22 21:36:23] - DEBUG - Mounting /dev/nvme0n1p2: mount /dev/nvme0n1p2 /mnt
[2026-01-22 21:36:23] - DEBUG - Mounting /dev/nvme0n1p1: mount /dev/nvme0n1p1 /mnt/boot
[2026-01-22 21:36:23] - ERROR - Could not mount /dev/nvme0n1p1: mount /dev/nvme0n1p1 /mnt/boot
['/usr/bin/mount', '/dev/nvme0n1p1', '/mnt/boot'] exited with abnormal exit code [32]: mount: /mnt/boot: unknown filesystem type 'vfat'.
       dmesg(1) may have more information after failed mount system call.

[2026-01-22 21:36:23] - ERROR - Traceback (most recent call last):
  File "/usr/lib/python3.14/site-packages/archinstall/lib/disk/device_handler.py", line 807, in mount
    SysCommand(command)
    ~~~~~~~~~~^^^^^^^^^
  File "/usr/lib/python3.14/site-packages/archinstall/lib/general.py", line 337, in __init__
    self.create_session()
    ~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.14/site-packages/archinstall/lib/general.py", line 377, in create_session
    with SysCommandWorker(
         ~~~~~~~~~~~~~~~~^
    	self.cmd,
     ^^^^^^^^^
    ...<3 lines>...
    	working_directory=self.working_directory,
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ) as session:
    ^
  File "/usr/lib/python3.14/site-packages/archinstall/lib/general.py", line 205, in __exit__
    raise SysCallError(
    ...<3 lines>...
    )
archinstall.lib.exceptions.SysCallError: ['/usr/bin/mount', '/dev/nvme0n1p1', '/mnt/boot'] exited with abnormal exit code [32]: mount: /mnt/boot: unknown filesystem type 'vfat'.
       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.14/site-packages/archinstall/__init__.py", line 134, in run_as_a_module
    rc = main()
  File "/usr/lib/python3.14/site-packages/archinstall/__init__.py", line 124, in main
    importlib.import_module(mod_name)
    ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/usr/lib/python3.14/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1398, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1371, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1342, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 938, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 759, in exec_module
  File "<frozen importlib._bootstrap>", line 491, in _call_with_frames_removed
  File "/usr/lib/python3.14/site-packages/archinstall/scripts/guided.py", line 216, in <module>
    guided()
    ~~~~~~^^
  File "/usr/lib/python3.14/site-packages/archinstall/scripts/guided.py", line 213, in guided
    perform_installation(arch_config_handler.args.mountpoint)
    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/site-packages/archinstall/scripts/guided.py", line 79, in perform_installation
    installation.mount_ordered_layout()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.14/site-packages/archinstall/lib/installer.py", line 266, in mount_ordered_layout
    self._mount_partition_layout(luks_handlers)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/site-packages/archinstall/lib/installer.py", line 297, in _mount_partition_layout
    self._mount_partition(part_mod)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/usr/lib/python3.14/site-packages/archinstall/lib/installer.py", line 365, in _mount_partition
    device_handler.mount(part_mod.dev_path, target, options=part_mod.mount_options)
    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/site-packages/archinstall/lib/disk/device_handler.py", line 809, in mount
    raise DiskError(f'Could not mount {dev_path}: {command}\n{err.message}')
archinstall.lib.exceptions.DiskError: Could not mount /dev/nvme0n1p1: mount /dev/nvme0n1p1 /mnt/boot
['/usr/bin/mount', '/dev/nvme0n1p1', '/mnt/boot'] exited with abnormal exit code [32]: mount: /mnt/boot: unknown filesystem type 'vfat'.
       dmesg(1) may have more information after failed mount system call.


[2026-01-22 21:36:24] - 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

Possibly due to disk encryption?

zx331645 avatar Jan 22 '26 21:01 zx331645

I was running into the same issue but with disks that have LVM/LUKS The trick is that these need extra force flags (wipefs) to clear properly with headers, if I understand correctly, it seems there is something also with timing of syncs (udev_sync/partprobes)

I'm also guessing these aren't properly cleaned on the "host" if we check after an install

h8d13 avatar Jan 22 '26 21:01 h8d13

@h8d13 The device that failed to mount looks to have formatted fine. Also data was captured for the device after the format and for this reason I would rule out this being an issue related to syncing with udev. Please read partprobe(8) to understand why it is irrelevant here, it's short.

[2026-01-22 21:36:23] - DEBUG - Formatting filesystem: mkfs.fat -F 32 /dev/nvme0n1p1
[2026-01-22 21:36:23] - DEBUG - partition information found: {"name":"nvme0n1p1","path":"/dev/nvme0n1p1","pkname":"nvme0n1","log_sec":512,"size":"1024 MiB","pttype":"gpt","ptuuid":"24453084-56e9-480a-997f-18ede594bb67","rota":false,"tran":"nvme","partn":1,"partuuid":"265783a0-ae36-4414-aac8-c465254444a8","parttype":"c12a7328-f81f-11d2-ba4b-00a0c93ec93b","uuid":"8579-6849","fstype":"vfat","fsver":"FAT32","fsavail":null,"fsuse_percentage":null,"type":"part","mountpoint":null,"mountpoints":[],"fsroots":[],"children":[]}
...
[2026-01-22 21:36:23] - DEBUG - Mounting /dev/nvme0n1p1: mount /dev/nvme0n1p1 /mnt/boot
[2026-01-22 21:36:23] - ERROR - Could not mount /dev/nvme0n1p1: mount /dev/nvme0n1p1 /mnt/boot
['/usr/bin/mount', '/dev/nvme0n1p1', '/mnt/boot'] exited with abnormal exit code [32]: mount: /mnt/boot: unknown filesystem type 'vfat'.
       dmesg(1) may have more information after failed mount system call.

@zx331645, can you provide dmesg output for when this occurs?

@h8d13, if you can reproduce this exact same error, can you provide dmesg output?

codefiles avatar Jan 23 '26 03:01 codefiles

How is partprobe not relevant here ?

The formatting succeeds in the log, then fails to mount because it hasn't reloaded new structure. Timing of syncs + reloading imo (At least, that's how I fixed luks/vgs in my fork, after formats I think its logical, the wipefs call would fail too )

Also any reason we dont pass the mount_fs=mount_fs to _mount_something defs of installer.py ?

This would result in more explicit mount call no ? mount -t vfat /dev/nvme0n1p1 /mnt/boot

h8d13 avatar Jan 23 '26 08:01 h8d13

How is partprobe not relevant here ?

https://github.com/archlinux/archinstall/blob/2ed6182575cba5747cc37bb72368546ae9ae247a/archinstall/lib/disk/device_handler.py#L752

... and informs the operating system of the changes.

https://github.com/dcantrell/pyparted/blob/5b3b9b159a3ed4958586690190bffd8f61647cf9/src/parted/disk.py#L202-L205

inform the OS of partition table changes

partprobe(8)

You are guessing, not providing anything concrete, and bringing up irrelevant points.

codefiles avatar Jan 23 '26 13:01 codefiles

@codefiles , nothing of note in dmesg, except for the ext4 partition being mounted properly.

zx331645 avatar Jan 24 '26 01:01 zx331645

Did you perhaps run a system upgrade (pacman -Syu) in the ISO? If so, reboot and try without a system upgrade and use the version of archinstall that comes on the ISO.

2026.01.01 ISO without changes:

# uname -r
6.18.2-arch2-1
# ls /usr/lib/modules
6.18.2-arch2-1

2026.01.01 ISO with a system upgrade performed showing a kernel/modules version mismatch:

# uname -r
6.18.2-arch2-1
# ls /usr/lib/modules
6.18.6-arch1-1

In the second case, the vfat module located at /usr/lib/modules/$(uname -r)/kernel/fs/fat/vfat.ko.zst would be missing.

codefiles avatar Jan 24 '26 02:01 codefiles

I'll try that. Note: I looked at dm-crypt documentation and it says you have to either use LVM or btrfs. This may be the cause of the error, but I'm not sure so I'll leave this open. (and if it is the cause, a warning should be added)

zx331645 avatar Jan 24 '26 04:01 zx331645

Can you just answer if you did a system upgrade (pacman -Syu) in the ISO, please?

codefiles avatar Jan 24 '26 04:01 codefiles

I did, can you not tell from my response?

zx331645 avatar Jan 24 '26 04:01 zx331645

No, it was not apparent to me but thank you so much for answering. That definitely confirms it for me then.

codefiles avatar Jan 24 '26 04:01 codefiles

Ran into this in the wild, and it's like you point out @codefiles a pacman -Syu that causes the kernel modules being out of sync with the boot:ed kernel. So doing modprobe vfat says the module doesn't exist (because of kernel version difference).

I ran into this on a machine that was running cloud-init while archinstall was trying to run.

Closing this as it's a case of not doing partial upgrades (in the sense that this will break the ISO).

Just in case someone ends up here because I wrote cloud-init, add this to /etc/cloud/cloud.cfg.d/*relevant-file*.cfg:

package_update: false
package_upgrade: false

Torxed avatar Oct 01 '26 18:10 Torxed