archlinux / archinstall

Arch Linux installer - guided, templates etc.
GNU General Public License v3.0
5.95k stars 514 forks source link

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

Open emes81 opened 10 months ago

emes81 commented 10 months ago

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

codefiles commented 10 months ago

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.

hypevhs commented 10 months ago

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.

Torxed commented 10 months ago

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 :)

svartkanin commented 9 months ago

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 :/

Torxed commented 8 months ago

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