You are not logged in.

#1 2025-11-05 21:16:39

SimonJ
Member
From: Alicante, Spain
Registered: 2021-05-11
Posts: 292
Website

[SOLVED] mkinitcpio.conf

I just did an update and the pacnew file found for /etc/mkinitcpio.conf has some changes and I don't know if I should change them or not, there is nothing, that I understand here https://gitlab.archlinux.org/archlinux/ … mkinitcpio

The changes are from

HOOKS=(base udev autodetect microcode modconf keyboard keymap block filesystems fsck)

to

 HOOKS=(base systemd autodetect microcode modconf kms keyboard keymap sd-vconsole block filesystems fsck)

Do I need to change udev to systemd? The others I am fairly sure I can ignore but this seems like a deliberate change.

Thanks for advices.

Last edited by SimonJ (2025-11-06 05:41:12)


Rlu: 222126

Offline

#2 2025-11-05 22:52:05

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,482

Re: [SOLVED] mkinitcpio.conf

It seems devs forgot to post a news item about this change.

from https://lists.archlinux.org/archives/li … T6F4RUPBJ/

# Switched over to `systemd` hooks by default.

This is generally a change I think we should have done a long time ago. The
systemd side of our initramfs is getting a lot of changes thanks to systemd
moving the needle forward, however our busybox hooks are not getting any of
these improvements and have generally stalled for years. I have swapped things
over on our side, and will continue to maintain the busybox hooks upstream.

It's a change in the default hooks , whether you want to change your hooks line is your choice.
If things work fine for you now, don't .

https://wiki.archlinux.org/title/Mkinit … mmon_hooks for explanations of those hooks .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2025-11-06 05:14:15

WFV
Member
From: ☭USSA⛧⭒⭒⭒⭒
Registered: 2013-04-23
Posts: 290

Re: [SOLVED] mkinitcpio.conf

From the Wiki sd-vconsole does job of both keymap and consolefont. Curious why the new default hook includes keymap?

HOOKS=(base systemd autodetect microcode modconf kms keyboard keymap sd-vconsole block filesystems fsck)

I made the switch from udev and omit keymap without issue, just interested what use case would require both. Thanks.


∞ hard times make the strong, the strong make good times, good times make the weak, the weak make hard times ∞

Offline

#4 2025-11-06 05:40:43

SimonJ
Member
From: Alicante, Spain
Registered: 2021-05-11
Posts: 292
Website

Re: [SOLVED] mkinitcpio.conf

Lone_Wolf wrote:

It seems devs forgot to post a news item about this change.

from https://lists.archlinux.org/archives/li … T6F4RUPBJ/

Thank you, this is what I missed, all done here now.


Rlu: 222126

Offline

Board footer

Powered by FluxBB