9a3779900d731b375cbcad875b03822069d8b930
[grml.org.git] / qemu / index.html.tt2
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>grml.org - QEMU</title>
5 <meta name="Title" content="grml.org - QEMU" />
6 <meta name="Author" content="the grml team [www.grml.org/team/]" />
7 <meta name="Keywords" content="grml.org, grml" />
8 <meta name="Description" content="QEMU of grml.org" />
9 <meta name="Abstract" content="grml, just another linux-distribution" />
10 <meta name="fdse-index-as" content="http://www.grml.org/faq/" />
11 <meta name="Robots" content="index,follow" />
12 <meta name="Language" content="english" />
13 <meta name="identifier-url" content="http://www.grml.org/" />
14 <meta name="MSSmartTagsPreventParsing" content="true" />
15 <meta http-equiv="imagetoolbar" content="no" />
16 <link rel="home" href="/" title="grml.org" />
17 <link rel="help" href="/features/" title="About" />
18 <link rel="author" href="/team/" title="Team" />
19 <link rel="icon" href="/favicon.png" type="image/png" />
20 <link rel="stylesheet" href="/style.css" type="text/css" />
21 </head>
22
23 <body>
24 [% INCLUDE static.inc %]
25
26       <div class="content">
27
28         <p><img style="float: right" src="/img/clanbomber.png" alt="*" /></p>
29
30         <h1>QEMU</h1>
31
32         <p><a href="http://fabrice.bellard.free.fr/qemu/">QEMU</a> is an emulator for
33         various CPUs. It works on Linux, Windows, FreeBSD and Mac OS X. It's possible
34         to run grml with QEMU. Notice that it's much slower than running it native
35         due to the emulation mode.</p>
36
37         <h2>Using QEMU with acceleration</h2>
38
39         <p>grml &gt;=0.5 provides the <a
40         href="http://fabrice.bellard.free.fr/qemu/">accelerator
41         module</a> for QEMU namend 'kqemu'. Just run the following
42         commands to use it:</p>
43
44 <pre class="rahmen">
45 apt-get update ; apt-get install qemu # install qemu
46 modprobe kqemu                        # load the kernel module
47 mknod /dev/kqemu c 250 0              # create the device
48 chmod 666 /dev/kqemu /dev/net/tun     # adjust permissions</pre>
49
50         <p>To see if kqemu is enabled and working correctly, use the QEMU monitor
51         command (press ctrl-alt-2): 'info kqemu'</p>
52
53         <h2>Problems with Qemu</h2>
54
55         <h3>Black / blank screen</h3>
56
57         <p>You get a black/blank screen when booting grml in qemu? Try booting with &quot;grml vga=normal&quot;.</p>
58
59         <h2>Running QEMU with grml on Linux</h2>
60
61         <p>Install qemu (apt-get install qemu) and start it e.g. via:</p>
62
63 <pre class="rahmen">
64 qemu -cdrom /dev/hdc          # if running from CD-ROM
65 qemu -cdrom /path/to/grml.iso # if running from harddisk
66 </pre>
67
68         <h2>Running QEMU with grml on Windows</h2>
69
70         <p><a href="qemu-1.png"><img style="border: 0" src="qemu-1.jpg"
71         alt="screenshot 1" /></a> </p>
72
73         <p>First of all download <a href="http://www.h7.dion.ne.jp/~qemu-win/">QEMU
74         for Windows</a>. <a href="/download/">Download
75         the grml-iso</a> and put the QEMU files in the same directory as the
76         grml-iso.</p>
77
78         <p>Now create a startup file, call it for example <a
79         href="grml-qemu.bat">grml-qemu.bat</a>:</p>
80
81 <pre class="rahmen">
82 REM Start qemu on windows.
83 @ECHO OFF
84 START qemu.exe -L . -m 128 -hdc harddisk -cdrom grml_0.6.iso
85 CLS
86 EXIT</pre>
87
88       <p>Adjust the values if necessary and now run the grml-qemu.bat-file. Have fun
89       :-)</p>
90
91       <p><a href="/screenshots/qemu.jpg"><img style="border: 0" src="/screenshots/qemu_small.jpg" alt="screenshot 3" /></a></p>
92
93       </div>
94
95 [% INCLUDE static_bottom.inc %]