Skip to content

Headless Auto Install, Perfect for initial gentoo server setup.

License

Notifications You must be signed in to change notification settings

NiKiZe/Gentoo-HAI

 
 

Repository files navigation

Gentoo-HAI

Gentoo - Headless Auto Installer, Perfect for initial Gentoo (server) setup. (hai also becomes a phun in Japanese)

Use a livecd and manually download http://goo.gl/5Y2Gj (https://raw.github.com/ASoft-se/Gentoo-HAI/master/install.sh) and run it to make the installation..

Example:
wget goo.gl/5Y2Gj -O install.sh
sh install.sh

Please check the script for settings and optimizions that can be done.

  • list_latest.sh Grab name of latest iso and stage3

  • get_minimal_cd.sh Download and verify latest minimal livecd

  • gentoocd_unpack.sh Unpacks and modifies livecd, adding auto run install script on boot/logon

  • gentoo_cd_bashrc_addon/gentoo_cdupdate.sh Added to modified livecd by gentoocd_unpack, runs on logon

  • install.sh Main Installation script

  • test_w_qemu.sh Virtual test machine helper, see script for some additional setup instructions and information

Run sh get_minimal_cd.sh to download latest install-amd64-minimal-*.iso. Run sh gentoocd_unpack.sh (unfortunatly requests root) to unpack iso and create install-amd64-mod.iso It adds script to cd start that runs the install automatically.

To make testing simple

Give sh gentoo_cdupdate.sh auto a try if you want to test things out in a vm. It will use test_w_qemu.sh to start qemu, Disk image is auto created if it does not already exist. When testing disk images will be recrated, so copy them to a safe place if you want to keep them.

About

Headless Auto Install, Perfect for initial gentoo server setup.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%