Skip to content

An install script to automate setting up a base gentoo system

Notifications You must be signed in to change notification settings

prateekvadde/Gentoo-install-script

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Gentoo-Install-Scripts

An install script to automate setting up a base gentoo system. Original one is not maintained any more

Usage

  1. Clone this repository into the installation media of your choice.
  2. Download a stage3 tarball from Gentoo's website, and place it in the stage3 folder.
  3. Partition the disks as listed below
  4. Create the "/mnt/gentoo" directory (If not using Gentoo install media)
  5. run the script and follow the instructions.

Important

By default the script uses the default partition table in the gentoo handbook

Filesystem
/dev/(your disk name)1 -> BIOS boot partition
/dev/(your disk name)2 -> Boot partition
/dev/(your disk name)3 -> Swap partition
/dev/(your disk name)4 -> Root partition

This script will need some modifications especially the kernel config file. These modifications depend on your system. Also this script uses openrc as its primary init system. Also the script at this point in time doesn't automatically download a stage3 tarball you will have to do that your self and place it in the stage3 folder, however, I have provided a script for that.

Another thing to note is that the script by default builds for UEFI systems. This can easily be changed

Note:

The script uses the default Arch linux kernel config. After installation you should change the kernel to your liking.

If you have any issues, create a github issue.

About

An install script to automate setting up a base gentoo system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%