archinstall icon indicating copy to clipboard operation
archinstall copied to clipboard

['/usr/bin/arch-chroot', '/mnt/archinstall', 'bootctl', '--no-variables', 'install'] exited with abnormal exit code [1]:

Open emes81 opened this issue 1 year ago • 5 comments

Attempting to dual boot with Windows 11 using the latest (sept 2023) Arch iso. Ran pacman -Sy archinstall before archinstall.

Manually created the following partitions:

300MB, mount point /boot, format ext4 remainder of the space (ca. 225GB), compressed, with the following subfolder structure: @, / @home, /home @log, /var/log @pkg, /var/cache/pacman/pkg @.snapshots, /@.snapshots install.log

emes81 avatar Oct 12 '23 11:10 emes81

Installation of systemd-boot fails because the EFI system partition (/boot) file system format is not FAT based, instead it is Ext4. The ArchWiki states to format the EFI system partition to FAT32: https://wiki.archlinux.org/title/Installation_guide#Format_the_partitions https://wiki.archlinux.org/title/EFI_system_partition#Format_the_partition

Validation for this condition could be added to Manual Partitioning rather than allowing the installation to run and crash at the boot loader install.

codefiles avatar Oct 12 '23 22:10 codefiles

I hit this. It would have been nice if archinstall was smart enough to catch it. Or give a friendlier error message at any stage of the process.

hypevhs avatar Oct 18 '23 02:10 hypevhs

We should be able to add this to the prerequisites validation in the menu as well as the sanity check when reading the conf before starting a installation :)

Torxed avatar Oct 18 '23 05:10 Torxed

We can tackle that in the menu/config, I didn't find a way to actually capture the error message returned by bootctl when running it with arch-chroot as it will only return the exit code :/

svartkanin avatar Nov 19 '23 11:11 svartkanin

Hmm, it should be in process._trace_log I believe.

Torxed avatar Nov 23 '23 08:11 Torxed