# Mkinitcpio update and changes may need some manual intervention

**URL:** <https://forum.endeavouros.com/t/mkinitcpio-update-and-changes-may-need-some-manual-intervention/51879>\
**Category:** Important notifications\
**Created:** [March 4, 2024, 6:27pm UTC](https://forum.endeavouros.com/t/mkinitcpio-update-and-changes-may-need-some-manual-intervention/51879 "2024-03-04T18:27:24Z")\
**Posts on this page:** 1\
**Showing post:** 29

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [March 5, 2024, 6:31am UTC](https://forum.endeavouros.com/t/mkinitcpio-update-and-changes-may-need-some-manual-intervention/51879/29 "2024-03-05T06:31:10Z")

</div>

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:

> 1. edit `/etc/mkinitcpio.conf` and add **microcode** to HOOKS line:
> 
> > HOOKS=(systemd autodetect microcode modconf kms keyboard keymap consolefont block filesystems fsck)
> 
> 1. edit preset files for my kernels in` /etc/mkinitcpio.d` and comment out (or delete) the following line:
> 
> > ALL\_microcode=(/boot/\*-ucode.img)
> 
> 1. 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

---

_[View the full topic](https://forum.endeavouros.com/t/mkinitcpio-update-and-changes-may-need-some-manual-intervention/51879)._
