{"id":22296194,"url":"https://github.com/kakwa/genautoo","last_synced_at":"2025-03-25T22:36:04.959Z","repository":{"id":5973646,"uuid":"7195443","full_name":"kakwa/genautoo","owner":"kakwa","description":"Genautoo: an automated installer for gentoo","archived":false,"fork":false,"pushed_at":"2015-02-05T20:00:18.000Z","size":742,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-30T19:50:00.925Z","etag":null,"topics":["automatic","gentoo","installer","shell"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kakwa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-12-16T21:18:16.000Z","updated_at":"2017-03-03T13:53:42.000Z","dependencies_parsed_at":"2022-08-26T19:50:49.647Z","dependency_job_id":null,"html_url":"https://github.com/kakwa/genautoo","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kakwa%2Fgenautoo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kakwa%2Fgenautoo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kakwa%2Fgenautoo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kakwa%2Fgenautoo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kakwa","download_url":"https://codeload.github.com/kakwa/genautoo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245556871,"owners_count":20634888,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automatic","gentoo","installer","shell"],"created_at":"2024-12-03T17:44:33.224Z","updated_at":"2025-03-25T22:36:04.931Z","avatar_url":"https://github.com/kakwa.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Genautoo: an automated installer for gentoo\n\n[![Join the chat at https://gitter.im/kakwa/genautoo](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/kakwa/genautoo?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\nThe goal of Genautoo is to install automatically Gentoo/Linux by customizing a single file.\n\n## License\n\ngenautoo is released under the MIT Public License\n\n## Why Genautoo?\n\nI'm not a big fan of redhat/fedora/centos but there is one thing I like in this environnement: the kickstart files.\nOne simple file permitting you to easily install and reinstall and rereinstall your system as you want.\n\nInstalling Gentoo is fun, but once you've done it several times, it doesn't learn you anything.\nIt's just a time consuming process, but for those who like the distro, it remains a necessary step. \n\nIn some cases, you may want to reinstall from scratch regularly. For example if you maintain some packages,\nit's a crude way to check that your ebuilds still work (since gentoo is a rolling release, your ebuilds could easily break).\n\nIn other cases, you may want to install identical Gentoos on several computers.\n\nGenautoo is a solution for these situations.\n\n## Description\n\nGenautoo is two things:\n\n- A script generating a custom install iso for gentoo: genautoo.sh\n\n- An installer: installer/install.sh (and its libs)\n\n## How do I use it?\n\nJust follow the steps:\n\n- create your config file \n    \n- run (as root, sorry):\n\n    ./genautoo.sh -a amd64 -c \u003cpath to your config file\u003e -o my_custom_install.iso\n\n- burn the iso/dd it on a usb stick\n\n- boot the shit\n\n- take a (long) coffee (several in fact)\n\n- restart your computer (don't forget to remove the install media) and VOILA!\n\n## Okay, but how do I create the config file?\n\nJust use vim :) \n\nHumm, that's not helping? Okay. Creating the config file is simple, here is a simple example:\n\n```shell\n[global]\n#some global parameters\n\n#mirror=\"http://mirror.ovh.net/gentoo-distfiles/\"\n#proxy=\"http://myproxy.example.net:8080\"\nparallele_emerge=\"-j4\"\nroot_password=\"changeme\"\n\n[network_install]\n#network configuration during the installation\neth0 dhcp\n#eth1 static 192.168.42.100/24\n#route eth1 default gw 192.168.42.254\n#dns 8.8.8.8\n\n[network]\n#network configuration of the installed system\n\n#eth1 static 192.168.69.51/24\n#route eth1 default gw 192.168.69.1\n#dns 8.8.8.8\n\n\n[partitionning]\n#partitions description\n\n#DISK     SIZE     FS          MOUNT_POINT\n/dev/sda   120M     ext4        /boot\n/dev/sda   1G       reiserfs    /\n/dev/sda   5G       ext4        /home\n/dev/sda   5G       ext4        /usr\n/dev/sda   1G       swap\n/dev/sda   ALL      ext4        /var\n\n[make.conf]\n#lines ADDED to the make.conf\nMAKEOPTS=\"-j8\"\nACCEPT_LICENSE=\"*\"\nLINGUAS=\"en fr\"\n\n[packages]\n#list of the packages to install\n    \nnet-misc/dhcpcd\napp-editors/vim\nsys-process/htop\nsys-kernel/gentoo-sources\n\n[pre_setup]\n#script executed before anything has started\n\necho \"hello\"\n\n[pre_install_nochroot]\n#shell script executed just before the chrooting\n\necho \"I\"\n\n[pre_install_chroot]\n#shell script executed just after the chrooting\n\necho \"am\"\n\n[post_install_chroot]\n#shell script executed after the installation inside the chroot\n\necho \"genautoo\"\n\n[post_install_nochroot]\n#shell script executed after the installation outside the chroot\n\necho \"installer\"\n```\nThe order of the section doesn't matter, and you can split a section, for example:\n```shell\n[global]\n#some global parameters\n\n[partitionning]\n#partitions description\n\n#DISK     SIZE     FS          MOUNT_POINT\n/dev/sda   120M     ext4        /boot\n/dev/sda   1G       reiserfs    /\n\n[global]\n#rest of the global parameters\n```\n\nAny way, there are some examples in the examples directory.\n\n## How does the installer work?\n\nIt's simply a bunch of bourne shell scripts that use the config file to do what they have to do.\n\nMore explanations coming soon...\n\n## How does genautoo.sh work?\n\nJust take a look at the help:\n\n    ./genautoo.sh -h\n\nWithout optional arguments, it takes the installer, the config file, it downloads the latest debian (hehehe) businesscard iso of the specified arch, and it builds a custom iso\n\nMore explanations coming soon...\n\n\n\n[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/kakwa/genautoo/trend.png)](https://bitdeli.com/free \"Bitdeli Badge\")\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkakwa%2Fgenautoo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkakwa%2Fgenautoo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkakwa%2Fgenautoo/lists"}