I'm having a massive amount of trouble installing gentoo with systemd; this is a fresh install and not an upgrade.
Steps (after partitions etc.. are setup):
-
Unpack AMD64 stage3 and emerge-webrsync and then
emerge --sync
for good measure -
Eselect profile gnome/systemd
-
emerge --update --deep --with-bdeps=y --newuse @world
-
emerge
gentoo sources; config andmake
the kernel -the gentoo systemd option is enabled as is openrc -
Install the kernel
-
install mdm and lvm (I'm running a raid0 as root)
-
install gentoo-next and
genkernel --install --no-ramdisk-modules -mdadm -lvm --udev initramfs
(this is as suggested by the systemd and raid install wikis) -
emerge
grub2 and install it with init set to systemd -
install some utils (e.g
dhcpcd
)
When I boot into the system i get nothing but a bunch of trouble – never actually having the system boot in full.
Errors (in no particular order as I had to write them by hand):
Failed to start trigger flushing of journal to persistent storage
Systemd-journal-flush service entered failed state
Systemd-journald.service.watchdog.timeout
Systemd-journal-flush.service exited, code=exited status=1/Failyre
A start job is running for udev Kernel Device Manager service...
Systemd-udevd.service.start operation timed out
Failed to start udev kernel device manager
It just sits there looping for the udev KDM startup always failing
if i hit control alt delete (or indeed type shutdown -h
now from within the chrooted environment) i get the following:
Failed to start reboot
Dependency for reboot failed
systemd-reboot service main process exited..
shutdown -h now
shutdown: /dev/initctl: No such file or directory
init: /dev/initctl: No such file or directory
I've been googling for a couple days now but couldn't find anything (though it is possible I'm blind). Journactl (when i chroot
into the setup) says No Journal Files Were Found.
I'm at a complete loss at this point. If anyone has any suggestions i would greatly appreciate them!
Best Answer
I've done this already:
emerge --update --deep --with-bdeps=y --newuse @world
to catch the new USE Flag.