Running mkinitcpio gives me this

How can i fix this

sudo mkinitcpio -p linux
/usr/bin/mkinitcpio: line 271: /etc/mkinitcpio.d/linux.preset: No such file or directory
==> ERROR: Failed to load preset: `/etc/mkinitcpio.d/linux.preset’

You need to specify the preset file for your kernel version, for example (for kernel 4.9):

sudo mkinitcpio -p linux49

Or you can just use sudo mkinitcpio -P and it will build for all installed kernels.

4 Likes

Thank you. i didn’t realize Arch had upgraded it. is this a new thing for straight Arch also

I think Manjaro handles kernels a little different from Arch. For instance, there’s no linux package (like in Arch), but packages for specific kernels, such as linux49. So usage of mkinitcpio may be a little different.

1 Like

like mentioned , sudo mkinitcpio -P does it for all kernels

1 Like

This is not Arch at all. This is Manjaro. Arch is not Manjaro. Manjaro is not Arch.

Makes a nice little mantra, if you look at it right. :smiley:

#resist

4 Likes

Thanks for explaining guys :slight_smile:

2 Likes

It’s the little differences between Arch & Manjaro that throw me from time-to-time as well. I have each on separate machines, and can get quite frustrated with myself when I mistakenly issue the wrong command in the wrong environment. :wink: :wink: :wink:

#regards

2 Likes

Please do not reply to a 2 year old thread that has already been answered.

Also this is not the Arch forum. There is no linux package in Manjaro.

2 Likes

Forum kindly sponsored by