You are not logged in.

#1 2025-12-23 15:02:36

HelmchenLord
Member
Registered: 2025-04-24
Posts: 18

[Solved] Need help with new mkinitcpio.conf

Hey,

I recently received an update for mkinitcpio and with it changes to mkinitcpio.conf. I didn't apply (all) the changes at first, because I think my system would then no longer boot.

My current (working) conf looks like this: https://paste.c-net.org/MuldoonDonovan
And the pacnew like this: https://paste.c-net.org/FrauleinOsiris

Since in the pacnew MODULES and BINARIES are empty, I think that if I applied the changes, my system would no longer boot.
I use btrfs and originally installed the system almost a year ago with archinstaller.
My kernel is currently: Kernel 6.18.2-zen2-1-zen and mkinitcpio: 40-4

How should I handle the mkinitcpio.conf changes? What should it look like for me?
Should I just copy the HOOKS part from the pacnew? If so, what else do I need to consider afterwards?

I could probably continue working as usual for now, but I would like to apply the changes to avoid problems in the future.

Thanks in advance!

Last edited by HelmchenLord (2025-12-23 23:15:29)

Offline

#2 2025-12-23 17:31:29

Everything2067
Member
Registered: 2025-06-29
Posts: 105

Re: [Solved] Need help with new mkinitcpio.conf

No need of including btrfs modules and binaries into the image. The kernel has built in drivers for them. https://gitlab.archlinux.org/archlinux/ … 5a8e4f8047
Also, your current config configures a busybox based initramfs, and the new config replaces it with systemd. It should not cause any problems, but if in doubt you can create a new preset for the new config.


How it feels to run shred/wipe in a COW system

Offline

#3 2025-12-23 23:17:29

HelmchenLord
Member
Registered: 2025-04-24
Posts: 18

Re: [Solved] Need help with new mkinitcpio.conf

Okay, thank you. I copied the new configuration, ran "mkinitcpio -P", and restarted my pc. Everything is fine so far.

Offline

Board footer

Powered by FluxBB