MY GENTOO INSTALL GUIDE v0.0.1: Initial v0.0.2: Switched from systemd to OpenRC v0.0.3: Some extra changes with help from cat v0.0.4: Useless v0.0.5: Add WD-40 v0.0.6: eme-free USE flag v0.0.7: Remove XLibre v0.0.8: Clarify the CFLAGS ---------- BEGIN GENTOO INSTALL GUIDE ---------- Handbook: https://wiki.gentoo.org/wiki/Handbook:AMD64 Partition, btrfs. Stage file: stage3 [systemd] on download page chroot in To add to make.conf: ``` # thanks to cat-from-plan9 USE="X dist-kernel eme-free xft pulseaudio networkmanager pipewire dbus -systemd -bluetooth -telemetry -proprietary-codecs" GRUB_PLATFORMS="pc efi-32 efi-64 multiboot" ABI_X86="32 64" MAKEOPTS="-j16" CLEAN_DELAY=0 VIDEO_CARDS="amdgpu radeonsi" ``` Also add to https://wiki.gentoo.org/wiki/Safe_CFLAGS#Automatic_CPU_detection_by_the_compiler to COMMON_FLAGS for BLAZING FAST!! Also set up https://wiki.gentoo.org/wiki/WD-40 /etc/portage/package.use/00video_cards can be `*/* VIDEO_CARDS: amdgpu radeonsi`, same value as in Make.conf Also do https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Base#Optional:_Updating_the_.40world_set /etc/portage/repos.conf/main.conf: ``` [DEFAULT] main-repo = gentoo [gentoo] location = /var/db/repos/gentoo sync-type = git sync-uri = https://github.com/gentoo-mirror/gentoo.git ``` /etc/portage/repos.conf/eselect-repo.conf: ``` [guru] location = /var/db/repos/guru sync-type = git sync-uri = https://github.com/gentoo-mirror/guru.git ``` If you get IMPORTANT: config file '/etc/portage/package.use/00video_cards' needs updating. then run `dispatch-conf` but press `z` to "zap" it. Install sys-apps/linux-firmware!!! FILE /etc/portage/package.use/installkernel: `sys-kernel/installkernel grub` emerge --ask sys-kernel/installkernel Then, set up dracut. add `dracut`, so the file would be `sys-kernel/installkernel grub dracut`. Configure dracut. `emerge --ask sys-kernel/installkernel` again. ^ See https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Kernel#Initramfs USE sys-kernel/gentoo-kernel USE DISTROBUTION KERNEL!! This part will take pretty long. Now you can `emerge --ask @module-rebuild` DO NOT INSTALL sys-kernel/gentoo-sources Setup fstab. Separate /home partition. Take a look at my debian fstab: ``` # / was on /dev/nvme1n1p2 during installation UUID=e344e9e2-0964-4bdd-b06a-3bb2dae792d8 / btrfs defaults,subvol=@rootfs 0 0 # /boot/efi was on /dev/nvme1n1p1 during installation UUID=8DB0-7A16 /boot/efi vfat umask=0077 0 1 /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0 # /home UUID=99238ed0-5bd7-4691-b5ae-f7228c44badf /home btrfs defaults,subvol=@home 0 0 ``` Use example from full UEFI config (why does this not use an automatic tool???) Set hostname: `echo gentoo > /etc/hostname` Set up network manager. See https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/System#NetworkManger_.28any_init_system.29 Set up /etc/hosts.txt in addition! Now you can do https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/System#OpenRC BASH completion! DO THIS NOW https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Tools#Optional:_Shell_completion Also this as well!!! https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Tools#Suggested:_Time_synchronization for TIME Do btrfs progs https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Tools#Filesystem_tools ALMOST done! Set up grub fully. https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Bootloader#Default:_GRUB This last step (Finalizing) is really easy. The article sums it up perfectly anyway. ---------- END GENTOO INSTALL GUIDE ---------- ---------- BEGIN NOTES ---------- sudo apt update in Gentoo is this: sudo emaint sync upgrade in Gentoo is this: sudo emerge -avuDU @world upgrade in Gentoo (new USE config) is this: sudo emerge -avuDN @world sudo apt install in Gentoo is this: sudo emerge -av sudo apt autoremove in Gentoo is this: sudo emerge -av --depclean ---------- END NOTES ---------- todo: get sirikali, maybe others? If you want to search repos for a pkg: https://wiki.gentoo.org/wiki/Eix#Adding_remote_repositories_to_the_cache emerge -av x11-wm/icewm emerge -av app-editors/nano emerge -av dev-vcs/git emerge -av app-misc/fastfetch emerge -av app-eselect/eselect-repository emerge -av x11-base/xorg-server emerge -av1 xorg-server @x11-module-rebuild emerge -av x11-apps/xinit emerge -av x11-apps/xauth emerge -av x11-base/xorg-fonts emerge -av app-editors/emacs eselect repository enable pf4public emaint sync -r pf4public emerge -f www-client/ungoogled-chromium emerge -av1 www-client/ungoogled-chromium emerge -av net-irc/konversation emerge -av x11-misc/redshift emerge -av kde-apps/kdenlive emerge -av x11-misc/xscreensaver emerge -av app-admin/keepassxc emerge -av x11-apps/xkill emerge -av media-video/obs-studio emerge -av app-emulation/wine-vanilla emerge -av net-vpn/tor emerge -av app-editors/vscodium emerge -av x11-apps/xrandr eselect repository enable guru emaint sync -r guru emerge -av mail-client/betterbird-bin emerge -av media-video/freetube emerge -av www-client/torbrowser emerge -av x11-misc/ksnip emerge -av nheko emerge -av net-misc/rclone emerge -av net-im/signal-desktop-bin emerge -av kde-apps/kwalletmanager emerge -av kde-apps/konsole emerge -av kde-apps/yakuake emerge -av gnome-base/nautilus emerge -av x11-misc/lightdm emerge -av x11-misc/lightdm-gtk-greeter sudo systemctl enable lightdm eselect repository enable overlay-from-plan9 emaint sync -r overlay-from-plan9 emerge -av games-action/tux-aqfh emerge -av net-im/quickmedia You know the drill... reboot > And change gentoo overlay to be git not rsync [after install] I thank cat-from-plan9 to help me with this!