Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dracut + OpenRC without SystemD still possible? [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
NightMonkey
Guru
Guru


Joined: 21 Mar 2003
Posts: 356
Location: Philadelphia, PA

PostPosted: Mon Oct 26, 2020 6:01 pm    Post subject: Dracut + OpenRC without SystemD still possible? [SOLVED] Reply with quote

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.
_________________
:D


Last edited by NightMonkey on Tue Dec 15, 2020 4:34 am; edited 1 time in total
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Tue Oct 27, 2020 5:24 pm    Post subject: Reply with quote

Hi dracut is working just fine in myopenrc.
I just rechecked by running
Code:

dracut --force

Please try
In /etc/dracut.conf.d/<your-config>.conf
Code:

omit_dracutmodules+=".............systemd plymouth"

_________________
:)
Back to top
View user's profile Send private message
Princess Nell
l33t
l33t


Joined: 15 Apr 2005
Posts: 916

PostPosted: Tue Oct 27, 2020 9:59 pm    Post subject: Reply with quote

It looks like you don't have sys-boot/plymouth installed. Either install it or drop it from the config.
Back to top
View user's profile Send private message
NightMonkey
Guru
Guru


Joined: 21 Mar 2003
Posts: 356
Location: Philadelphia, PA

PostPosted: Tue Dec 15, 2020 4:35 am    Post subject: Reply with quote

alamahant wrote:
Hi dracut is working just fine in myopenrc.
I just rechecked by running
Code:

dracut --force

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. :)
_________________
:D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum