I just ran into a error installing Manjaro sway regarding mkinitcpio.
I had to use the latest unstable image for wayland to work on the StarBook Mk VII. (manjaro-sway-25.0.0-unstable-250601-linux614.iso)
Unfortunately Calamares
fails to install, here is the relevant log section:
2025-06-02 - 14:27:03 [1]: ERROR: Installation failed: "External command finished with errors."
2025-06-02 - 14:27:03 [6]: .. - message: "External command finished with errors."
2025-06-02 - 14:27:03 [6]: .. - details: Command <i>mkinitcpio</i> finished with exit code 1.
Output:
==> Building image from preset: /etc/mkinitcpio.d/linux614.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-6.14-x86_64 -g /boot/initramfs-6.14-x86_64.img
==> Starting build: '6.14.9-1-MANJARO'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [microcode]
-> Running build hook: [kms]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
-> Running build hook: [encrypt]
-> Running build hook: [filesystems]
==> ERROR: module not found: 'crc32c_intel'
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-6.14-x86_64.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Running post hooks
-> Running post hook: [sbctl]
Secureboot key directory doesn't exist, not signing!
==> Post processing done
==> Building image from preset: /etc/mkinitcpio.d/linux614.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-6.14-x86_64 -g /boot/initramfs-6.14-x86_64-fallback.img -S autodetect
==> Starting build: '6.14.9-1-MANJARO'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [microcode]
-> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'xhci_pci_renesas'
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
-> Running build hook: [encrypt]
-> Running build hook: [filesystems]
==> ERROR: module not found: 'crc32c_intel'
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-6.14-x86_64-fallback.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Running post hooks
-> Running post hook: [sbctl]
Secureboot key directory doesn't exist, not signing!
==> Post processing done
2025-06-02 - 14:27:03 [6]: void Calamares::ViewManager::onInstallationFailed(const QString&, const QString&)
Someone on AW had the same problem: topic id=304822 Link to thread
The suggested fix is to remove crc32c_intel from the mkinitcpio.conf MODULES but I don’t know how I have to conduct this for it to work with the Calamares installation process.
It also seems that the crc32_intel
module is included through the filesystems
hook.
I tried to replace that in /etc/mkinitcpio.conf
before running Calamares but that seems to have no effect.
Mod edit: Added the link I believe you refer to. If this is not the correct one, please let us know either via reply or PM (or edit your post to remove it).
Also fixed a couple of typos.