14 Creating the carli-calamares-configuration – initcpio

The module initcpio is pointing to a linux312. That kernel does not exist at all on Arch Linux.

Read on the Arch Wiki to know more about mkinitcpio.

We need to add the initcpio.config to the carli-calamares-config and we change the name fromĀ  linux312 to linux. The name of our kernel.

Then we repeat the workflow to get our new package online.

When we try again we see our next challenge.

We need to get the vmlinuz-linux in our /boot directory.

We will show you where the file is and how to copy/paste and rename it to our future system.

We need to re-edit the unpackfs.conf and add 3 more lines.

Now we have these lines in there

- source: "/run/archiso/bootmnt/arch/x86_64/airootfs.sfs"
sourcefs: "squashfs"
destination: ""
- source: "/run/archiso/bootmnt/arch/boot/x86_64/vmlinuz"
sourcefs: "file"
destination: "/boot/vmlinuz-linux"