https://www.youtube.com/watch?v=6yxJoMa05ZM
prep filesystem
wipefs -a /dev/sdd parted -a optical /dev/sdd mklabel gpt unit mib mkpart primary a b set 1 bios_grub on
tar xpvf …. –xattrs –numeric-owner https://man7.org/linux/man-pages/man7/xattr.7.html
(stage3) basic conf
etc/portage/make.conf etc/portage/repos.conf/gentoo.conf <- usr/share/portage/config/repos.conf
chroot into gentoo
mount boot? emerge-webrsync
eselect profile list?
emerge –verbose –update –deep –newuse @world
/etc/timezone emerge –config sys-libs/timezone-data??
eselect locale list? vim /etc/locale.gen locale-gen eselect locale list
env-update && source /etc/profile??
license?? masking??
compile kernel
/usr/src/kernel make && make module_install && make install
genkernel?? genkerenl –install –kernel-config=/usr/src/linux/.config initramfs
CONFIG_GENTOO_LINUX_INIT_SYSTEMD=y
CONFIG_CMDLINE="root=/dev/sda6 resume=/dev/sda5 init=/usr/lib/systemd/systemd"
emerge
emerge –ask # ask for confirmation emerge –depclean emerge –search
https://wiki.gentoo.org/wiki/OpenRC_to_systemd_Cheatsheet
fixing slot issue with perl??
https://wiki.gentoo.org/wiki/Perl
USE
it is like a system config, where you specific what config you want / has configure on the system. so that the following installation can follow
global USE per-package USE
use emerge pretend to see what the USE flag is, given the system config