/[gentoo]/xml/htdocs/doc/en/uml.xml
Gentoo

Diff of /xml/htdocs/doc/en/uml.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.21 Revision 1.22
1<?xml version='1.0' encoding="UTF-8"?> 1<?xml version='1.0' encoding="UTF-8"?>
2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/uml.xml,v 1.21 2004/10/22 09:34:38 bennyc Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/uml.xml,v 1.22 2005/02/05 16:52:57 swift Exp $ -->
3 3
4<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 4<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
5 5
6<guide link="/doc/en/uml.xml"> 6<guide link="/doc/en/uml.xml">
7<title>Gentoo Linux Developer's guide to system testing with User-Mode Linux</title> 7<title>Gentoo Linux Developer's guide to system testing with User-Mode Linux</title>
23user-mode linux for testing potentially system-breaking changes. 23user-mode linux for testing potentially system-breaking changes.
24</abstract> 24</abstract>
25 25
26<license/> 26<license/>
27 27
28<version>0.9</version> 28<version>0.10</version>
29<date>October 22, 2004</date> 29<date>2005-02-05</date>
30 30
31<chapter> 31<chapter>
32<title>Obtaining User-Mode Linux</title> 32<title>Obtaining User-Mode Linux</title>
33<section> 33<section>
34<body> 34<body>
37As the user-mode linux website 37As the user-mode linux website
38(<uri>http://user-mode-linux.sourceforge.net</uri>) states, user-mode linux 38(<uri>http://user-mode-linux.sourceforge.net</uri>) states, user-mode linux
39allows a user to "run Linux inside itself". Specifically, 39allows a user to "run Linux inside itself". Specifically,
40user-mode linux provides a virtual machine on which a user can "[r]un buggy 40user-mode linux provides a virtual machine on which a user can "[r]un buggy
41software, experiment with new Linux kernels or distributions, and poke around 41software, experiment with new Linux kernels or distributions, and poke around
42in the internals of Linux, all without risking your main Linux setup." Changes 42in the internals of Linux, all without risking your main Linux setup."
43to Gentoo core packages such as <e>sys-apps/baselayout</e> or 43Experimental changes to Gentoo core packages such as <e>sys-apps/baselayout</e>
44<e>sys-libs/glibc</e> have the potential to break the system and render it 44or <e>sys-libs/glibc</e> have the potential to break the system and render it
45unbootable; with user-mode linux we can test these changes without having to 45unbootable; with user-mode linux we can test these changes without having to
46worry about breaking the live system. 46worry about breaking the live system.
47</p> 47</p>
48 48
49<p> 49<p>
50Installing user-mode linux is essentially identical to a normal kernel 50Installing user-mode linux is essentially identical to a normal kernel
51install. First install the kernel sources (appropriately patched for 51install. First install the kernel sources (appropriately patched for
52user-mode linux), and then configure the user-mode linux kernel in the 52user-mode linux), and then configure the user-mode linux kernel in the
53usual fashion: 53usual fashion. Since kernel 2.6.9, UML has been integrated in the vanilla
54kernel.
54</p> 55</p>
55 56
56<pre caption="Installing UML kernel sources"> 57<pre caption="Installing UML kernel sources">
58<comment>(We'll install the vanilla 2.6 kernel, you can also use the usermode-sources)</comment>
57# <i>emerge sys-kernel/usermode-sources</i> 59# <i>emerge sys-kernel/development-sources</i>
58# <i>cd /usr/src/uml/linux</i> 60# <i>cd /usr/src/linux</i>
59# <i>make menuconfig <comment>ARCH=um</comment></i> 61# <i>make menuconfig <comment>ARCH=um</comment></i>
60# <i>make linux <comment>ARCH=um</comment></i> 62# <i>make linux <comment>ARCH=um</comment></i>
61# <i>cp linux /usr/local/bin/linux</i> 63# <i>cp linux /usr/local/bin/linux</i>
62</pre> 64</pre>
63 65

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

  ViewVC Help
Powered by ViewVC 1.1.20