Here are my notes on installing arch:
- connect wifi if needed: `iwctl` (station wlan0 connect SSID)
- make partitions
- list devs: `lsblk`
- partition: `fdisk /dev/sd...` (efi, swap, root)
- format: `mkfs[.ext4/.fat -F 32] /dev/sd... [+mkswap]`
- `mount /dev/sd... /mnt`
- `swapon`
- prep root dir: `pacstrap -K /mnt base linux linux-firmware sudo efibootmgr networkmanager neovim broot btop zsh alacritty tldr man less git [grub]`
- boot mounts: `genfstab -U /mnt >> /mnt/etc/fstab`
- change root: `arch-chroot /mnt`
- `passwd`
- `echo ... >> /etc/hostname`
- `systemctl enable NetworkManager`
- sudo users
- `EDITOR=nvim visudo` (uncomment wheel)
- `useradd user --groups wheel --create-home --shell /bin/zsh`
- `passwd user`
- boot loader
- directly boot linux from efi: efibootmgr --create --disk /dev/sdX --part Y --label "Arch Linux" --loader /vmlinuz-linux --unicode 'root=block_device_identifier rw initrd=\initramfs-linux.img' (blkid)
- GRUB EFI
- `grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB`
- `grub-mkconfig -o /boot/grub/grub.cfg`
here is what I think I need to change for gentoo
(using archiso & arch install notes)
- prep up to pacstrap as usual...
- pacstrap equivalent?
- download stage 3 tarball to prep new root
- configure portage
- configure kernel and firmware
- boot mounts: `genfstab -U /mnt >> /mnt/etc/fstab`
- change root: `arch-chroot /mnt`
- download other required packages
- usual steps from chroot?
Is this mostly right? What am I missing? The wiki has a lot of stuff, which is great, but am I right on focusing on the bits about configuring portage, kernel and firmware for now?