In arch you can just install latest kernel via pacman -S linux
. Than the kernel and initramfs is installed to:
/boot/initramfs-linux.img
/boot/vmlinuz-linux
In manjaro you can install the latest kernel via pacman -S linux64
or whatever the newest kernel is. However, it does not autoupdate itself to the next major/minor version.
The kernel and initramfs is installed to:
/boot/initramfs-6.4-x86_64-linux.img
-
/boot/initramfs-6.4-x86_64-linux.img
Or if other kenrel version is selected e.g.: /boot/initramfs-6.1-x86_64-linux.img
/boot/initramfs-6.1-x86_64-linux.img
If you now want to use secure boot with a unified kernel image (UKI) you need to bundle the image via sbctl bundle -s /efi/main.efi
. However, it assumes the arch linux paths to the initrafms and the kernel. If you use manjaro kernel you have to specify it via -i
and -k
so sbctl bundle -k /boot/initramfs-6.4-x86_64-linux.img -i /boot/initramfs-linux.img -s /efi/main.efi
.
That works, however, if you want to install a new kernel and delte the other before, it will fail in the Post-transaction-Hooks:
(3/3) Signing EFI binaries
Generating EFI bundles
failed creating bundle /efi/main.efi: stat /boot/initramfs-6.4-x86_64.img: no suche file or directory
So I would need to manually adjust the sbctl bundle
command again. Is there some way to fix this? I thought about symlinking the kernel and initramfs to the arch paths.
However, I would also like to use the arch kernel way of doing the updates. Can I somehow do that?