|
4 years ago | |
---|---|---|
etc | 4 years ago | |
usr | ||
CNAME | 4 years ago | |
License.md | 4 years ago | |
Readme.md | ||
gein.sh |
Readme.md
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 scriptetc/
, configuration filesusr/
, kernel configurations
Warnings
- Using
gein
is 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
gein.sh
. - You must manually partition your disks and mount the partitions.
- No web browser, office suite, or other applications are included by default.
FAQ
"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?"
Run eselect opengl set nvidia
as root.
Installing
You may use this script as-is by performing the following steps:
-
Download the Gentoo install cd (or any Live distribution) for your architecture. Only amd64 is currently defined. Create an issue with the output of
uname -a
for 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. Note that if you aren't using the Gentoo installation CD, you will need to
mkdir /mnt/gentoo
before proceeding.$ fdisk /dev/sdX $ mkfs.ext4 /dev/sdX $ mount /dev/sdX1 /mnt/gentoo
-
Download and run
gein.sh
$ wget https://gein.io/gein.sh $ sh gein.sh gein: Linux-based derivative of Gentoo bootstrap Bootstrap the stage3 tarball Post-bootstrap: minimal Headless installation desktop Desktop installation
-
Uncomment and set the
PartitionBoot
&VideoCards
variables. Both MUST be set orgein.sh
will exit. If you don't need any video support, then setVideoCards
to false.PartitionBoot="/dev/sda" VideoCards="false"
-
Start the bootstrap. Upon completion, the script will chroot into
/mnt/gentoo
so 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 though prompts are at the very beginning or end of the process.
-
Enjoy your new Gentoo installation!
Customizing
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
Source
URL ingein.sh
- Update the
CONFIG()
function to represent your configuration