Skip to content

Instantly share code, notes, and snippets.

@ursm
Last active August 29, 2015 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ursm/538cce6044e256effdc3 to your computer and use it in GitHub Desktop.
Save ursm/538cce6044e256effdc3 to your computer and use it in GitHub Desktop.

kernel

# cd /usr/src/linux
# make nconfig

Gentoo Linux  --->
  Support for init systems, system and service managers  --->
    [ ] OpenRC, runit and other script based systems and managers
    [*] systemd
Device Drivers  --->
  Generic Driver Options  --->
    [*] Support for uevent helper
      () path to uevent helper (注: 空にする)

# make -j4 && make install modules_install

grub

# vim /etc/default/grub
-#GRUB_CMDLINE_LINUX=""
+GRUB_CMDLINE_LINUX="init=/usr/lib/systemd/systemd"
# grub2-mkconfig -o /boot/grub/grub.cfg

emerge

# vim /etc/portage/make.conf
-USE="bindist mmx sse sse2"
+USE="bindist mmx sse sse2 systemd"
# emerge -avuDN @world -j4

networking

# systemctl enable dhcpcd

or

https://wiki.archlinux.org/index.php/Systemd-networkd

finish

# reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment