swift 13/01/19 20:59:23 Modified: gentoo-x86-quickinstall-after-reboot.xml gentoo-x86-quickinstall-stage.xml gentoo-x86-quickinstall-system.xml gentoo-x86-quickinstall.xml Log: Updates towards quickinstall to match with handbook settings, many thanks to Daniel Meltzer for the patches on gentoo-doc
Revision Changes Path 1.8 xml/htdocs/doc/en/gentoo-x86-quickinstall-after-reboot.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall-after-reboot.xml?rev=1.8&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall-after-reboot.xml?rev=1.8&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall-after-reboot.xml?r1=1.7&r2=1.8 Index: gentoo-x86-quickinstall-after-reboot.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall-after-reboot.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- gentoo-x86-quickinstall-after-reboot.xml 24 Jul 2012 12:12:51 -0000 1.7 +++ gentoo-x86-quickinstall-after-reboot.xml 19 Jan 2013 20:59:22 -0000 1.8 @@ -1,6 +1,6 @@ <?xml version='1.0' encoding="UTF-8"?> <!DOCTYPE included SYSTEM "/dtd/guide.dtd"> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall-after-reboot.xml,v 1.7 2012/07/24 12:12:51 swift Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall-after-reboot.xml,v 1.8 2013/01/19 20:59:22 swift Exp $ --> <included> @@ -194,8 +194,7 @@ then edit make.conf if required.</comment> mybox etc # <i>nano -w /etc/portage/make.conf</i> <comment>(The following USE flags have been defined)</comment> -USE="nptl nptlonly -ipv6 -fortran unicode svg hal dbus \ - -kde -qt4 -arts -eds -esd gnome gstreamer gtk firefox" +USE="-fortran dbus -kde -qt4 -eds " mybox etc # <i>time emerge gnome</i> <comment>(326 packages have been emerged)</comment> @@ -211,8 +210,7 @@ then edit make.conf if required.</comment> mybox etc # <i>nano -w /etc/portage/make.conf</i> <comment>The following USE flags have been defined)</comment> -USE="nptl nptlonly -ipv6 -fortran unicode svg hal dbus \ - kde qt4 -arts -eds -esd -gnome -gstreamer -gtk -firefox" +USE="-fortran -eds -gnome -gstreamer -gtk -firefox" mybox etc # <i>time emerge kde-meta</i> <comment>(391 packages have been emerged)</comment> 1.16 xml/htdocs/doc/en/gentoo-x86-quickinstall-stage.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall-stage.xml?rev=1.16&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall-stage.xml?rev=1.16&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall-stage.xml?r1=1.15&r2=1.16 Index: gentoo-x86-quickinstall-stage.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall-stage.xml,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- gentoo-x86-quickinstall-stage.xml 29 Apr 2012 15:59:15 -0000 1.15 +++ gentoo-x86-quickinstall-stage.xml 19 Jan 2013 20:59:22 -0000 1.16 @@ -1,11 +1,11 @@ <?xml version='1.0' encoding="UTF-8"?> <!DOCTYPE included SYSTEM "/dtd/guide.dtd"> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall-stage.xml,v 1.15 2012/04/29 15:59:15 swift Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall-stage.xml,v 1.16 2013/01/19 20:59:22 swift Exp $ --> <included> -<version>14</version> -<date>2012-02-29</date> +<version>15</version> +<date>2013-01-16</date> <section> <title>Setting Up The Stage</title> @@ -54,31 +54,6 @@ sys 0m7.530s </pre> -<p> -Install the latest Portage snapshot. Proceed as for the stage3 archive: choose -a nearby mirror from our <uri link="/main/en/mirrors.xml">list</uri>, download -the latest snapshot and unpack it. -</p> - -<pre caption="Download the latest Portage snapshot"> -livecd gentoo # <i>cd /mnt/gentoo/usr</i> -livecd usr # <i>links http://www.gentoo.org/main/en/mirrors.xml</i> -<comment>(Pick a mirror, move to the snapshots/ directory, -highlight <b>portage-latest.tar.bz2</b> and press D to download it)</comment> - -<comment>(<b>Or</b> download it directly with wget without choosing a nearby mirror)</comment> -livecd gentoo # <i>cd /mnt/gentoo/usr</i> -livecd usr # <i>wget http://distfiles.gentoo.org/snapshots/portage-latest.tar.bz2</i> -</pre> - -<pre caption="Unpack the Portage snapshot"> -livecd usr # <i>time tar xjf portage-lat*</i> - -real 0m40.523s -user 0m28.280s -sys 0m8.240s -</pre> - </body> </section> <section> @@ -86,19 +61,28 @@ <body> <p> -Mount the <path>/proc</path> & <path>/dev</path> file systems, copy over -the <path>/etc/resolv.conf</path> file, then chroot into your Gentoo -environment. +Mount the <path>/proc</path>, <path>/dev</path>, and <path>/sys</path> file +systems, copy over the <path>/etc/resolv.conf</path> file, then chroot into +your Gentoo environment. </p> <pre caption="Chroot"> livecd usr # <i>cd /</i> livecd / # <i>mount -t proc proc /mnt/gentoo/proc</i> livecd / # <i>mount --rbind /dev /mnt/gentoo/dev</i> -livecd / # <i>cp -L /etc/resolv.conf /mnt/gentoo/etc/</i> +livecd / # <i>mount --rbind /sys /mnt/gentoo/sys</i> +livecd / # <i>cp -L /etc/resolv.conf /mnt/gentoo/etc/</i> livecd / # <i>chroot /mnt/gentoo /bin/bash</i> -livecd / # <i>env-update && source /etc/profile</i> ->>> Regenerating /etc/ld.so.cache... +livecd / # <i>source /etc/profile</i> +</pre> + +<p> +Fetch the latest portage snapshot from the mirrors using emerge-webrsync. +</p> + +<pre caption="Running emerge-webrsync to install a Portage snapshot"> +livecd / # <i>mkdir /usr/portage</i> +livecd / # <i>emerge-webrsync</i> </pre> </body> @@ -125,6 +109,35 @@ </body> </section> <section> +<title>Select your profile</title> +<body> + +<p> +Choose your profile using eselect. This is an example of the output you might +see. +</p> + +<pre caption="Verifying System Profile"> +livecd / # <i>eselect profile list</i> +Available profile symlink targets: + [1] default/linux/x86/10.0 * + [2] default/linux/x86/10.0/desktop + [3] default/linux/x86/10.0/desktop/gnome + [4] default/linux/x86/10.0/server +</pre> + +<p> +Choose the appropriate profile. Keep in mind that default USE flags are +determined based on the profile you pick. +</p> + +<pre caption="Changing Profile"> +livecd / # <i>eselect profile set 2</i> +</pre> + +</body> +</section> +<section> <title>Set your host name and domain name</title> <body> 1.8 xml/htdocs/doc/en/gentoo-x86-quickinstall-system.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall-system.xml?rev=1.8&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall-system.xml?rev=1.8&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall-system.xml?r1=1.7&r2=1.8 Index: gentoo-x86-quickinstall-system.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall-system.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- gentoo-x86-quickinstall-system.xml 31 Mar 2012 13:27:30 -0000 1.7 +++ gentoo-x86-quickinstall-system.xml 19 Jan 2013 20:59:22 -0000 1.8 @@ -1,11 +1,11 @@ <?xml version='1.0' encoding="UTF-8"?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall-system.xml,v 1.7 2012/03/31 13:27:30 swift Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall-system.xml,v 1.8 2013/01/19 20:59:22 swift Exp $ --> <!DOCTYPE included SYSTEM "/dtd/guide.dtd"> <included> -<version>7</version> -<date>2012-03-31</date> +<version>8</version> +<date>2013-01-16</date> <section> <title>Configure the system</title> @@ -58,7 +58,7 @@ <p> Configure your network in <path>/etc/conf.d/net</path>. Add the <c>net.eth0</c> init script to the default run level. If you have multiple NICs, symlink them -to the <c>net.eth0</c> init script and add them to the default run level as +to the <c>net.lo</c> init script and add them to the default run level as well. Don't forget to set your hostname too. Either edit <path>/etc/conf.d/net</path> and <path>/etc/conf.d/hostname</path> with <c>nano</c> or use the following commands: 1.87 xml/htdocs/doc/en/gentoo-x86-quickinstall.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall.xml?rev=1.87&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall.xml?rev=1.87&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall.xml?r1=1.86&r2=1.87 Index: gentoo-x86-quickinstall.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall.xml,v retrieving revision 1.86 retrieving revision 1.87 diff -u -r1.86 -r1.87 --- gentoo-x86-quickinstall.xml 31 Mar 2012 13:27:30 -0000 1.86 +++ gentoo-x86-quickinstall.xml 19 Jan 2013 20:59:22 -0000 1.87 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding="UTF-8"?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall.xml,v 1.86 2012/03/31 13:27:30 swift Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall.xml,v 1.87 2013/01/19 20:59:22 swift Exp $ --> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> <guide> @@ -29,8 +29,8 @@ <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> <license/> -<version>27</version> -<date>2012-03-31</date> +<version>28</version> +<date>2013-01-16</date> <chapter> <title>Introduction</title> @@ -112,17 +112,17 @@ </pre> <p> -Use <c>mke2fs</c>, <c>mke2fs -j</c>, <c>mkreiserfs</c>, <c>mkfs.xfs</c> and -<c>mkfs.jfs</c> to create file systems on your Linux partitions. Initialize your -swap partition using <c>mkswap</c> and <c>swapon</c>. +Use <c>mkfs.ext2</c>, <c>mkfs.ext3</c>, <c>mkfs.ext4</c>, <c>mkreiserfs</c>, +<c>mkfs.xfs</c> and <c>mkfs.jfs</c> to create file systems on your Linux +partitions. Initialize your swap partition using <c>mkswap</c> and <c>swapon</c>. </p> <pre caption="Create the file systems and activate swap"> <comment>(ext2 is all you need on the /boot partition)</comment> -livecd ~ # <i>mke2fs /dev/sda1</i> +livecd ~ # <i>mkfs.ext2 /dev/sda1</i> <comment>(Let's use ext3 on the main partition)</comment> -livecd ~ # <i>mke2fs -j /dev/sda3</i> +livecd ~ # <i>mkfs.ext3 /dev/sda3</i> <comment>(Create and activate swap)</comment> livecd ~ # <i>mkswap /dev/sda2 && swapon /dev/sda2</i> @@ -204,7 +204,7 @@ <pre caption="Reboot"> livecd conf.d # <i>exit</i> livecd / # <i>umount -l /mnt/gentoo/dev{/shm,/pts,}</i> -livecd / # <i>umount -l /mnt/gentoo{/proc,/boot,}</i> +livecd / # <i>umount -l /mnt/gentoo{/proc,/boot,/sys,}</i> livecd / # <i>reboot</i> <comment>(Don't forget to remove the CD)</comment> </pre>