Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install dies at file system type not set when installing bootloader #3211

Open
mentaluproar opened this issue Feb 28, 2025 · 3 comments
Open

Comments

@mentaluproar
Copy link

Which ISO version are you using?

2025-02-02

The installation log

Could not determine the filesystem: None
Hardware model detected:  ADL-N; UEFI mode: True
Processor model detected: Intel(R) N100
Memory statistics: 6406536 available out of 7863852 total installed
Could not detect virtual system: ['/usr/bin/systemd-detect-virt'] exited with abnormal exit code [1]: none

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

Virtualization detected: None; is VM: False
Graphics devices detected: dict_keys(['Intel Corporation Alder Lake-N [UHD Graphics]'])
Disk states before installing:
{
    "blockdevices": [
        {
            "name": "loop0",
            "path": "/dev/loop0",
            "pkname": null,
            "log_sec": 512,
            "size": "824 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": "5723166 MiB",
            "pttype": "gpt",
            "ptuuid": "2da3c707-2e71-4fe1-80c9-b01f7f5bcec1",
            "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": "5723164 MiB",
                    "pttype": "gpt",
                    "ptuuid": "2da3c707-2e71-4fe1-80c9-b01f7f5bcec1",
                    "rota": true,
                    "tran": null,
                    "partn": null,
                    "partuuid": null,
                    "parttype": null,
                    "uuid": null,
                    "fstype": null,
                    "fsver": null,
                    "fsavail": null,
                    "fsuse_percentage": null,
                    "type": "part",
                    "mountpoint": null,
                    "mountpoints": [],
                    "fsroots": [],
                    "children": []
                }
            ]
        },
        {
            "name": "sdb",
            "path": "/dev/sdb",
            "pkname": null,
            "log_sec": 512,
            "size": "5723166 MiB",
            "pttype": "gpt",
            "ptuuid": "a8202b93-f2ca-44d9-a289-d7abe9ee430e",
            "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": "sdb1",
                    "path": "/dev/sdb1",
                    "pkname": "sdb",
                    "log_sec": 512,
                    "size": "5723164 MiB",
                    "pttype": "gpt",
                    "ptuuid": "a8202b93-f2ca-44d9-a289-d7abe9ee430e",
                    "rota": true,
                    "tran": null,
                    "partn": 1,
                    "partuuid": "05e9da00-fa51-43f2-9b64-dee5bda83d8c",
                    "parttype": "0fc63daf-8483-4772-8e79-3d69d8477de4",
                    "uuid": "cf095b55-344d-459d-857c-998e223231dc",
                    "fstype": "ext4",
                    "fsver": "1.0",
                    "fsavail": null,
                    "fsuse_percentage": null,
                    "type": "part",
                    "mountpoint": null,
                    "mountpoints": [],
                    "fsroots": [],
                    "children": []
                }
            ]
        },
        {
            "name": "sdc",
            "path": "/dev/sdc",
            "pkname": null,
            "log_sec": 512,
            "size": "2861588 MiB",
            "pttype": "gpt",
            "ptuuid": "54f73e17-15bc-467d-a3a2-c0a28756c45d",
            "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": "sdc1",
                    "path": "/dev/sdc1",
                    "pkname": "sdc",
                    "log_sec": 512,
                    "size": "2861556 MiB",
                    "pttype": "gpt",
                    "ptuuid": "54f73e17-15bc-467d-a3a2-c0a28756c45d",
                    "rota": true,
                    "tran": null,
                    "partn": 1,
                    "partuuid": "faa3ff6a-d15d-46af-aef1-1a129f82fd47",
                    "parttype": "0fc63daf-8483-4772-8e79-3d69d8477de4",
                    "uuid": "bd818e80-38d3-4b9f-aa0b-fbbf06adcfa6",
                    "fstype": "ext4",
                    "fsver": "1.0",
                    "fsavail": null,
                    "fsuse_percentage": null,
                    "type": "part",
                    "mountpoint": null,
                    "mountpoints": [],
                    "fsroots": [],
                    "children": []
                }
            ]
        },
        {
            "name": "sdd",
            "path": "/dev/sdd",
            "pkname": null,
            "log_sec": 512,
            "size": "59076 MiB",
            "pttype": "dos",
            "ptuuid": "5f3bc01a",
            "rota": true,
            "tran": "usb",
            "partn": null,
            "partuuid": null,
            "parttype": null,
            "uuid": "2025-02-01-08-29-13-00",
            "fstype": "iso9660",
            "fsver": "Joliet Extension",
            "fsavail": null,
            "fsuse_percentage": null,
            "type": "disk",
            "mountpoint": null,
            "mountpoints": [],
            "fsroots": [],
            "children": [
                {
                    "name": "sdd1",
                    "path": "/dev/sdd1",
                    "pkname": "sdd",
                    "log_sec": 512,
                    "size": "998 MiB",
                    "pttype": "dos",
                    "ptuuid": "5f3bc01a",
                    "rota": true,
                    "tran": null,
                    "partn": 1,
                    "partuuid": "5f3bc01a-01",
                    "parttype": "0x0",
                    "uuid": "2025-02-01-08-29-13-00",
                    "fstype": "iso9660",
                    "fsver": "Joliet Extension",
                    "fsavail": null,
                    "fsuse_percentage": null,
                    "type": "part",
                    "mountpoint": null,
                    "mountpoints": [],
                    "fsroots": [],
                    "children": []
                },
                {
                    "name": "sdd2",
                    "path": "/dev/sdd2",
                    "pkname": "sdd",
                    "log_sec": 512,
                    "size": "180 MiB",
                    "pttype": "dos",
                    "ptuuid": "5f3bc01a",
                    "rota": true,
                    "tran": null,
                    "partn": 2,
                    "partuuid": "5f3bc01a-02",
                    "parttype": "0xef",
                    "uuid": "679D-DB59",
                    "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": "1907729 MiB",
            "pttype": "gpt",
            "ptuuid": "3b642da7-54d6-404f-b30d-9351ebe422bc",
            "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": "3b642da7-54d6-404f-b30d-9351ebe422bc",
                    "rota": false,
                    "tran": "nvme",
                    "partn": 1,
                    "partuuid": "52d7db2b-8178-4d0f-b94c-c7a0601c9aa4",
                    "parttype": "c12a7328-f81f-11d2-ba4b-00a0c93ec93b",
                    "uuid": "EF9C-F1F8",
                    "fstype": "vfat",
                    "fsver": "FAT32",
                    "fsavail": 1071624192,
                    "fsuse_percentage": "0%",
                    "type": "part",
                    "mountpoint": "/mnt/efi",
                    "mountpoints": [
                        "/mnt/efi"
                    ],
                    "fsroots": [
                        "/"
                    ],
                    "children": []
                },
                {
                    "name": "nvme0n1p2",
                    "path": "/dev/nvme0n1p2",
                    "pkname": "nvme0n1",
                    "log_sec": 512,
                    "size": "614400 MiB",
                    "pttype": "gpt",
                    "ptuuid": "3b642da7-54d6-404f-b30d-9351ebe422bc",
                    "rota": false,
                    "tran": "nvme",
                    "partn": 2,
                    "partuuid": "557d7238-ee91-4fdc-9c2a-dff66876cb43",
                    "parttype": "0fc63daf-8483-4772-8e79-3d69d8477de4",
                    "uuid": "061cd1d1-a25d-4dc1-b3fc-6737bcce6faa",
                    "fstype": "bcachefs",
                    "fsver": "1.13",
                    "fsavail": 583584101376,
                    "fsuse_percentage": "0%",
                    "type": "part",
                    "mountpoint": "/mnt",
                    "mountpoints": [
                        "/mnt"
                    ],
                    "fsroots": [
                        "/"
                    ],
                    "children": []
                },
                {
                    "name": "nvme0n1p3",
                    "path": "/dev/nvme0n1p3",
                    "pkname": "nvme0n1",
                    "log_sec": 512,
                    "size": "8192 MiB",
                    "pttype": "gpt",
                    "ptuuid": "3b642da7-54d6-404f-b30d-9351ebe422bc",
                    "rota": false,
                    "tran": "nvme",
                    "partn": 3,
                    "partuuid": "c0e47bbd-845f-44df-8b1f-b597024c2e0f",
                    "parttype": "0657fd6d-a4ab-43c4-84e5-0933c84b4f4f",
                    "uuid": "d8a2fbe2-111a-4b00-bb20-7cf33e3de80d",
                    "fstype": "ext2",
                    "fsver": "1.0",
                    "fsavail": null,
                    "fsuse_percentage": null,
                    "type": "part",
                    "mountpoint": null,
                    "mountpoints": [],
                    "fsroots": [],
                    "children": []
                },
                {
                    "name": "nvme0n1p4",
                    "path": "/dev/nvme0n1p4",
                    "pkname": "nvme0n1",
                    "log_sec": 512,
                    "size": "1284112 MiB",
                    "pttype": "gpt",
                    "ptuuid": "3b642da7-54d6-404f-b30d-9351ebe422bc",
                    "rota": false,
                    "tran": "nvme",
                    "partn": 4,
                    "partuuid": "abf522a7-1879-44c9-9731-004797cac887",
                    "parttype": "0fc63daf-8483-4772-8e79-3d69d8477de4",
                    "uuid": null,
                    "fstype": null,
                    "fsver": null,
                    "fsavail": null,
                    "fsuse_percentage": null,
                    "type": "part",
                    "mountpoint": null,
                    "mountpoints": [],
                    "fsroots": [],
                    "children": []
                }
            ]
        }
    ]
}
Checking version...
Failed determine pacman version: ['/usr/bin/pacman', '-Qu', 'archinstall'] exited with abnormal exit code [1]: �[?25l�[?25h
--removed mirrors to meet post limit--

Adding bootloader Systemd-boot to /dev/nvme0n1p1
Identifying root partition by PARTUUID: 557d7238-ee91-4fdc-9c2a-dff66876cb43
File system type is not set
Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/archinstall/__init__.py", line 341, in run_as_a_module
    main()
    ~~~~^^
  File "/usr/lib/python3.13/site-packages/archinstall/__init__.py", line 334, 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 186, in <module>
    guided()
    ~~~~~~^^
  File "/usr/lib/python3.13/site-packages/archinstall/scripts/guided.py", line 183, in guided
    perform_installation(archinstall.arguments.get('mount_point', Path('/mnt')))
    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/archinstall/scripts/guided.py", line 52, in perform_installation
    with Installer(
         ~~~~~~~~~^
    	mountpoint,
     ^^^^^^^^^^^
    ...<2 lines>...
    	kernels=archinstall.arguments.get('kernels', ['linux'])
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ) as installation:
    ^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 113, in __exit__
    raise exc_val
  File "/usr/lib/python3.13/site-packages/archinstall/scripts/guided.py", line 89, in perform_installation
    installation.add_bootloader(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^
    	archinstall.arguments["bootloader"],
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    	archinstall.arguments.get('uki', False)
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 1452, in add_bootloader
    self._config_uki(root, efi_partition)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 1380, in _config_uki
    kernel_parameters = self._get_kernel_params(root)
  File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 1035, in _get_kernel_params
    kernel_parameters.append(f'rootfstype={root.safe_fs_type.fs_type_mount}')
                                           ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/disk/device_model.py", line 906, in safe_fs_type
    raise ValueError('File system type is not set')
ValueError: File system type is not set

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

When installing on a lattepanda mu I it crashed out at the bootloader installation step. I premounted a bcachefs filesystem at /mnt and the FAT32 EFI partition at /mnt/efi.

@mentaluproar mentaluproar changed the title install dies at file system type no set when installing bootloader install dies at file system type not set when installing bootloader Feb 28, 2025
@svartkanin
Copy link
Collaborator

Is this the full log? Something seems to be cut off before the installation started, or how did you run archinstall ?

@mentaluproar
Copy link
Author

I had to cut out the part where it was reaching out for mirrors to make it fit the character limit here.

@svartkanin
Copy link
Collaborator

You can upload it to https://pastebin.com/ and share the link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants