I’m trying to switch from openrc
to systemd
on my gentoo-desktop (don’t ask why).
It’s starts easy:
- changing profile from
desktop/plasma
todektop/plasma/systemd
. - Then everything re
emerge world -uDtvaN
… - Compiling new kernel with appropriate settings.
- creating a new initramfs with
dracut --kver <kernel-version>
- rebooting
Now it become complicated:
Systemd stucks in boot when it fails to mount zfs
and switching root to the new base. After a long journey I found a workaround:
- omit dracut-module
systemd
- adding
init=/usr/lib/systemd/systemd
as a kernel-parameter ingrub
.