Is dracut replacing mkinitcpio?

Is Arch switching from mkinitcpio to dracut? And if so, how long will mkinitcpio likely be supported?

I’m asking as the Arch linux installation manual says to install mkinitcpio, so I did. I then made a hook that gives the user options to to boot into tmpfs, overlay, or a snapshot. I’m quite happy with it.

Then I came upon a few posts that say Arch is switching to dracut. That would be a shame for those that like injecting scripts/hooks into the boot process. Dracut seems to be exceedingly complex to figure out. And I’ve yet to see any clear documentation showing how to do create a boot script in it. The exception being cryptic man-like pages with no examples.

Does Arch have plans to switch?

Please tell me it’s not switching.

Not that I am aware of.

There was a plan for Arch to switch to dracut but nobody ever picked up the work so they stuck with mkinitcpio. Unless something has changed recently, I don’t think there are plans to switch.

That being said, it might make more sense to ask them directly instead of creating an account to ask here. :thinking:

3 Likes

Thanks. This is good to hear. :slightly_smiling_face:

And I created an account here to share ideas with other Arch users.

I switched my Arch installation from mkinitcpio to dracut, have found it does more automatically for you and less you have to manually configure.

2 Likes

That seems true if you just want to use the default settings or change something simple like kernel compression. It’s great for that. However, the nightmare begins when you want to make scripts that interact with the ramdisk environment.

I’ve seen several posts of people who just can’t figure dracut scripting out but who are just fine with mkinitcpio. And dracut is not just a little more complex. It’s on an entirely new level of complexity. It’s pretty much a rabbit hole with little to no documentation for tutorials or scripting.

Anyways, as long as mkinitcpio is still around, I’m happy.

mkinitcpio seems to be undergoing pretty active development so I guess it will be still around for yet quite some time.

5 Likes

You created an account here (not Arch) to share ideas with Arch users ( again, not Arch)?

I’m really confused. Why would you not go to Arch forums, and instead come here? This is Endeavour. I think you might be in the wrong place.

2 Likes

You do realize we use dracut here, yes?

not all :innocent:

1 Like

No, not everyone, but the newer isos use dracut.

I use dracut, but fit different reasons lol

AFAIK arm no use dracut

1 Like

Got it. Well, other than our arm division, the normal installs use dracut for maybe a year now?? Approximately

Either way it’s still kind of odd to have come here and not Arch to find Arch users.

if that what usr pick … AFAIK " choice" still thing on Endeavouros

I haven’t looked that deep in avm but I thought the choice was only grub or systemd boot. I don’t think between dracut and mkinitcpio

maybe you right …

Endevour uses dracut, but don’t forget that to add to your kernel cmdline you need to add to /etc/kernel/cmdline instead of dracut

3 Likes

It was actually to post about something else, but I don’t have forum permissions yet to make a post about it.

Even if the default were to change, you can still choose which one you want to use. I prefer dracut so I just add it to my pacstrap and :magic_wand: just like that my Arch install uses dracut instead of mkinitcpio.

It doesn’t really matter what the default is; no reason to get excited.

I installed Arch the other day with Kde and I’m sure it had dracut.

How did you install it? It would be very odd if you didn’t specifically install it.