#Minimum change to arch install steps for first gentoo install?

1 messages · Page 1 of 1 (latest)

fickle galleon
#

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?

hoary ivy
#

yes that looks right. all you need to do to configure portage is repos.conf , and after you chroot emerge --sync, and pick a profile

at that point just emerge whatever you need to to get internet working when you first boot up, and whatever you need to boot, and make sure your root passwd is set

#

it will be easier not to miss things if you just follow the handbook. just pay attention to any section headers that say things are optional or alternatives to another thing

fickle galleon
#

yeah, but like with arch wiki, theres steps that aren't marked optional that look skippable (like locale), I guess I just need to get stuck-in in a vm, and if it breaks it breaks

#

cheers for confirmation (and notes on repos.conf & emerge)

hoary ivy
#

I wouldn't skip locale

#

time should be done immediately too

quaint silo
fickle galleon