Hey there!


Gentoo quick setup (for advanced gentoo users)

  • May 8, 2016
  • Linux

This is an excerpt from gentoo handbook containing only the stuff that really matters, with no extra stuff:

Prepare your disks

Do I need to explain how? 🙂 if yes, this is not for you

Mount them

Prepare stage3

Chroot

Emerge setup

Kernel

Initramfs

Pick one

Filesystems

Just edit /etc/fstab

Networking

Grub

 




systemd cheat sheet

Services overview and unit files

The available unit files can be seen in /usr/lib/systemd/system/ and /etc/systemd/system/

Start / stop

Checking status

By default it should be possible to view the output of every unit using journal – journalctl

Enable / disable service

Power management

Modifying system

  • /usr/lib/systemd/system/: units provided by installed packages
  • /etc/systemd/system/: units installed by the system administrator

When you modify the unit file, you always need to run:

See https://wiki.archlinux.org/index.php/systemd for more information