File: UserModeLinux-HOWTO-1.html

package info (click to toggle)
user-mode-linux-doc 20020523-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,592 kB
  • ctags: 340
  • sloc: makefile: 32
file content (84 lines) | stat: -rw-r--r-- 2,628 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.21">
 <TITLE>User Mode Linux HOWTO : Introduction</TITLE>
 <LINK HREF="UserModeLinux-HOWTO-2.html" REL=next>

 <LINK HREF="UserModeLinux-HOWTO.html#toc1" REL=contents>
</HEAD>
<BODY>
<A HREF="UserModeLinux-HOWTO-2.html">Next</A>
Previous
<A HREF="UserModeLinux-HOWTO.html#toc1">Contents</A>
<HR>
<H2><A NAME="intro"></A> <A NAME="s1">1.</A> <A HREF="UserModeLinux-HOWTO.html#toc1">Introduction</A></H2>

<P>Welcome to User Mode Linux.  It's going to be fun.</P>

<H2><A NAME="ss1.1">1.1</A> <A HREF="UserModeLinux-HOWTO.html#toc1.1">How is User Mode Linux Different?</A>
</H2>

<P>Normally, the Linux Kernel talks straight to your hardware (video
card, keyboard, hard drives, etc), and any programs which run ask the
kernel to operate the hardware, like so:</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
  +-----------+-----------+----+
  | Process 1 | Process 2 | ...|
  +-----------+-----------+----+
  |       Linux Kernel         |
  +----------------------------+
  |         Hardware           |
  +----------------------------+
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P>The User Mode Linux Kernel is different; instead of talking to the
hardware, it talks to a `real' Linux kernel (called the `host kernel'
from now on), like any other program.  Programs can then run inside
User-Mode Linux as if they were running under a normal kernel, like
so:</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
              +----------------+
              | Process 2 | ...|
  +-----------+----------------+
  | Process 1 | User-Mode Linux|
  +----------------------------+
  |       Linux Kernel         |
  +----------------------------+
  |         Hardware           |
  +----------------------------+
</PRE>
</CODE></BLOCKQUOTE>
</P>

<H2><A NAME="ss1.2">1.2</A> <A HREF="UserModeLinux-HOWTO.html#toc1.2">Why Would I Want User Mode Linux?</A>
</H2>

<P>
<OL>
<LI> If User Mode Linux crashes, your host kernel is still fine.</LI>
<LI> You can run a usermode kernel as a non-root user.</LI>
<LI> You can debug the User Mode Linux like any normal process.</LI>
<LI> You can run gprof (profiling) and gcov (coverage testing).</LI>
<LI> You can play with your kernel without breaking things.</LI>
<LI> You can use it as a sandbox for testing new apps.</LI>
<LI> You can try new development kernels safely.</LI>
<LI> You can run different distributions simultaneously.</LI>
<LI> It's extremely fun.</LI>
</OL>
</P>




<HR>
<A HREF="UserModeLinux-HOWTO-2.html">Next</A>
Previous
<A HREF="UserModeLinux-HOWTO.html#toc1">Contents</A>
</BODY>
</HTML>