ZFS with systemd
1 minute read •
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/plasmatodektop/plasma/systemd.
- Then everything reemerge 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/systemdas a kernel-parameter ingrub.