User Tools

Site Tools


linux:gentoo:gentoo_notes

This is an old revision of the document!


Gentoo Notes

USE flags

Use flags are in the USE variable located at /etc/portage/make.conf.

After changing the USE flags, use this command to recompile all the packages to reflect the new flags:

emerge --update --newuse --deep --quiet @world

Rebuild the Kernel on Gentoo

  • You'll want to cd to /usr/src/linux-<version>-gentoo
  • Run make menuconfig to configure your kernel
  • Run make -j$TC && make -j$TC moddules_install && make install (where $TC is the thread count, i.e. the number of cores in your CPU+1)
  • Update grub with grub-mkconfig -o /boot/grub/grub.cfg
  • Lastly, use genkernel initramfs to update your initramfs
linux/gentoo/gentoo_notes.1544862684.txt.gz · Last modified: 2018/12/15 00:31 by dave