Redecorating / archinstall-mbp

A drop in profile for python-archinstall, that installs stuff for t2 macs
GNU General Public License v3.0
22 stars 4 forks source link

issues with loader.conf file #9

Open ofrimoo opened 2 years ago

ofrimoo commented 2 years ago

as soon as i get to the systemdboot part of the process it stops, saying /mnt/boot/loader/loader.conf doesn't exist. checked with bootctl status and there were no entries created.

Redecorating commented 2 years ago

Make sure you tell archinstall to use systemd-boot (not grub), and to mount the efi partition on /boot. You might also have clear out any files that systemd-boot has put on the efi partition from previous install attempts.

Also, if it still has that error, can you send a photo of the config it prints before you give it the final confirmation to do the install?

DamienChing commented 2 years ago

I had the same issue. To fix it, you need to use parted to switch the efi partition (/boot) flags to: boot, efi instead of msftdata or whatever it is.

ghost commented 2 years ago

Make sure you tell archinstall to use systemd-boot (not grub), and to mount the efi partition on /boot. You might also have clear out any files that systemd-boot has put on the efi partition from previous install attempts.

Also, if it still has that error, can you send a photo of the config it prints before you give it the final confirmation to do the install?

Here's what you were looking for plus context from the install log over two guided runs:

Install log ``` Disk states before installing: {'blockdevices': [{'name': 'loop0', 'fstype': 'squashfs', 'fsver': '4.0', 'label': None, 'uuid': None, 'fsavail': '0', 'fsuse%': '100%', 'mountpoints': ['/run/archiso/airootfs'], 'type': 'loop', 'size': '718.1M'}, {'name': 'sda', 'fstype': 'iso9660', 'fsver': 'Joliet Extension', 'label': 'LINUX-MBP', 'uuid': '2021-08-29-08-15-53-00', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'disk', 'size': '7.5G', 'children': [{'name': 'sda1', 'fstype': 'iso9660', 'fsver': 'Joliet Extension', 'label': 'LINUX-MBP', 'uuid': '2021-08-29-08-15-53-00', 'fsavail': '0', 'fsuse%': '100%', 'mountpoints': ['/run/archiso/bootmnt'], 'type': 'part', 'size': '788M'}, {'name': 'sda2', 'fstype': 'vfat', 'fsver': 'FAT16', 'label': 'ARCHISO_EFI', 'uuid': '2C55-B268', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '69M'}]}, {'name': 'nvme0n1', 'fstype': None, 'fsver': None, 'label': None, 'uuid': None, 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'disk', 'size': '465.9G', 'children': [{'name': 'nvme0n1p1', 'fstype': 'vfat', 'fsver': 'FAT32', 'label': 'EFI', 'uuid': '5F66-17ED', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '300M'}, {'name': 'nvme0n1p2', 'fstype': 'apfs', 'fsver': None, 'label': None, 'uuid': 'ec87a168-c280-4c46-a199-b2b0825a43c1', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '391.2G'}, {'name': 'nvme0n1p3', 'fstype': 'exfat', 'fsver': '1.0', 'label': 'Archlinux', 'uuid': '61B8-3806', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '74.4G'}]}]} Disk states before installing: {'blockdevices': [{'name': 'loop0', 'fstype': 'squashfs', 'fsver': '4.0', 'label': None, 'uuid': None, 'fsavail': '0', 'fsuse%': '100%', 'mountpoints': ['/run/archiso/airootfs'], 'type': 'loop', 'size': '718.1M'}, {'name': 'sda', 'fstype': 'iso9660', 'fsver': 'Joliet Extension', 'label': 'LINUX-MBP', 'uuid': '2021-08-29-08-15-53-00', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'disk', 'size': '7.5G', 'children': [{'name': 'sda1', 'fstype': 'iso9660', 'fsver': 'Joliet Extension', 'label': 'LINUX-MBP', 'uuid': '2021-08-29-08-15-53-00', 'fsavail': '0', 'fsuse%': '100%', 'mountpoints': ['/run/archiso/bootmnt'], 'type': 'part', 'size': '788M'}, {'name': 'sda2', 'fstype': 'vfat', 'fsver': 'FAT16', 'label': 'ARCHISO_EFI', 'uuid': '2C55-B268', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '69M'}]}, {'name': 'nvme0n1', 'fstype': None, 'fsver': None, 'label': None, 'uuid': None, 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'disk', 'size': '465.9G', 'children': [{'name': 'nvme0n1p1', 'fstype': 'vfat', 'fsver': 'FAT32', 'label': 'EFI', 'uuid': '5F66-17ED', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '300M'}, {'name': 'nvme0n1p2', 'fstype': 'apfs', 'fsver': None, 'label': None, 'uuid': 'ec87a168-c280-4c46-a199-b2b0825a43c1', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '391.2G'}, {'name': 'nvme0n1p3', 'fstype': 'exfat', 'fsver': '1.0', 'label': 'Archlinux', 'uuid': '61B8-3806', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '74.4G'}]}]} Disk states before installing: {'blockdevices': [{'name': 'loop0', 'fstype': 'squashfs', 'fsver': '4.0', 'label': None, 'uuid': None, 'fsavail': '0', 'fsuse%': '100%', 'mountpoints': ['/run/archiso/airootfs'], 'type': 'loop', 'size': '718.1M'}, {'name': 'sda', 'fstype': 'iso9660', 'fsver': 'Joliet Extension', 'label': 'LINUX-MBP', 'uuid': '2021-08-29-08-15-53-00', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'disk', 'size': '7.5G', 'children': [{'name': 'sda1', 'fstype': 'iso9660', 'fsver': 'Joliet Extension', 'label': 'LINUX-MBP', 'uuid': '2021-08-29-08-15-53-00', 'fsavail': '0', 'fsuse%': '100%', 'mountpoints': ['/run/archiso/bootmnt'], 'type': 'part', 'size': '788M'}, {'name': 'sda2', 'fstype': 'vfat', 'fsver': 'FAT16', 'label': 'ARCHISO_EFI', 'uuid': '2C55-B268', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '69M'}]}, {'name': 'nvme0n1', 'fstype': None, 'fsver': None, 'label': None, 'uuid': None, 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'disk', 'size': '465.9G', 'children': [{'name': 'nvme0n1p1', 'fstype': 'vfat', 'fsver': 'FAT32', 'label': 'EFI', 'uuid': '5F66-17ED', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '300M'}, {'name': 'nvme0n1p2', 'fstype': 'apfs', 'fsver': None, 'label': None, 'uuid': 'ec87a168-c280-4c46-a199-b2b0825a43c1', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '391.2G'}, {'name': 'nvme0n1p3', 'fstype': 'exfat', 'fsver': '1.0', 'label': 'Archlinux', 'uuid': '61B8-3806', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '74.4G'}]}]} Disk states before installing: {'blockdevices': [{'name': 'loop0', 'fstype': 'squashfs', 'fsver': '4.0', 'label': None, 'uuid': None, 'fsavail': '0', 'fsuse%': '100%', 'mountpoints': ['/run/archiso/airootfs'], 'type': 'loop', 'size': '718.1M'}, {'name': 'sda', 'fstype': 'iso9660', 'fsver': 'Joliet Extension', 'label': 'LINUX-MBP', 'uuid': '2021-08-29-08-15-53-00', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'disk', 'size': '7.5G', 'children': [{'name': 'sda1', 'fstype': 'iso9660', 'fsver': 'Joliet Extension', 'label': 'LINUX-MBP', 'uuid': '2021-08-29-08-15-53-00', 'fsavail': '0', 'fsuse%': '100%', 'mountpoints': ['/run/archiso/bootmnt'], 'type': 'part', 'size': '788M'}, {'name': 'sda2', 'fstype': 'vfat', 'fsver': 'FAT16', 'label': 'ARCHISO_EFI', 'uuid': '2C55-B268', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '69M'}]}, {'name': 'nvme0n1', 'fstype': None, 'fsver': None, 'label': None, 'uuid': None, 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'disk', 'size': '465.9G', 'children': [{'name': 'nvme0n1p1', 'fstype': 'vfat', 'fsver': 'FAT32', 'label': 'EFI', 'uuid': '5F66-17ED', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '300M'}, {'name': 'nvme0n1p2', 'fstype': 'apfs', 'fsver': None, 'label': None, 'uuid': 'ec87a168-c280-4c46-a199-b2b0825a43c1', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '391.2G'}, {'name': 'nvme0n1p3', 'fstype': 'exfat', 'fsver': '1.0', 'label': 'Archlinux', 'uuid': '61B8-3806', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '74.4G'}]}]} Search string 'en-' yielded no results, please try another search. You can skip selecting a drive and partitioning and use whatever drive-setup is mounted at /mnt (experimental) Disk states before installing: {'blockdevices': [{'name': 'loop0', 'fstype': 'squashfs', 'fsver': '4.0', 'label': None, 'uuid': None, 'fsavail': '0', 'fsuse%': '100%', 'mountpoints': ['/run/archiso/airootfs'], 'type': 'loop', 'size': '718.1M'}, {'name': 'sda', 'fstype': 'iso9660', 'fsver': 'Joliet Extension', 'label': 'LINUX-MBP', 'uuid': '2021-08-29-08-15-53-00', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'disk', 'size': '7.5G', 'children': [{'name': 'sda1', 'fstype': 'iso9660', 'fsver': 'Joliet Extension', 'label': 'LINUX-MBP', 'uuid': '2021-08-29-08-15-53-00', 'fsavail': '0', 'fsuse%': '100%', 'mountpoints': ['/run/archiso/bootmnt'], 'type': 'part', 'size': '788M'}, {'name': 'sda2', 'fstype': 'vfat', 'fsver': 'FAT16', 'label': 'ARCHISO_EFI', 'uuid': '2C55-B268', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '69M'}]}, {'name': 'nvme0n1', 'fstype': None, 'fsver': None, 'label': None, 'uuid': None, 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'disk', 'size': '465.9G', 'children': [{'name': 'nvme0n1p1', 'fstype': 'vfat', 'fsver': 'FAT32', 'label': 'EFI', 'uuid': '5F66-17ED', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '300M'}, {'name': 'nvme0n1p2', 'fstype': 'apfs', 'fsver': None, 'label': None, 'uuid': 'ec87a168-c280-4c46-a199-b2b0825a43c1', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '391.2G'}, {'name': 'nvme0n1p3', 'fstype': 'exfat', 'fsver': '1.0', 'label': 'Archlinux', 'uuid': '61B8-3806', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '74.4G'}]}]} Disk states before installing: {'blockdevices': [{'name': 'loop0', 'fstype': 'squashfs', 'fsver': '4.0', 'label': None, 'uuid': None, 'fsavail': '0', 'fsuse%': '100%', 'mountpoints': ['/run/archiso/airootfs'], 'type': 'loop', 'size': '718.1M'}, {'name': 'sda', 'fstype': 'iso9660', 'fsver': 'Joliet Extension', 'label': 'LINUX-MBP', 'uuid': '2021-08-29-08-15-53-00', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'disk', 'size': '7.5G', 'children': [{'name': 'sda1', 'fstype': 'iso9660', 'fsver': 'Joliet Extension', 'label': 'LINUX-MBP', 'uuid': '2021-08-29-08-15-53-00', 'fsavail': '0', 'fsuse%': '100%', 'mountpoints': ['/run/archiso/bootmnt'], 'type': 'part', 'size': '788M'}, {'name': 'sda2', 'fstype': 'vfat', 'fsver': 'FAT16', 'label': 'ARCHISO_EFI', 'uuid': '2C55-B268', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '69M'}]}, {'name': 'nvme0n1', 'fstype': None, 'fsver': None, 'label': None, 'uuid': None, 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'disk', 'size': '465.9G', 'children': [{'name': 'nvme0n1p1', 'fstype': 'vfat', 'fsver': 'FAT32', 'label': 'EFI', 'uuid': '5F66-17ED', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '300M'}, {'name': 'nvme0n1p2', 'fstype': 'apfs', 'fsver': None, 'label': None, 'uuid': 'ec87a168-c280-4c46-a199-b2b0825a43c1', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '391.2G'}, {'name': 'nvme0n1p3', 'fstype': 'exfat', 'fsver': '1.0', 'label': 'Archlinux', 'uuid': '61B8-3806', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '74.4G'}]}]} You can skip selecting a drive and partitioning and use whatever drive-setup is mounted at /mnt (experimental) Disk states before installing: {'blockdevices': [{'name': 'loop0', 'fstype': 'squashfs', 'fsver': '4.0', 'label': None, 'uuid': None, 'fsavail': '0', 'fsuse%': '100%', 'mountpoints': ['/run/archiso/airootfs'], 'type': 'loop', 'size': '718.1M'}, {'name': 'sda', 'fstype': 'iso9660', 'fsver': 'Joliet Extension', 'label': 'LINUX-MBP', 'uuid': '2021-08-29-08-15-53-00', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'disk', 'size': '7.5G', 'children': [{'name': 'sda1', 'fstype': 'iso9660', 'fsver': 'Joliet Extension', 'label': 'LINUX-MBP', 'uuid': '2021-08-29-08-15-53-00', 'fsavail': '0', 'fsuse%': '100%', 'mountpoints': ['/run/archiso/bootmnt'], 'type': 'part', 'size': '788M'}, {'name': 'sda2', 'fstype': 'vfat', 'fsver': 'FAT16', 'label': 'ARCHISO_EFI', 'uuid': '2C55-B268', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '69M'}]}, {'name': 'nvme0n1', 'fstype': None, 'fsver': None, 'label': None, 'uuid': None, 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'disk', 'size': '465.9G', 'children': [{'name': 'nvme0n1p1', 'fstype': 'vfat', 'fsver': 'FAT32', 'label': 'EFI', 'uuid': '5F66-17ED', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '300M'}, {'name': 'nvme0n1p2', 'fstype': 'apfs', 'fsver': None, 'label': None, 'uuid': 'ec87a168-c280-4c46-a199-b2b0825a43c1', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '391.2G'}, {'name': 'nvme0n1p3', 'fstype': 'exfat', 'fsver': '1.0', 'label': 'Archlinux', 'uuid': '61B8-3806', 'fsavail': '74.4G', 'fsuse%': '0%', 'mountpoints': ['/mnt'], 'type': 'part', 'size': '74.4G'}]}]} You can skip selecting a drive and partitioning and use whatever drive-setup is mounted at /mnt (experimental) Disk states before installing: {'blockdevices': [{'name': 'loop0', 'fstype': 'squashfs', 'fsver': '4.0', 'label': None, 'uuid': None, 'fsavail': '0', 'fsuse%': '100%', 'mountpoints': ['/run/archiso/airootfs'], 'type': 'loop', 'size': '718.1M'}, {'name': 'sda', 'fstype': 'iso9660', 'fsver': 'Joliet Extension', 'label': 'LINUX-MBP', 'uuid': '2021-08-29-08-15-53-00', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'disk', 'size': '7.5G', 'children': [{'name': 'sda1', 'fstype': 'iso9660', 'fsver': 'Joliet Extension', 'label': 'LINUX-MBP', 'uuid': '2021-08-29-08-15-53-00', 'fsavail': '0', 'fsuse%': '100%', 'mountpoints': ['/run/archiso/bootmnt'], 'type': 'part', 'size': '788M'}, {'name': 'sda2', 'fstype': 'vfat', 'fsver': 'FAT16', 'label': 'ARCHISO_EFI', 'uuid': '2C55-B268', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '69M'}]}, {'name': 'nvme0n1', 'fstype': None, 'fsver': None, 'label': None, 'uuid': None, 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'disk', 'size': '465.9G', 'children': [{'name': 'nvme0n1p1', 'fstype': 'vfat', 'fsver': 'FAT32', 'label': 'EFI', 'uuid': '5F66-17ED', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '300M'}, {'name': 'nvme0n1p2', 'fstype': 'apfs', 'fsver': None, 'label': None, 'uuid': 'ec87a168-c280-4c46-a199-b2b0825a43c1', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '391.2G'}, {'name': 'nvme0n1p3', 'fstype': 'exfat', 'fsver': '1.0', 'label': 'Archlinux', 'uuid': '61B8-3806', 'fsavail': '74.4G', 'fsuse%': '0%', 'mountpoints': ['/mnt'], 'type': 'part', 'size': '74.4G'}]}]} You can skip selecting a drive and partitioning and use whatever drive-setup is mounted at /mnt (experimental) Hardware time and other post-configuration steps might be required in order for NTP to work. For more information, please check the Arch wiki. -- Guided template chosen (with below config) -- { "!root-password": "******", "apple_t2": { "altAudioConf": false, "chainProfile": "deepin", "model": "MacBookPro15,1", "touchbar": true, "wifi": "mojave", "wifiFW": { "FIRMWARE": "C-4364__s-B2/kauai.trx", "NVRAM": "C-4364__s-B2/P-kauai-ID_M-HRPN_V-u__m-7.5.txt", "REGULATORY": "C-4364__s-B2/kauai.clmb", "release": "mojaveFW" } }, "audio": null, "bootloader": "systemd-bootctl", "harddrive": null, "hostname": "peterpan", "kernels": [ "linux" ], "keyboard-language": "us", "mirror-region": { "Neverland": { "https://download.nus.edu.sg/mirror/archlinux/$repo/os/$arch": true, "https://mirror.aktkn.sg/archlinux/$repo/os/$arch": true, "https://mirror.guillaumea.fr/archlinux/$repo/os/$arch": true, "https://mirror.jingk.ai/archlinux/$repo/os/$arch": true } }, "nic": { "nic": "wlan0" }, "ntp": true, "packages": [], "profile": { "path": "/usr/lib/python3.9/site-packages/archinstall/profiles/apple-t2.py" }, "script": "guided", "superusers": { "wendy": { "!password": "******" } }, "sys-encoding": "utf-8", "sys-language": "en_US", "target-mount": "/mnt", "timezone": "UTC", "users": {} } Waiting for automatic mirror selection (reflector) to complete. A new package mirror-list has been created: /etc/pacman.d/mirrorlist Installing packages: ['base', 'base-devel', 'linux-firmware', 'linux', 'intel-ucode'] Could not strap in packages: 256 Adding bootloader systemd-bootctl to Partition(path=/dev/nvme0n1p3, size=-1, fs=exfat, mounted=/mnt) Installing packages: ('efibootmgr',) [Errno 2] No such file or directory: '/mnt/boot/loader/loader.conf' Disk states before installing: {'blockdevices': [{'name': 'loop0', 'fstype': 'squashfs', 'fsver': '4.0', 'label': None, 'uuid': None, 'fsavail': '0', 'fsuse%': '100%', 'mountpoints': ['/run/archiso/airootfs'], 'type': 'loop', 'size': '718.1M'}, {'name': 'sda', 'fstype': 'iso9660', 'fsver': 'Joliet Extension', 'label': 'LINUX-MBP', 'uuid': '2021-08-29-08-15-53-00', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'disk', 'size': '7.5G', 'children': [{'name': 'sda1', 'fstype': 'iso9660', 'fsver': 'Joliet Extension', 'label': 'LINUX-MBP', 'uuid': '2021-08-29-08-15-53-00', 'fsavail': '0', 'fsuse%': '100%', 'mountpoints': ['/run/archiso/bootmnt'], 'type': 'part', 'size': '788M'}, {'name': 'sda2', 'fstype': 'vfat', 'fsver': 'FAT16', 'label': 'ARCHISO_EFI', 'uuid': '2C55-B268', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '69M'}]}, {'name': 'nvme0n1', 'fstype': None, 'fsver': None, 'label': None, 'uuid': None, 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'disk', 'size': '465.9G', 'children': [{'name': 'nvme0n1p1', 'fstype': 'vfat', 'fsver': 'FAT32', 'label': 'EFI', 'uuid': '5F66-17ED', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '300M'}, {'name': 'nvme0n1p2', 'fstype': 'apfs', 'fsver': None, 'label': None, 'uuid': 'ec87a168-c280-4c46-a199-b2b0825a43c1', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '391.2G'}, {'name': 'nvme0n1p3', 'fstype': 'exfat', 'fsver': '1.0', 'label': 'Archlinux', 'uuid': '61B8-3806', 'fsavail': '73.8G', 'fsuse%': '1%', 'mountpoints': ['/mnt'], 'type': 'part', 'size': '74.4G'}]}]} You can skip selecting a drive and partitioning and use whatever drive-setup is mounted at /mnt (experimental) Hardware time and other post-configuration steps might be required in order for NTP to work. For more information, please check the Arch wiki. -- Guided template chosen (with below config) -- { "!root-password": "******", "apple_t2": { "altAudioConf": false, "chainProfile": "deepin", "model": "MacBookPro15,1", "touchbar": true, "wifi": "mojave", "wifiFW": { "FIRMWARE": "C-4364__s-B2/kauai.trx", "NVRAM": "C-4364__s-B2/P-kauai-ID_M-HRPN_V-u__m-7.5.txt", "REGULATORY": "C-4364__s-B2/kauai.clmb", "release": "mojaveFW" } }, "audio": null, "bootloader": "systemd-bootctl", "harddrive": null, "hostname": "peterpan", "kernels": [ "linux" ], "keyboard-language": "us", "mirror-region": { "Neverland": { "https://download.nus.edu.sg/mirror/archlinux/$repo/os/$arch": true, "https://mirror.aktkn.sg/archlinux/$repo/os/$arch": true, "https://mirror.guillaumea.fr/archlinux/$repo/os/$arch": true, "https://mirror.jingk.ai/archlinux/$repo/os/$arch": true } }, "nic": { "nic": "wlan0" }, "ntp": true, "packages": [], "profile": { "path": "/usr/lib/python3.9/site-packages/archinstall/profiles/apple-t2.py" }, "script": "guided", "superusers": { "wendy": { "!password": "******" } }, "sys-encoding": "utf-8", "sys-language": "en_US", "target-mount": "/mnt", "timezone": "UTC", "users": {} } Waiting for automatic mirror selection (reflector) to complete. A new package mirror-list has been created: /etc/pacman.d/mirrorlist Installing packages: ['base', 'base-devel', 'linux-firmware', 'linux', 'intel-ucode'] Could not strap in packages: 256 Adding bootloader systemd-bootctl to Partition(path=/dev/nvme0n1p3, size=-1, fs=exfat, mounted=/mnt) Installing packages: ('efibootmgr',) [Errno 2] No such file or directory: '/mnt/boot/loader/entries/2021-12-14_10-35-17.conf' ```

After the first run I did a mkdir -p /mnt/boot/loader before trying again. If ESP partition flags (or lack thereof) is the root cause the second run was unnecessary.

ghost commented 2 years ago

I had the same issue. To fix it, you need to use parted to switch the efi partition (/boot) flags to: boot, efi instead of msftdata or whatever it is.

Also had the same issue. For reference, this is what parted shows when I hit the issue:

IMG_20211215_122641_edit_199826061889820.jpg

In my case parted shows the EFI partition already had flags set. This the state I encountered after running Disk Util in macOS Monterey where it failed to create an 80GB APFS partition. (FAT and ExFAT options failed to shrink the volume and create a new partition, even from Recovery Mode, whereas APFS did create a partition—furthering my believe Apple is indeed Malware.)

In my case it appears the issue is an unformatted filesystem caused by the Disk Util failure.