||4 years ago|
|etc||4 years ago|
|usr/src/linux||4 years ago|
|gein.sh||4 years ago|
gein (GEntoo INstaller) is a script for automating the installation of
my ideal Gentoo Linux system. This repository contains the following:
gein.sh, the installation script
etc/, configuration files
usr/, kernel configurations
geinis not a replacement for reading the Gentoo Handbook. If anything is not understood, please consult the Gentoo Handbook for your system before submitting an issue.
- Be sure to review this repository in it's entirety, including the
warnings at the top of
- You must manually partition your disks and mount the partitions.
- No web browser, office suite, or other applications are included by default.
"How much about Gentoo will I need to know to use gein?"
I would suggest reading the Gentoo Handbook and every file in this project before proceeding.
"I keep getting boot failures after installing in a VirtualBox VM?"
Remove the virtual disk drive from the boot order and restart.
"The display is lagging when using LXQT on my Nvidia GPU?"
eselect opengl set nvidia as root.
You may use this script as-is by performing the following steps:
Download the latest Gentoo install cd for your architecture. Only amd64 is currently defined. Create an issue with the output of
uname -afor it to be added to the script.
Write the ISO to a disk or USB drive and boot from it.
$ dd if=~/Downloads/install-*.iso of=/dev/sdX $ reboot
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.
$ fdisk /dev/sdX $ mount /dev/sdX1 /mnt/gentoo
Download and run
$ wget https://raw.githubusercontent.com/jcmdln/gein/master/gein.sh $ sh gein.sh gein: Linux-based derivative of Gentoo bootstrap Bootstrap the stage3 tarball Post-bootstrap: base Basic headless server & development minimal X, i3wm, and base packages complete A complete LXQT Gentoo desktop
Uncomment and set the
VideoCardsvariables. Both MUST be set or
gein.shwill exit. If you don't need any video support, then set
PartitionBoot="/dev/sda" VideoCards="i915 i965 intel"
Start the bootstrap. Upon completion, the script will chroot into
/mnt/gentooso we may proceed to the next step.
$ sh ./gein.sh bootstrap
Install the desired target:
$ sh ./gein.sh minimal
Wait a few hours. You will be prompted as few times as possible, and as close to the beginning or end of the process.
Enjoy your new Gentoo installation!
If you would like to create your own ideal Gentoo system using this script, you may do so by:
- Forking https://github.com/jcmdln/gein
- Modify the configuration files as desired
- Update the
- Update the
CONFIG()function to represent your configuration