Open ofrimoo opened 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?
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.
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:
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.
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:
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.
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.