nightmorph 06/06/26 16:16:58 Modified: uml.xml Log: Updated UML guide for bug 137908
Revision Changes Path 1.26 xml/htdocs/doc/en/uml.xml file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/uml.xml?rev=1.26&content-type=text/x-cvsweb-markup&cvsroot=gentoo plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/uml.xml?rev=1.26&content-type=text/plain&cvsroot=gentoo diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/uml.xml.diff?r1=1.25&r2=1.26&cvsroot=gentoo Index: uml.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/uml.xml,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- uml.xml 16 Dec 2005 15:54:54 -0000 1.25 +++ uml.xml 26 Jun 2006 16:16:58 -0000 1.26 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding="UTF-8"?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/uml.xml,v 1.25 2005/12/16 15:54:54 swift Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/uml.xml,v 1.26 2006/06/26 16:16:58 nightmorph Exp $ --> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> @@ -28,24 +28,32 @@ <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> <license/> -<version>0.13</version> -<date>2005-12-16</date> +<version>0.14</version> +<date>2006-06-26</date> <chapter> <title>Obtaining User-Mode Linux</title> <section> <body> +<impo> +Before you can use user-mode Linux, you <e>must</e> be using a non-NPTL +profile, and you must be using <<c>glibc</c>-2.4. Follow the instructions +for <uri link="/doc/en/gentoo-upgrading.xml#instructions">changing +profiles</uri>. You will need to run <c>emerge -e world</c> after switching to +a non-NPTL profile. +</impo> + <p> -As the user-mode linux website -(<uri>http://user-mode-linux.sourceforge.net</uri>) states, user-mode linux +As the user-mode Linux website +(<uri>http://user-mode-linux.sourceforge.net</uri>) states, user-modeL linux allows a user to "run Linux inside itself". Specifically, user-mode linux provides a virtual machine on which a user can "[r]un buggy software, experiment with new Linux kernels or distributions, and poke around in the internals of Linux, all without risking your main Linux setup." Experimental changes to Gentoo core packages such as <e>sys-apps/baselayout</e> or <e>sys-libs/glibc</e> have the potential to break the system and render it -unbootable; with user-mode linux we can test these changes without having to +unbootable; with user-mode Linux we can test these changes without having to worry about breaking the live system. </p> @@ -93,11 +101,11 @@ </pre> <p> -For the user-mode linux kernel to properly boot a Gentoo system the +For the user-mode Linux kernel to properly boot a Gentoo system the kernel needs to be configured to <e>not</e> automatically mount <path>/dev</path> (devfs) by default. Also, you will almost certainly want to make sure that you have <e>tmpfs</e> (the "Virtual Memory -Filesystem") compiled in, since by default the Gentoo linux bootscripts +Filesystem") compiled in, since by default the Gentoo Linux bootscripts store their information in a small tmpfs partition. (The binary kernels available from the user-mode website do automatically mount <path>/dev</path>, and they don't have tmpfs compiled in; don't bother @@ -113,7 +121,7 @@ </p> <p> -It won't hurt to also install the user-mode linux tools. +It won't hurt to also install the user-mode Linux tools. </p> <pre caption="Installing UML tools"> @@ -122,7 +130,7 @@ <p> These tools facilitate networking (among other things) between the user-mode -linux virtual system and the host Linux system. +Linux virtual system and the host Linux system. </p> </body> @@ -251,15 +259,15 @@ </pre> <p> -User-mode linux uses xterms for the virtual consoles that +User-mode Linux uses xterms for the virtual consoles that are run at boot time, so you need to make sure that the -terminal from which you run user-mode linux has $DISPLAY +terminal from which you run user-mode Linux has $DISPLAY properly set (along with proper xhost/xauth permissions). </p> <p> -With any luck you should be able to log into your user-mode linux -Gentoo system. The only thing keeping this user-mode linux version +With any luck you should be able to log into your user-mode Linux +Gentoo system. The only thing keeping this user-mode Linux version of Gentoo from being fully functional is networking from the virtual machine to the host. </p> @@ -298,7 +306,7 @@ <comment>(If you receive a FATAL error here, try deleting /dev/net/tun and retry)</comment> # <i>modprobe iptable_nat</i> # <i>iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE</i> -# <i>echo 1 > /proc/sys/net/ipv4/ip_forward</i> +# <i>echo 1 > /proc/sys/net/ipv4/ip_forward</i> </pre> <p> @@ -410,8 +418,8 @@ <p> Perhaps the true ideal of Gentoo Linux testing would be -to boot the .iso with user-mode linux and do the complete -Gentoo install from within the user-mode linux virtual system. +to boot the .iso with user-mode Linux and do the complete +Gentoo install from within the user-mode Linux virtual system. </p> <p> -- [email protected] mailing list
