Am 12.11.2014 um 11:07 schrieb Sam Jorna: > On Wed, Nov 12, 2014 at 10:42:28AM +0100, Michael Mair-Keimberger > wrote: >> On Wed, Nov 12, 2014 at 12:03:04PM +1100, wra...@wraeth.id.au >> wrote: >>> On Tue, Nov 11, 2014 at 09:56:09PM +0100, Michael >>> Mair-Keimberger wrote: > <snip> >> systemd. Maybe i could adopt that to my custom one as well. > </snip> > > Working examples are always nice :-)
Around dracut and grub2 I remember a few bits, maybe they help. In /etc/dracut.conf I have (after discussion here): # dracut modules to omit omit_dracutmodules+="systemd" (this one means "don't build an instance of systemd *into* the initrd) # dracut modules to add to the default add_dracutmodules+="bash" # build initrd only to boot current hardware hostonly="yes" hostonly_cmdline="yes" I don't use lvm and sw-raid anymore, you might need: add_dracutmodules+="lvm bash mdraid" or so.