neysx 05/06/08 10:19:57 Modified: xml/htdocs/doc/en/handbook hb-install-system.xml Log: #94952 "2.4 means 2.6" confuses users. Tried to make things clearer.
Revision Changes Path 1.79 +31 -20 xml/htdocs/doc/en/handbook/hb-install-system.xml file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-system.xml?rev=1.79&content-type=text/x-cvsweb-markup&cvsroot=gentoo plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-system.xml?rev=1.79&content-type=text/plain&cvsroot=gentoo diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-system.xml.diff?r1=1.78&r2=1.79&cvsroot=gentoo Index: hb-install-system.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml,v retrieving revision 1.78 retrieving revision 1.79 diff -u -r1.78 -r1.79 --- hb-install-system.xml 17 May 2005 16:42:30 -0000 1.78 +++ hb-install-system.xml 8 Jun 2005 10:19:57 -0000 1.79 @@ -4,12 +4,12 @@ <!-- The content of this document is licensed under the CC-BY-SA license --> <!-- See http://creativecommons.org/licenses/by-sa/1.0 --> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml,v 1.78 2005/05/17 16:42:30 neysx Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml,v 1.79 2005/06/08 10:19:57 neysx Exp $ --> <sections> -<version>2.5</version> -<date>2005-05-17</date> +<version>2.6</version> +<date>2005-06-08</date> <section> <title>Chrooting</title> @@ -170,41 +170,52 @@ </p> <p> -Previously, such a profile was barely touched by the user. However, recently, -x86, hppa and alpha users can choose between two profiles, one for a 2.4 kernel -and one for a 2.6 kernel. This requirement has been imposed to improve the -integration of the 2.6 kernels. +Previously, such a profile was barely touched by the user. However, x86, hppa +and alpha users can choose between two profiles, one for a 2.4 kernel and one +for a 2.6 kernel. This requirement has been imposed to improve the integration +of the 2.6 kernels. </p> <p> -You can see what profile you are currently using by issuing the following -command: +You can see what profile you are currently using with the following command: </p> <pre caption="Verifying system profile"> -# <i>ls -l /etc/make.profile</i> -lrwxrwxrwx 1 root root 48 Mar 7 11:55 /etc/make.profile -> - ../usr/portage/profiles/default-linux/x86/2005.0 +# <i>ls -FGg /etc/make.profile</i> +lrwxrwxrwx 1 48 Apr 8 18:51 /etc/make.profile -> ../usr/portage/profiles/default-linux/x86/2005.0/ </pre> <p> -If you are using one of the aforementioned three architectures, you will see an -additional profile in the one listed by the <path>make.profile</path> symlink: +If you are using one of the aforementioned three architectures, you will see a +<path>2.4</path> subdirectory that identifies an additional profile below the +one that the <path>make.profile</path> symlink points to: </p> <pre caption="Finding out if an additional profile exists"> -# <i>ls -F /etc/make.profile/</i> -2.4/ packages parent virtuals +# <i>ls -FGg /etc/make.profile/</i> +total 8 +drwxr-xr-x 2 120 Jan 21 23:08 2.4/ +-rw-r--r-- 1 679 Mar 29 00:35 packages +-rw-r--r-- 1 343 Dec 3 2004 parent </pre> <p> -As you can see, in the above example there is a 2.4 subdirectory. This means -that the current profile uses the 2.6 kernel; if you want a 2.4-based system, -you need to relink your <path>make.profile</path> symlink: +As you can see in the above example, the current profile contains a +<path>2.4</path> subdirectory. This means that the current profile uses the +2.6 kernel and that you can change your profile to a 2.4-based system. For +that, you need to link the <path>make.profile</path> symlink to the +<path>2.4</path> subdirectory: </p> -<pre caption="Relinking the profile"> +<pre caption="Switching to a 2.4 profile"> +<comment>(Make sure you use the right architecture, the example below is for x86)</comment> # <i>ln -snf /usr/portage/profiles/default-linux/x86/2005.0/2.4 /etc/make.profile</i> +<comment>(List the files in the 2.4 profile)</comment> +# <i>ls -FGg /etc/make.profile/</i> +total 12 +-rw-r--r-- 1 939 Dec 10 14:06 packages +-rw-r--r-- 1 347 Dec 3 2004 parent +-rw-r--r-- 1 573 Dec 3 2004 virtuals </pre> </body> -- [email protected] mailing list
