Hi @all using mkinitcpio !
Revisiting the new mkinitcpio this morning and regenerating my initramfs, I saw the following line in the output of the
sudo mkinitcpio -P
command:
==> WARNING: Deprecated option ‘ALL_microcode’ found. Update ‘/etc/mkinitcpio.d/linux-zen.preset’ to use the ‘microcode’ hook instead.
This means that the preset files in /etc/mkinitcpio.d
need to be edited as well.
So this is what needed to be done in may case:
- edit
/etc/mkinitcpio.conf
and add microcode to HOOKS line:HOOKS=(systemd autodetect microcode modconf kms keyboard keymap consolefont block filesystems fsck)
- edit preset files for my kernels in
/etc/mkinitcpio.d
and comment out (or delete) the following line:ALL_microcode=(/boot/*-ucode.img)
- regenerate initramfs:
sudo mkinitcpio -P
Using Grub here, updating the /boot/grub/grub.cfg
will still automatically create:
initrd /boot/intel-ucode.img /boot/initramfs-linux-zen.img
line. So useless to remove it manually fom grub.cfg
since the file will be overwritten next time it is regenerated.
As for the conf files for systemd-boot entries being also automatically generated in EnOS, I hope that @dalto can comment on that.
PS. sorry for having missed the WARNING in the first run before I posted previously