{"id":145,"date":"2018-05-02T20:52:15","date_gmt":"2018-05-03T01:52:15","guid":{"rendered":"http:\/\/blogs.gentoo.org\/chrisadr\/?p=145"},"modified":"2019-11-01T03:35:27","modified_gmt":"2019-11-01T08:35:27","slug":"installer-a-basic-gentoo-system-anyone-can-install","status":"publish","type":"post","link":"https:\/\/blogs.gentoo.org\/chrisadr\/2018\/05\/02\/installer-a-basic-gentoo-system-anyone-can-install\/","title":{"rendered":"installer: a basic Gentoo system anyone can install"},"content":{"rendered":"<p>Good day everybody :)<\/p>\n<p>Finally, I&#8217;m writing in English, and the best way to begin the internationalization of my posts is to introduce to all of you my tiny project,\u00a0<em>installer<\/em>.<\/p>\n<h3>What is installer designed for?<\/h3>\n<p><em>installer<\/em> is a quite simple Python program designed to aid users (especially those who are installing Gentoo for the first time) in the installation process. It is not meant to be a replacement for the Gentoo Handbook, instead, it is designed to work with it and provide a summarized amount of information to the user and if he\/she needs more detailed info, the Handbook should be the first point of reference.<\/p>\n<h3>Who can use installer?<\/h3>\n<p>It requires from users the ability\u00a0to navigate on a terminal, create partition tables manually, download files, extract, copy or edit them&#8230; well being comfortable\u00a0with the shell in summary. Since the first ACTION available is &#8216;beginner&#8217;, it assumes that the user has never installed Gentoo Linux, but he\/she knows enough about how to work to be able to attempt an installation.<\/p>\n<h3>Will installer replace the Gentoo Handbook?<\/h3>\n<p>Absolutely\u00a0<strong>no<\/strong>. The Gentoo Handbook is the heart from\u00a0<em>installer<\/em>, it will point substantial information to users, and especially, it will be the ultimate reference during the installation process, <em>installer<\/em> only pretends to summarize some of the information and present it in a convenient terminal-size way.<\/p>\n<h3>How can I use <em>installer<\/em>?<\/h3>\n<p>Once in the shell, it is as easy as:<\/p>\n<p><code>installer beginner<\/code><\/p>\n<p>I&#8217;ll use my terminal to show you some of the steps required to install Gentoo using <em>installer<\/em>. This process would be the same as in the Live CD or SystemRescueCD images, the idea is to be able to use installer in both environments and that way begin the normal installation process (I&#8217;m working on an ebuild to be able to add <em>installer<\/em> into both images). As root I&#8217;ll execute:<\/p>\n<p><code>instsaller beginner<\/code><\/p>\n<p>And I&#8217;ll see the first page:<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-148\" src=\"http:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-16-31.png\" alt=\"\" width=\"1454\" height=\"933\" srcset=\"https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-16-31.png 1454w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-16-31-300x193.png 300w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-16-31-768x493.png 768w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-16-31-1024x657.png 1024w\" sizes=\"(max-width: 1454px) 100vw, 1454px\" \/><\/p>\n<p>installer will open a new shell inside where you can write the commands listed above, or any other command that you consider needed to accomplish the task.<\/p>\n<p>Once you are satisfied with your commands, exiting the shell will show the next message, some steps will validate some information that is absolutely required to accomplish next steps, so let&#8217;s write <code>exit<\/code> and see what happens.<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-149\" src=\"http:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-22-12.png\" alt=\"\" width=\"1170\" height=\"793\" srcset=\"https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-22-12.png 1170w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-22-12-150x102.png 150w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-22-12-300x203.png 300w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-22-12-768x521.png 768w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-22-12-1024x694.png 1024w\" sizes=\"(max-width: 1170px) 100vw, 1170px\" \/><\/p>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-150\" src=\"http:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-22-52.png\" alt=\"\" width=\"1452\" height=\"880\" srcset=\"https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-22-52.png 1452w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-22-52-150x91.png 150w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-22-52-300x182.png 300w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-22-52-768x465.png 768w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-22-52-1024x621.png 1024w\" sizes=\"(max-width: 1452px) 100vw, 1452px\" \/><\/p>\n<p><em>installer<\/em> does not want to provide the definitive solution to your installation, because of that, it will always suggest what suits for a <strong>beginner<\/strong> user, but it&#8217;s up to himself to do as\u00a0<em>installer <\/em>suggests. Let&#8217;s suppose that I only created one big partition for my installation and let&#8217;s proceed to the next step.<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-151\" src=\"http:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-26-59.png\" alt=\"\" width=\"1453\" height=\"821\" srcset=\"https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-26-59.png 1453w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-26-59-150x85.png 150w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-26-59-300x170.png 300w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-26-59-768x434.png 768w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-26-59-1024x579.png 1024w\" sizes=\"(max-width: 1453px) 100vw, 1453px\" \/><\/p>\n<p>Once again,\u00a0<em>installer<\/em> will suggest information to the user, in this case regarding the filesystem, but again, it will be the user&#8217;s decision. Let&#8217;s see the next step:<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-152\" src=\"http:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-28-45.png\" alt=\"\" width=\"1452\" height=\"534\" srcset=\"https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-28-45.png 1452w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-28-45-150x55.png 150w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-28-45-300x110.png 300w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-28-45-768x282.png 768w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-28-45-1024x377.png 1024w\" sizes=\"(max-width: 1452px) 100vw, 1452px\" \/><\/p>\n<p>Once mounted, installer will follow the &#8220;usual&#8221; installation process, meaning that it will assist you downloading the stage3 tarball, extracting it, configuring your <code>make.conf<\/code> file, updating your ebuild repository and the base system, selecting your profile, entering the chroot, etc.<\/p>\n<p>Once inside the chroot, you&#8217;ll be able to resume\u00a0<em>installer<\/em> and continue with the system configuration, kernel compilation, bootloader installation, among all the other things required to have a working Gentoo box.<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-153\" src=\"http:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-34-57.png\" alt=\"\" width=\"1453\" height=\"932\" srcset=\"https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-34-57.png 1453w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-34-57-150x96.png 150w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-34-57-300x192.png 300w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-34-57-768x493.png 768w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-34-57-1024x657.png 1024w\" sizes=\"(max-width: 1453px) 100vw, 1453px\" \/><\/p>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-154\" src=\"http:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-35-51.png\" alt=\"\" width=\"1454\" height=\"851\" srcset=\"https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-35-51.png 1454w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-35-51-150x88.png 150w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-35-51-300x176.png 300w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-35-51-768x449.png 768w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-35-51-1024x599.png 1024w\" sizes=\"(max-width: 1454px) 100vw, 1454px\" \/><\/p>\n<p>You&#8217;ll keep going with all the required steps until you reach the final step, where the user will have to exit the chroot, remove installer from the mounted partition, and reboot in order to start enjoying Gentoo Linux.<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-155\" src=\"http:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-37-57.png\" alt=\"\" width=\"1449\" height=\"933\" srcset=\"https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-37-57.png 1449w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-37-57-150x97.png 150w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-37-57-300x193.png 300w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-37-57-768x495.png 768w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-37-57-1024x659.png 1024w\" sizes=\"(max-width: 1449px) 100vw, 1449px\" \/><\/p>\n<h3>What else can <em>installer<\/em> do?<\/h3>\n<p>Another action that installer is capable of is\u00a0<em>stageX\u00a0<\/em>generation. A\u00a0<em>stageX<\/em> is a tarball that contains most of the configuration required during the installation process. Let&#8217;s suppose that I already have a working configuration on my system, and now I want to install the same configuration on a new computer, all I need to do is to generate a stageX tarball with\u00a0<code>installer generate<\/code><\/p>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-156\" src=\"http:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-41-05.png\" alt=\"\" width=\"1453\" height=\"932\" srcset=\"https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-41-05.png 1453w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-41-05-150x96.png 150w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-41-05-300x192.png 300w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-41-05-768x493.png 768w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-41-05-1024x657.png 1024w\" sizes=\"(max-width: 1453px) 100vw, 1453px\" \/><\/p>\n<p>Now I can extract a normal stage3 on the new computer, then extract my stageX tarball and I&#8217;ll just have to do the last steps from the installation process.<\/p>\n<h3><em>installer<\/em>&#8216;s Terminal User Interface (TUI)<\/h3>\n<p>This is a feature that I&#8217;ll still be working on, Gentoo is designed to be as flexible as possible, and each user should be capable of tweak it&#8217;s box to the point he\/she feels absolute control, when we try to do that with a TUI, the amount of options would be huge, but maybe with some time it&#8217;ll be capable of list every possible tweak on an easy to read interface. Right now it helps users to resume from any point of the installation, you only need to execute:\u00a0<code>installer beginner -t<\/code><img loading=\"lazy\" class=\"aligncenter size-full wp-image-157\" src=\"http:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-46-18.png\" alt=\"\" width=\"1451\" height=\"871\" srcset=\"https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-46-18.png 1451w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-46-18-150x90.png 150w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-46-18-300x180.png 300w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-46-18-768x461.png 768w, https:\/\/blogs.gentoo.org\/chrisadr\/files\/2018\/05\/Captura-de-pantalla-de-2018-05-02-20-46-18-1024x615.png 1024w\" sizes=\"(max-width: 1451px) 100vw, 1451px\" \/><\/p>\n<h3>Final thoughts<\/h3>\n<p>If you are here, you pretty much have an idea of my project and thank you for reading this far. If you find it interesting and\/or have an idea of a really cool feature, please let me know :) I&#8217;ll keep working on the beta for a couple of weeks,\u00a0<em>installer<\/em> works right now in English and Spanish, if you want to add another language, let me know and I&#8217;ll be more than glad to help you in the translation effort.<\/p>\n<p>Best regards,<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Good day everybody :) Finally, I&#8217;m writing in English, and the best way to begin the internationalization of my posts is to introduce to all of you my tiny project,\u00a0installer. What is installer designed for? installer is a quite simple Python program designed to aid users (especially those who are installing Gentoo for the first &hellip; <a href=\"https:\/\/blogs.gentoo.org\/chrisadr\/2018\/05\/02\/installer-a-basic-gentoo-system-anyone-can-install\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">installer: a basic Gentoo system anyone can install<\/span><\/a><\/p>\n","protected":false},"author":169,"featured_media":9,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[31],"jetpack_featured_media_url":"https:\/\/blogs.gentoo.org\/chrisadr\/files\/2017\/10\/wallpaper.png","_links":{"self":[{"href":"https:\/\/blogs.gentoo.org\/chrisadr\/wp-json\/wp\/v2\/posts\/145"}],"collection":[{"href":"https:\/\/blogs.gentoo.org\/chrisadr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.gentoo.org\/chrisadr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/chrisadr\/wp-json\/wp\/v2\/users\/169"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/chrisadr\/wp-json\/wp\/v2\/comments?post=145"}],"version-history":[{"count":4,"href":"https:\/\/blogs.gentoo.org\/chrisadr\/wp-json\/wp\/v2\/posts\/145\/revisions"}],"predecessor-version":[{"id":161,"href":"https:\/\/blogs.gentoo.org\/chrisadr\/wp-json\/wp\/v2\/posts\/145\/revisions\/161"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/chrisadr\/wp-json\/wp\/v2\/media\/9"}],"wp:attachment":[{"href":"https:\/\/blogs.gentoo.org\/chrisadr\/wp-json\/wp\/v2\/media?parent=145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/chrisadr\/wp-json\/wp\/v2\/categories?post=145"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/chrisadr\/wp-json\/wp\/v2\/tags?post=145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}