View previous topic :: View next topic |
Author |
Message |
NightMonkey Guru
Joined: 21 Mar 2003 Posts: 356 Location: Philadelphia, PA
|
Posted: Mon Oct 26, 2020 6:01 pm Post subject: Dracut + OpenRC without SystemD still possible? [SOLVED] |
|
|
Howdy! I'm having some trouble using dracut to create an initrd for my OpenRC-driven system. It seems that I've got some dependency that requires systemd - or maybe there's just no choice *not* to use systemd when using dracut? Here's my particulars:
Code: | # Dracut modules to add to the default
add_dracutmodules+="udev-rules plymouth dm lvm usrmount"
# additional kernel modules to the default
#add_drivers+=""
# list of kernel filesystem modules to be included in the generic initramfs
filesystems+="ext3 ext2 jfs"
# build initrd only to boot current hardware
hostonly="yes"
# install local /etc/mdadm.conf
mdadmconf="yes"
# install local /etc/lvm/lvm.conf
lvmconf="yes"
|
and the output after 'dracut -H'
Code: |
dracut: Executing: /usr/bin/dracut -H
dracut: dracut module 'bootchart' will not be installed, because command '/sbin/bootchartd' could not be found!
dracut: dracut module 'dash' will not be installed, because command '/bin/dash' could not be found!
dracut: dracut module 'mksh' will not be installed, because command '/bin/mksh' could not be found!
dracut: dracut module 'systemd' will not be installed, because command '/systemd' could not be found!
dracut: systemd-initrd needs systemd in the initramfs
dracut: systemd-networkd needs systemd in the initramfs
dracut: dracut module 'modsign' will not be installed, because command 'keyctl' could not be found!
dracut: dracut module 'rngd' will not be installed, because command 'rngd' could not be found!
dracut: dracut module 'dmraid' will not be installed, because command 'kpartx' could not be found!
dracut: dracut module 'stratis' will not be installed, because command 'stratisd-init' could not be found!
dracut: dracut module 'cifs' will not be installed, because command 'mount.cifs' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsiadm' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsid' could not be found!
dracut: 95nfs: Could not find any command of 'rpcbind portmap'!
cat: /sys/power/resume: No such file or directory
dracut: dracut module 'biosdevname' will not be installed, because command 'biosdevname' could not be found!
dracut: dracut module 'masterkey' will not be installed, because command 'keyctl' could not be found!
dracut: dracut-systemd needs systemd-initrd in the initramfs
dracut: dracut module 'plymouth' cannot be found or installed.
|
Any suggestions welcome! Thanks in advance. _________________
Last edited by NightMonkey on Tue Dec 15, 2020 4:34 am; edited 1 time in total |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Tue Oct 27, 2020 5:24 pm Post subject: |
|
|
Hi dracut is working just fine in myopenrc.
I just rechecked by running
Please try
In /etc/dracut.conf.d/<your-config>.conf
Code: |
omit_dracutmodules+=".............systemd plymouth"
|
_________________
|
|
Back to top |
|
|
Princess Nell l33t
Joined: 15 Apr 2005 Posts: 916
|
Posted: Tue Oct 27, 2020 9:59 pm Post subject: |
|
|
It looks like you don't have sys-boot/plymouth installed. Either install it or drop it from the config. |
|
Back to top |
|
|
NightMonkey Guru
Joined: 21 Mar 2003 Posts: 356 Location: Philadelphia, PA
|
Posted: Tue Dec 15, 2020 4:35 am Post subject: |
|
|
alamahant wrote: | Hi dracut is working just fine in myopenrc.
I just rechecked by running
Please try
In /etc/dracut.conf.d/<your-config>.conf
Code: |
omit_dracutmodules+=".............systemd plymouth"
|
|
This did the trick! Thank you alamahant and Princess Nell. _________________
|
|
Back to top |
|
|
|