Skip to content

Partition(s) 2, 3 on /dev/sda have been written, but we have been unable to inform the kernel of the change #18

@w84death

Description

@w84death

Thinkpad X260 with SSD drive. I got AlmaLinux installed on that drive. Run the installer first time and got this error.

Then I restarted the computer and run installation once again. This time it went smoothly.

Log:

[2025-08-21 17:23:47] - DEBUG - Creating yescrypt hash with rounds 5
[2025-08-21 17:23:47] - DEBUG - Could not determine the filesystem: None
[2025-08-21 17:23:47] - DEBUG - Could not determine the filesystem: None
[2025-08-21 17:23:47] - DEBUG - Could not determine the filesystem: None
[2025-08-21 17:23:47] - DEBUG - Hardware model detected: LENOVO 20F5S1BP00; UEFI mode: True
[2025-08-21 17:23:47] - DEBUG - Processor model detected: Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz
[2025-08-21 17:23:47] - DEBUG - Memory statistics: 30985904 available out of 32612932 total installed
[2025-08-21 17:23:47] - DEBUG - Could not detect virtual system: ['/usr/bin/systemd-detect-virt'] exited with abnormal exit code [1]: none

[2025-08-21 17:23:47] - DEBUG - System is not running in a VM: ['/usr/bin/systemd-detect-virt'] exited with abnormal exit code [1]: none

[2025-08-21 17:23:47] - DEBUG - Virtualization detected: None; is VM: False
[2025-08-21 17:23:47] - DEBUG - Graphics devices detected: dict_keys(['Intel Corporation Skylake GT2 [HD Graphics 520] (rev 07)'])
[2025-08-21 17:23:47] - DEBUG - Disk states before installing:
{
    "blockdevices": [
        {
            "name": "loop0",
            "path": "/dev/loop0",
            "pkname": null,
            "log_sec": 512,
            "size": "960 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": "244198 MiB",
            "pttype": "gpt",
            "ptuuid": "2843bee6-b257-4638-af3f-02d5c245eb82",
            "rota": false,
            "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": "600 MiB",
                    "pttype": "gpt",
                    "ptuuid": "2843bee6-b257-4638-af3f-02d5c245eb82",
                    "rota": false,
                    "tran": null,
                    "partn": 1,
                    "partuuid": "89938d10-03ca-47f0-b8da-fe3ba1348303",
                    "parttype": "c12a7328-f81f-11d2-ba4b-00a0c93ec93b",
                    "uuid": "8232-9D5D",
                    "fstype": "vfat",
                    "fsver": "FAT32",
                    "fsavail": null,
                    "fsuse_percentage": null,
                    "type": "part",
                    "mountpoint": null,
                    "mountpoints": [],
                    "fsroots": [],
                    "children": []
                },
                {
                    "name": "sda2",
                    "path": "/dev/sda2",
                    "pkname": "sda",
                    "log_sec": 512,
                    "size": "1024 MiB",
                    "pttype": "gpt",
                    "ptuuid": "2843bee6-b257-4638-af3f-02d5c245eb82",
                    "rota": false,
                    "tran": null,
                    "partn": 2,
                    "partuuid": "03e0bb34-664c-445c-99ce-d2cfb4b2ca91",
                    "parttype": "bc13c2ff-59e6-4262-a352-b275fd6f7172",
                    "uuid": "1c75cfc8-d3b5-4711-b751-48b050d2976a",
                    "fstype": "xfs",
                    "fsver": null,
                    "fsavail": null,
                    "fsuse_percentage": null,
                    "type": "part",
                    "mountpoint": null,
                    "mountpoints": [],
                    "fsroots": [],
                    "children": []
                },
                {
                    "name": "sda3",
                    "path": "/dev/sda3",
                    "pkname": "sda",
                    "log_sec": 512,
                    "size": "242573 MiB",
                    "pttype": "gpt",
                    "ptuuid": "2843bee6-b257-4638-af3f-02d5c245eb82",
                    "rota": false,
                    "tran": null,
                    "partn": 3,
                    "partuuid": "e704997f-f6df-4caf-bbf4-88ed706f58d1",
                    "parttype": "e6d6d379-f507-44c2-a23c-238f2a3df928",
                    "uuid": "vesFiE-09a0-mjaj-Uc4y-9SmO-aVfH-TiFzG4",
                    "fstype": "LVM2_member",
                    "fsver": "LVM2 001",
                    "fsavail": null,
                    "fsuse_percentage": null,
                    "type": "part",
                    "mountpoint": null,
                    "mountpoints": [],
                    "fsroots": [],
                    "children": [
                        {
                            "name": "almalinux-swap",
                            "path": "/dev/mapper/almalinux-swap",
                            "pkname": "sda3",
                            "log_sec": 512,
                            "size": "7824 MiB",
                            "pttype": null,
                            "ptuuid": null,
                            "rota": false,
                            "tran": null,
                            "partn": null,
                            "partuuid": null,
                            "parttype": null,
                            "uuid": "7b349b4c-d379-479b-aee5-c4d5a9456ca9",
                            "fstype": "swap",
                            "fsver": "1",
                            "fsavail": null,
                            "fsuse_percentage": null,
                            "type": "lvm",
                            "mountpoint": null,
                            "mountpoints": [],
                            "fsroots": [],
                            "children": []
                        },
                        {
                            "name": "almalinux-home",
                            "path": "/dev/mapper/almalinux-home",
                            "pkname": "sda3",
                            "log_sec": 512,
                            "size": "163068 MiB",
                            "pttype": null,
                            "ptuuid": null,
                            "rota": false,
                            "tran": null,
                            "partn": null,
                            "partuuid": null,
                            "parttype": null,
                            "uuid": "3341f1c7-841e-4fce-9d6c-3ccdef0827bb",
                            "fstype": "xfs",
                            "fsver": null,
                            "fsavail": null,
                            "fsuse_percentage": null,
                            "type": "lvm",
                            "mountpoint": null,
                            "mountpoints": [],
                            "fsroots": [],
                            "children": []
                        },
                        {
                            "name": "almalinux-root",
                            "path": "/dev/mapper/almalinux-root",
                            "pkname": "sda3",
                            "log_sec": 512,
                            "size": "71680 MiB",
                            "pttype": null,
                            "ptuuid": null,
                            "rota": false,
                            "tran": null,
                            "partn": null,
                            "partuuid": null,
                            "parttype": null,
                            "uuid": "5811cc39-1cb5-4e90-aaad-7e63a81f3485",
                            "fstype": "xfs",
                            "fsver": null,
                            "fsavail": null,
                            "fsuse_percentage": null,
                            "type": "lvm",
                            "mountpoint": null,
                            "mountpoints": [],
                            "fsroots": [],
                            "children": []
                        }
                    ]
                }
            ]
        },
        {
            "name": "sdb",
            "path": "/dev/sdb",
            "pkname": null,
            "log_sec": 512,
            "size": "59120 MiB",
            "pttype": "dos",
            "ptuuid": "642e2a0e",
            "rota": true,
            "tran": "usb",
            "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": "sdb1",
                    "path": "/dev/sdb1",
                    "pkname": "sdb",
                    "log_sec": 512,
                    "size": "59087 MiB",
                    "pttype": "dos",
                    "ptuuid": "642e2a0e",
                    "rota": true,
                    "tran": null,
                    "partn": 1,
                    "partuuid": "642e2a0e-01",
                    "parttype": "0x7",
                    "uuid": "D887-9F01",
                    "fstype": "exfat",
                    "fsver": "1.0",
                    "fsavail": null,
                    "fsuse_percentage": null,
                    "type": "part",
                    "mountpoint": null,
                    "mountpoints": [],
                    "fsroots": [],
                    "children": [
                        {
                            "name": "ventoy",
                            "path": "/dev/mapper/ventoy",
                            "pkname": "sdb1",
                            "log_sec": 512,
                            "size": "1450 MiB",
                            "pttype": "dos",
                            "ptuuid": "e3746aa1",
                            "rota": true,
                            "tran": null,
                            "partn": null,
                            "partuuid": null,
                            "parttype": null,
                            "uuid": "2025-08-21-16-01-01-00",
                            "fstype": "iso9660",
                            "fsver": "Joliet Extension",
                            "fsavail": null,
                            "fsuse_percentage": null,
                            "type": "dm",
                            "mountpoint": null,
                            "mountpoints": [],
                            "fsroots": [],
                            "children": []
                        },
                        {
                            "name": "sdb1",
                            "path": "/dev/mapper/sdb1",
                            "pkname": "sdb1",
                            "log_sec": 512,
                            "size": "59087 MiB",
                            "pttype": null,
                            "ptuuid": null,
                            "rota": true,
                            "tran": null,
                            "partn": null,
                            "partuuid": null,
                            "parttype": null,
                            "uuid": "D887-9F01",
                            "fstype": "exfat",
                            "fsver": "1.0",
                            "fsavail": null,
                            "fsuse_percentage": null,
                            "type": "dm",
                            "mountpoint": null,
                            "mountpoints": [],
                            "fsroots": [],
                            "children": []
                        }
                    ]
                },
                {
                    "name": "sdb2",
                    "path": "/dev/sdb2",
                    "pkname": "sdb",
                    "log_sec": 512,
                    "size": "32 MiB",
                    "pttype": "dos",
                    "ptuuid": "642e2a0e",
                    "rota": true,
                    "tran": null,
                    "partn": 2,
                    "partuuid": "642e2a0e-02",
                    "parttype": "0xef",
                    "uuid": "626B-4255",
                    "fstype": "vfat",
                    "fsver": "FAT16",
                    "fsavail": null,
                    "fsuse_percentage": null,
                    "type": "part",
                    "mountpoint": null,
                    "mountpoints": [],
                    "fsroots": [],
                    "children": []
                }
            ]
        },
        {
            "name": "mmcblk0",
            "path": "/dev/mmcblk0",
            "pkname": null,
            "log_sec": 512,
            "size": "29664 MiB",
            "pttype": "gpt",
            "ptuuid": "ebb0700a-401b-439a-aa52-83357c604f19",
            "rota": false,
            "tran": "mmc",
            "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": "mmcblk0p1",
                    "path": "/dev/mmcblk0p1",
                    "pkname": "mmcblk0",
                    "log_sec": 512,
                    "size": "29662 MiB",
                    "pttype": "gpt",
                    "ptuuid": "ebb0700a-401b-439a-aa52-83357c604f19",
                    "rota": false,
                    "tran": "mmc",
                    "partn": 1,
                    "partuuid": "138f8b7f-bdc0-408e-b388-4e9b866e112f",
                    "parttype": "ebd0a0a2-b9e5-4433-87c0-68b6b72699c7",
                    "uuid": "785E-B95B",
                    "fstype": "exfat",
                    "fsver": "1.0",
                    "fsavail": null,
                    "fsuse_percentage": null,
                    "type": "part",
                    "mountpoint": null,
                    "mountpoints": [],
                    "fsroots": [],
                    "children": []
                }
            ]
        }
    ]
}
[2025-08-21 17:23:47] - INFO - Fetching Arch Linux package database...
[2025-08-21 17:23:50] - INFO - Checking version...
[2025-08-21 17:23:50] - DEBUG - Failed to check for package upgrades: archinstall
[2025-08-21 17:23:50] - DEBUG - No archinstall upgrades found
[2025-08-21 17:23:50] - DEBUG -  -- Chosen configuration --
[2025-08-21 17:23:50] - DEBUG - {
    "app_config": {
        "audio_config": {
            "audio": "pipewire"
        }
    },
    "archinstall-language": "English",
    "auth_config": {},
    "bootloader": "Systemd-boot",
    "custom_commands": [],
    "disk_config": {
        "config_type": "default_layout",
        "device_modifications": [
            {
                "device": "/dev/sda",
                "partitions": [
                    {
                        "btrfs": [],
                        "dev_path": null,
                        "flags": [
                            "boot",
                            "esp"
                        ],
                        "fs_type": "fat32",
                        "mount_options": [],
                        "mountpoint": "/boot",
                        "obj_id": "ea21d3f2-82bb-49cc-ab5d-6f81ae94e18d",
                        "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": [
                            {
                                "mountpoint": "/",
                                "name": "@"
                            },
                            {
                                "mountpoint": "/home",
                                "name": "@home"
                            },
                            {
                                "mountpoint": "/var/log",
                                "name": "@log"
                            },
                            {
                                "mountpoint": "/var/cache/pacman/pkg",
                                "name": "@pkg"
                            }
                        ],
                        "dev_path": null,
                        "flags": [],
                        "fs_type": "btrfs",
                        "mount_options": [
                            "compress=zstd"
                        ],
                        "mountpoint": null,
                        "obj_id": "8c2c2b92-1070-455d-b76a-56263bab24aa",
                        "size": {
                            "sector_size": {
                                "unit": "B",
                                "value": 512
                            },
                            "unit": "B",
                            "value": 254984323072
                        },
                        "start": {
                            "sector_size": {
                                "unit": "B",
                                "value": 512
                            },
                            "unit": "B",
                            "value": 1074790400
                        },
                        "status": "create",
                        "type": "primary"
                    }
                ],
                "wipe": true
            }
        ],
        "disk_encryption": {
            "encryption_type": "luks",
            "lvm_volumes": [],
            "partitions": [
                "8c2c2b92-1070-455d-b76a-56263bab24aa"
            ]
        }
    },
    "hostname": "omarchy-thinkpad",
    "kernels": [
        "linux"
    ],
    "locale_config": {
        "kb_layout": "us",
        "sys_enc": "UTF-8",
        "sys_lang": "en_US.UTF-8"
    },
    "mirror_config": {
        "custom_repositories": [],
        "custom_servers": [
            {
                "url": "https://geo.mirror.pkgbuild.com/$repo/os/$arch"
            }
        ],
        "mirror_regions": {},
        "optional_repositories": []
    },
    "network_config": {
        "type": "iso"
    },
    "ntp": true,
    "packages": [
        "gum",
        "wget",
        "base-devel"
    ],
    "parallel_downloads": 8,
    "profile_config": {
        "gfx_driver": null,
        "greeter": null,
        "profile": {}
    },
    "script": null,
    "services": [],
    "swap": true,
    "timezone": "Europe/Warsaw",
    "version": "3.0.9"
}
[2025-08-21 17:23:55] - DEBUG - Unmounting all existing partitions: /dev/sda
[2025-08-21 17:23:55] - DEBUG - Unmounting: /dev/sda1
[2025-08-21 17:23:55] - DEBUG - Unmounting: /dev/sda2
[2025-08-21 17:23:55] - DEBUG - Unmounting: /dev/sda3
[2025-08-21 17:23:55] - INFO - Wiping partitions and metadata: /dev/sda
[2025-08-21 17:23:55] - INFO - Creating partitions: /dev/sda
[2025-08-21 17:23:55] - DEBUG - 	Type: primary
[2025-08-21 17:23:55] - DEBUG - 	Filesystem: fat32
[2025-08-21 17:23:55] - DEBUG - 	Geometry: 2048 start sector, 2097152 length
[2025-08-21 17:23:55] - DEBUG - 	Type: primary
[2025-08-21 17:23:55] - DEBUG - 	Filesystem: btrfs
[2025-08-21 17:23:55] - DEBUG - 	Geometry: 2099200 start sector, 498016256 length
[2025-08-21 17:23:56] - 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 212, in <module>
    guided()
    ~~~~~~^^
  File "/usr/lib/python3.13/site-packages/archinstall/scripts/guided.py", line 207, in guided
    fs_handler.perform_filesystem_operations()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/disk/filesystem.py", line 59, in perform_filesystem_operations
    device_handler.partition(mod)
    ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/disk/device_handler.py", line 727, in partition
    disk.commit()
    ~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/parted/decorators.py", line 28, in new
    ret = fn(*args, **kwds)
  File "/usr/lib/python3.13/site-packages/parted/disk.py", line 208, in commit
    return self.__disk.commit()
           ~~~~~~~~~~~~~~~~~~^^
_ped.IOException: Partition(s) 2, 3 on /dev/sda have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use.  As a result, the old partition(s) will remain in use.  You should reboot now before making further changes.

[2025-08-21 17:23:56] - 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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions