User:Pavlix/Install

See also:


 * http://www.gentoo.org/doc/en/gentoo-x86-quickinstall.xml

PXE
Upstream status:


 * PXE images not distributed
 * PXE documentation uses NFS, not squashfs, entirely wrong for a live system

Manual way:


 * grub2-mknetdir -v --net-directory=/tftproot
 * download install-amd64-minimal-20141204.iso
 * mount the iso
 * modify initrd and merge in squashfs
 * create grub.conf

Created a script and documented in Gentoo Wiki:


 * gentoo-boot-pxe /tftproot install-amd64-minimal-20141204.iso
 * https://wiki.gentoo.org/wiki/Installation_alternatives#Diskless_install_using_PXE_and_kernel.2Finitrd.2Fsquashfs_from_the_LiveCD

Publish over tftp:

emerge -av tftp-hpa systemctl enable tftp.socket (check /tftproot location)

remote access
/etc/init.d/sshd start mkdir .ssh ( cd .ssh && curl -O .....url-with-public-key ) ip address

Connect over SSH:

ssh root@

Alternative: SSH without host keys.

alias issh="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" issh root@172.16.2.214