User:Lucas/Gentoo Install Notes

From stoney cloud
< User:Lucas
Revision as of 19:13, 22 February 2014 by Lucas (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
  • hack /usr/local/scripts/netfilter/local/chains/vms/kvm_0231_chain.sh on host to allow gateway conns
  • first hd is /dev/vda
  • default gentoo handbook install with lvm setup on vda3 and one large lv_root
  • install lvm2 so you can build a lvm initramfs
    • if you skip this you will have tons of fun loading lvm in the initramfs shell: lvm vgscan --mknodes && lvm lvchange -a ly vg01/lv_root
  • kernel build with: genkernel --install --lvm --menuconfig all (do not use --virtio, activate them in menuconfig instead, I had heaps of fun hunting down all the modules)
    • actually genkernel --install --lvm --kernel-config=/root/kernel.config since lazy me hates using a ui
    • the --virtio switch seems screwed due to some oldconfig changes with the VIRTIO_MMIO system, but i haven't looked into that more
  • remember to also set GRUB_CMDLINE_LINUX="dolvm" in /etc/default/grub (as i said before, a ton of fun)
  • more things to install on new machines: emerge dev-vcs/git vim
  • now for puppet: USE="augeas vim-syntax" emerge puppet
  • before using puppet: emerge eix && eix-update