||4 months ago|
|README.md||4 months ago|
|gein.sh||4 months ago|
gein is a collection of files driven by a shell script that (somewhat)
automates installing Gentoo.
- Read the Gentoo Handbook for your system
- Audit all of the files in this repository
- You must partition and mount your storage devices before running
Prepare a disk or USB drive
geinshould work from almost any live installation media, though Fedora Workstation or Ubuntu Desktop will most likely be best if you wish to continue using the system while you wait.
Partition and mount your disks.
Note that this example assumes that you will be using a single partition and later installing GRUB to the MBR. If you aren't using the Gentoo installation CD, you will need to run
mkdir /mnt/gentoobefore performing these steps:
$ fdisk /dev/sda $ mkfs.xfs /dev/sda1 $ mount /dev/sda1 /mnt/gentoo
You should be able to run the script from anywhere, but in general it may be best to
cd ~/so that you are a privileged user.
$ wget https://raw.githubusercontent.com/jcmdln/gein/master/gein.sh $ sh gein.sh gein: Gentoo minimal installation script -b. --bootstrap Bootstrap the stage3 tarball -i, --install Install Gentoo
Bootstrap the system
Now we can bootstrap the system:
$ GEIN_PARTITION_BOOT="/dev/sda" sh ./gein.sh --bootstrap
Once the boostrap process finishes, you will be in a chroot within
/mnt/gentoowhere you may proceed to the next step. Your new chroot has all the
GEIN_*environment variables as you defined them.
Install the desired target
$ sh ./gein.sh --install
At the start of the installation you'll be prompted to create a root password and pick your profile.
If you used a LiveCD then kill some time while you wait. Enjoy your new Gentoo installation!
I'm very interested in feedback regarding the contents of this repo. If you have any feedback, suggestions, or contributions please file an issue or pull request.