archlinux / archinstall

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

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

Open emes81 opened 1 year ago

emes81 commented 1 year 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 1 year 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 1 year 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 1 year 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 1 year 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 12 months ago

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