User:Aslantis/Personal Super Simplified Handbook

From Gentoo Wiki
Jump to:navigation Jump to:search

This is a super simplified "handbook" for me and other Linux users who already know how to partition disks and the like.

Getting stage3

wget a stage3 and steal a link from the downloads of the webpage, wish there were static URLs that just fetched the latest.

Unpacking stage3

This will unpack the stage3 file to the current directory, make sure this is to where you want gentoo's / to be.

tar xpf stage3-*.tar.xz --xattrs-include='*.*' --numeric-owner

Bring networking to stage3

cp --dereference /etc/resolv.conf /mnt/gentoo/etc/

The mounts you probably have permanently in your brain but here they are anyways

mount --types proc /proc /mnt/gentoo/proc mount --rbind /sys /mnt/gentoo/sys mount --make-rslave /mnt/gentoo/sys mount --rbind /dev /mnt/gentoo/dev mount --make-rslave /mnt/gentoo/dev mount --bind /run /mnt/gentoo/run mount --make-slave /mnt/gentoo/run

I've never ever did the rslave ones and I'm alive

After chroot

Install any networking programs

emerge -a connman

Install any bootloader and kernel how u choose

Everything else can be done after booting into Gentoo, have fun