[systemd-devel] About systemd in initrd support

Tobias Geerinckx-Rice tobias.geerinckx.rice at gmail.com
Sat Aug 23 13:45:35 PDT 2014


On 23 August 2014 13:46, Luca Bruno <lethalman88 at gmail.com> wrote:
> I'm going to do an experiment with NixOS: replace the whole current initrd
> process made of scripts and hooks with systemd.

What a coincidence... I just switched to NixOS last week, moved some
file systems around, and promptly broke my boot. Badly.

The learning curve was steepened by the proprietary initrd script,
which gave me exactly 0 error messages until I could find a live CD
and look up the NixOS-specific boot options on-line. It also manages
to boot slower than my previous systemd-based initrds.

So, yes -- please.

> Also, apart arch linux, is there any other OS that you know using systemd
> for the whole initrd process?

Simon's right: switching to dracut brings relatively decent systemd
support more or less for free. I'd focus on that.

Regarding distributions: I've been using dracut on Exherbo (A Less
Brain-dead Gentoo®) for a year or so. It's the official initrd
generator in that there's a blog post somewhere saying "guys you
really should use dracut", but there's no distribution-specific code
or glue anywhere. It still works flawlessly. I take that as a
heartening hint that using it under NixOS should be relatively
straightforward.

Regards,

T G-R

> Thanks for you work.
>
> Best regards,
>
> --
> www.debian.org - The Universal Operating System
>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>


More information about the systemd-devel mailing list