/[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.13 Revision 1.14
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.13 2004/04/11 10:52:16 cam Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/uml.xml,v 1.14 2004/04/25 18:09:45 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>
29 29
30<chapter> 30<chapter>
31<title>Obtaining User-Mode Linux</title> 31<title>Obtaining User-Mode Linux</title>
32<section> 32<section>
33<body> 33<body>
34
35<p>
34<p>As the user-mode linux website 36As the user-mode linux website
35(<uri>http://user-mode-linux.sourceforge.net</uri>) 37(<uri>http://user-mode-linux.sourceforge.net</uri>) states, user-mode linux
36states, user-mode linux
37allows a user to "run Linux inside itself". Specifically, 38allows a user to "run Linux inside itself". Specifically,
38user-mode linux provides a virtual machine on which a user can "[r]un buggy 39user-mode linux provides a virtual machine on which a user can "[r]un buggy
39software, experiment with new Linux kernels or distributions, and poke around 40software, experiment with new Linux kernels or distributions, and poke around
40in the internals of Linux, all without risking your main Linux setup." Changes 41in the internals of Linux, all without risking your main Linux setup." Changes
41to Gentoo core packages such as <e>sys-apps/baselayout</e> or <e>sys-libs/glibc</e> 42to Gentoo core packages such as <e>sys-apps/baselayout</e> or
42have the potential to break the system and render it unbootable; with user-mode 43<e>sys-libs/glibc</e> have the potential to break the system and render it
43linux we can test these changes without having to worry about breaking the live 44unbootable; with user-mode linux we can test these changes without having to
44system. 45worry about breaking the live system.
45</p> 46</p>
47
46<p> 48<p>
47Installing user-mode linux is essentially identical to a normal kernel 49Installing user-mode linux is essentially identical to a normal kernel
48install. First install the kernel sources (appropriately patched for 50install. First install the kernel sources (appropriately patched for
49user-mode linux), and then configure the user-mode linux kernel in the 51user-mode linux), and then configure the user-mode linux kernel in the
50usual fashion: 52usual fashion:
51</p> 53</p>
52<pre> 54
55<pre caption="Installing UML kernel sources">
53# <i>emerge sys-kernel/usermode-sources</i> 56# <i>emerge sys-kernel/usermode-sources</i>
54# <i>cd /usr/src/uml/linux</i> 57# <i>cd /usr/src/uml/linux</i>
55# <i>make menuconfig <comment>ARCH=um</comment></i> 58# <i>make menuconfig <comment>ARCH=um</comment></i>
56# <i>make linux <comment>ARCH=um</comment></i> 59# <i>make linux <comment>ARCH=um</comment></i>
57# <i>cp linux /usr/local/bin/linux</i> 60# <i>cp linux /usr/local/bin/linux</i>
58</pre> 61</pre>
62
63<warn>
59<warn>The <e>ARCH=um</e> fragment is <e>extremely</e> important!</warn> 64The <e>ARCH=um</e> fragment is <e>extremely</e> important!
65</warn>
66
60<impo> 67<impo>
61For the user-mode linux kernel to properly boot a Gentoo system the 68For the user-mode linux kernel to properly boot a Gentoo system the
62kernel needs to be configured to <e>not</e> automatically mount 69kernel needs to be configured to <e>not</e> automatically mount
63<path>/dev</path> (devfs) by default. 70<path>/dev</path> (devfs) by default. Also, you will almost certainly
64Also, you will almost certainly
65want to make sure that you have <e>tmpfs</e> (the "Virtual Memory 71want to make sure that you have <e>tmpfs</e> (the "Virtual Memory
66Filesystem") compiled in, since by default the Gentoo linux bootscripts 72Filesystem") compiled in, since by default the Gentoo linux bootscripts
67store their information in a small tmpfs partition. 73store their information in a small tmpfs partition.
68(The binary kernels available 74(The binary kernels available from the user-mode website do automatically
69from the user-mode website do automatically mount <path>/dev</path>, 75mount <path>/dev</path>, and they don't have tmpfs compiled in; don't bother
70and they don't have tmpfs compiled in; don't bother with them.) 76with them).
71</impo> 77</impo>
78
79<p>
72<p>I highly recommend reading the user-mode linux documentation, but the 80I highly recommend reading the user-mode linux documentation, but the
73basic idea is that running the <path>/usr/local/bin/linux</path> program 81basic idea is that running the <path>/usr/local/bin/linux</path> program
74boots the user-mode kernel and tries to bring up the system stored in 82boots the user-mode kernel and tries to bring up the system stored in
75the file <path>root_fs</path> that should be located in the current working 83the file <path>root_fs</path> that should be located in the current working
76directory.</p> 84directory.
85</p>
86
87<p>
77<p>It won't hurt to also install the user-mode linux tools.</p> 88It won't hurt to also install the user-mode linux tools.
78<pre> 89</p>
90
91<pre caption="Installing UML tools">
79# <i>emerge sys-apps/usermode-utilities</i> 92# <i>emerge sys-apps/usermode-utilities</i>
80</pre> 93</pre>
94
95<p>
81<p>These tools facilitate networking (among other things) 96These tools facilitate networking (among other things) between the user-mode
82between the user-mode linux virtual system 97linux virtual system and the host Linux system.
83and the host Linux system.</p> 98</p>
99
84</body> 100</body>
85</section> 101</section>
86</chapter> 102</chapter>
87 103
88<chapter> 104<chapter>
89<title>Creating root_fs</title> 105<title>Creating root_fs</title>
90
91<section> 106<section>
92<title>Making the Gentoo chroot</title> 107<title>Making the Gentoo chroot</title>
93<body> 108<body>
109
94<p> 110<p>
95The <path>root_fs</path> file needed for user-mode linux is 111The <path>root_fs</path> file needed for user-mode linux is
96a single file that contains an entire Gentoo Linux filesystem. 112a single file that contains an entire Gentoo Linux filesystem.
97To generate this file you will need to have Loopback device 113To generate this file you will need to have Loopback device
98support enabled in the host (non-user-mode) kernel. 114support enabled in the host (non-user-mode) kernel.
99</p> 115</p>
116
117<p>
100<p>Generating the <path>root_fs</path> file itself will be 118Generating the <path>root_fs</path> file itself will be
101our last step. First we will generate a Gentoo filesystem in 119our last step. First we will generate a Gentoo filesystem in
102an ordinary chroot. We need the stage tarball available, which 120an ordinary chroot. We need the stage tarball available, which
103could be downloaded separately, extracted from a liveCD, or 121could be downloaded separately, extracted from a liveCD, or
104extracted from a liveCD .iso. 122extracted from a liveCD .iso.
105</p> 123</p>
124
106<pre caption="Mounting a liveCD .iso"> 125<pre caption="Mounting a liveCD .iso">
107# <i>mkdir /mnt/loop</i> 126# <i>mkdir /mnt/loop</i>
108# <i>mount -o loop /path/to/build-&lt;TAB&gt;.iso /mnt/loop</i> 127# <i>mount -o loop /path/to/build-&lt;TAB&gt;.iso /mnt/loop</i>
109</pre> 128</pre>
129
110<p> 130<p>
111Setting up the chroot is essentially identical to an ordinary Gentoo 131Setting up the chroot is essentially identical to an ordinary Gentoo
112Linux build. 132Linux build.
113</p> 133</p>
114<pre> 134
135<pre caption="Creating the Gentoo chroot mount">
115# <i>mkdir /mnt/gentoo</i> 136# <i>mkdir /mnt/gentoo</i>
116# <i>cd /mnt/gentoo</i> 137# <i>cd /mnt/gentoo</i>
117# <i>tar xvjpf /path/to/build-&lt;TAB&gt;.tar.bz2</i> 138# <i>tar xvjpf /path/to/build-&lt;TAB&gt;.tar.bz2</i>
118</pre> 139</pre>
140
119<p> 141<p>
120Go ahead and unmount the .iso. You don't need it anymore. 142Go ahead and unmount the .iso. You don't need it anymore.
121</p> 143</p>
122<pre> 144
145<pre caption="Prepare to install Gentoo">
123# <i>cp /etc/resolv.conf /mnt/gentoo/etc/</i> 146# <i>cp /etc/resolv.conf /mnt/gentoo/etc/</i>
124# <i>mount -o bind /proc /mnt/gentoo/proc</i> 147# <i>mount -o bind /proc /mnt/gentoo/proc</i>
125# <i>mkdir -p /mnt/gentoo/usr/portage/distfiles</i> 148# <i>mkdir -p /mnt/gentoo/usr/portage/distfiles</i>
126# <i>mkdir -p /mnt/gentoo/usr/portage/packages</i> 149# <i>mkdir -p /mnt/gentoo/usr/portage/packages</i>
127# <i>mount -o bind /usr/portage/distfiles /mnt/gentoo/usr/portage/distfiles</i> 150# <i>mount -o bind /usr/portage/distfiles /mnt/gentoo/usr/portage/distfiles</i>
130<!--per bug 16134, added emerge sync to supress warning, etc--> 153<!--per bug 16134, added emerge sync to supress warning, etc-->
131# <i>emerge sync</i> 154# <i>emerge sync</i>
132# <i>env-update</i> 155# <i>env-update</i>
133# <i>source /etc/profile</i> 156# <i>source /etc/profile</i>
134</pre> 157</pre>
158
135<p> 159<p>
136By bind-mounting <path>/usr/portage/distfiles</path> and 160By bind-mounting <path>/usr/portage/distfiles</path> and
137<path>/usr/portage/packages</path> we avoid having to download 161<path>/usr/portage/packages</path> we avoid having to download
138or build packages that are already present on the Gentoo host. 162or build packages that are already present on the Gentoo host.
139</p> 163</p>
164
140<p> 165<p>
141Bootstrap and build the system in the usual fashion: 166Bootstrap and build the system in the usual fashion:
142</p> 167</p>
143<pre> 168
169<pre caption="Start the Gentoo installation">
144<!--removed the emerge sync below because it is done above--> 170<!--removed the emerge sync below because it is done above-->
145# <i>cd /usr/portage</i> 171# <i>cd /usr/portage</i>
146# <i>nano -w /etc/make.conf</i> 172# <i>nano -w /etc/make.conf</i>
147# <i>nano -w /etc/make.profile/packages</i> 173# <i>nano -w /etc/make.profile/packages</i>
148# <i>nano -w /usr/portage/profiles/package.mask</i> 174# <i>nano -w /usr/portage/profiles/package.mask</i>
149# <i>scripts/bootstrap.sh &amp;&amp; emerge --usepkg system</i> 175# <i>scripts/bootstrap.sh &amp;&amp; emerge --usepkg system</i>
150</pre> 176</pre>
177
151<warn> 178<warn>
152<!--Changed grub to virtual/bootloader--> 179<!--Changed grub to virtual/bootloader-->
153The <path>/etc/make.profile/packages</path> file needs to be 180The <path>/etc/make.profile/packages</path> file needs to be
154edited to remove the virtual/bootloader ebuild from the default system if it 181edited to remove the virtual/bootloader ebuild from the default system if it
155is listed (just remove the "*" from the beginning of the "*virtual/bootloader" 182is listed (just remove the "*" from the beginning of the "*virtual/bootloader"
156line). The virtual/bootloader ebuild tries to mount the /boot partition, which 183line). The virtual/bootloader ebuild tries to mount the /boot partition, which
157will fail in our chroot. 184will fail in our chroot.
158</warn> 185</warn>
186
159<note> 187<note>
160Make sure you examine <path>/etc/make.profile/packages</path> 188Make sure you examine <path>/etc/make.profile/packages</path>
161and <path>/usr/portage/profiles/package.mask</path> to be sure that 189and <path>/usr/portage/profiles/package.mask</path> to be sure that
162any to-be-tested packages that you want to install aren't masked out. 190any to-be-tested packages that you want to install aren't masked out.
163As currently written, <path>scripts/bootstrap.sh</path> will compile 191As currently written, <path>scripts/bootstrap.sh</path> will compile
164the bootstrap packages from source. To use already-existing packages, 192the bootstrap packages from source. To use already-existing packages,
165add <c>alias emerge="emerge --usepkg"</c> somewhere near the top of 193add <c>alias emerge="emerge --usepkg"</c> somewhere near the top of
166the bootstrap script. 194the bootstrap script.
167</note> 195</note>
196
168<p> 197<p>
169Add any additional packages you desire. Feel free to give your virtual 198Add any additional packages you desire. Feel free to give your virtual
170Gentoo system a hostname, if you so desire. In <path>/etc/fstab</path> 199Gentoo system a hostname, if you so desire. In <path>/etc/fstab</path>
171you will want <path>/dev/ROOT</path> to be <path>/dev/ubd/0</path>, with 200you will want <path>/dev/ROOT</path> to be <path>/dev/ubd/0</path>, with
172a fs type of either ext2, ext3, or reiserfs. Set <path>/dev/SWAP</path> 201a fs type of either ext2, ext3, or reiserfs. Set <path>/dev/SWAP</path>
173to be <path>/dev/ubd/1</path>, and comment out <path>/dev/BOOT</path>. 202to be <path>/dev/ubd/1</path>, and comment out <path>/dev/BOOT</path>.
174</p> 203</p>
175 204
205<p>
176<p> At this point, remember to set your root password. </p> 206At this point, remember to set your root password.
207</p>
177 208
178<pre caption="Setting root password"> 209<pre caption="Setting root password">
179# <i>passwd</i> 210# <i>passwd</i>
180</pre> 211</pre>
181 212
182<p> 213<p>
183Exit the chroot, unmount all of the bind mounts, 214Exit the chroot, unmount all of the bind mounts,
184tar up the new Gentoo distro, and clean up: 215tar up the new Gentoo distro, and clean up:
185</p> 216</p>
186<pre> 217
218<pre caption="Finalising the installation">
187# <i>exit</i> 219# <i>exit</i>
188# <i>umount /mnt/gentoo/usr/portage/distfiles</i> 220# <i>umount /mnt/gentoo/usr/portage/distfiles</i>
189# <i>umount /mnt/gentoo/usr/portage/packages</i> 221# <i>umount /mnt/gentoo/usr/portage/packages</i>
190# <i>umount /mnt/gentoo/proc</i> 222# <i>umount /mnt/gentoo/proc</i>
191# <i>du -ks /mnt/gentoo</i> 223# <i>du -ks /mnt/gentoo</i>
195# <i>tar cvjpf ~/gentoo.tbz2 *</i> 227# <i>tar cvjpf ~/gentoo.tbz2 *</i>
196# <i>cd</i> 228# <i>cd</i>
197# <i>rm -rf /mnt/gentoo</i> 229# <i>rm -rf /mnt/gentoo</i>
198</pre> 230</pre>
199 231
232<p>
200<p>You might also want to consider reviewing the final steps of the 233You might also want to consider reviewing the final steps of the
201<uri link="http://www.gentoo.org/doc/en/gentoo-x86-install.xml">Gentoo Linux x86 Installation Guide</uri>. </p> 234<uri link="http://www.gentoo.org/doc/en/gentoo-x86-install.xml">Gentoo Linux x86 Installation Guide</uri>.
235</p>
236
202</body> 237</body>
203</section> 238</section>
204
205<section> 239<section>
206<title>Making root_fs</title> 240<title>Making root_fs</title>
207<body> 241<body>
242
208<p> 243<p>
209Our Gentoo chroot is nearly 300 MB in size, so 244Our Gentoo chroot is nearly 300 MB in size, so
210<path>root_fs</path> needs to be at least that size. 245<path>root_fs</path> needs to be at least that size.
211We'll choose 0.5 GB as a reasonable size. 246We'll choose 0.5 GB as a reasonable size.
212</p> 247</p>
213<pre> 248
249<pre caption="Creating UML files">
214# <i>dd if=/dev/zero of=root_fs seek=500 count=1 bs=1M</i> 250# <i>dd if=/dev/zero of=root_fs seek=500 count=1 bs=1M</i>
215# <i>mke2fs -F root_fs</i> 251# <i>mke2fs -F root_fs</i>
216# <i>mount -o loop root_fs /mnt/loop</i> 252# <i>mount -o loop root_fs /mnt/loop</i>
217# <i>tar xvjpf gentoo.tbz2 -C /mnt/loop</i> 253# <i>tar xvjpf gentoo.tbz2 -C /mnt/loop</i>
218# <i>umount /mnt/loop</i> 254# <i>umount /mnt/loop</i>
219</pre> 255</pre>
256
220<p> 257<p>
221It would also be nice to have a 0.5 GB swap partition. 258It would also be nice to have a 0.5 GB swap partition.
222</p> 259</p>
223<pre> 260
261<pre caption="Create swap partition">
224# <i>dd if=/dev/zero of=swap_fs seek=500 count=1 bs=1M</i> 262# <i>dd if=/dev/zero of=swap_fs seek=500 count=1 bs=1M</i>
225# <i>mkswap -f swap_fs</i> 263# <i>mkswap -f swap_fs</i>
226</pre> 264</pre>
265
227<p> 266<p>
228Now see if it works! 267Now see if it works!
229</p> 268</p>
230<pre> 269
270<pre caption="Start UML kernel thread">
231# <i>linux ubd0=root_fs ubd1=swap_fs</i> 271# <i>linux ubd0=root_fs ubd1=swap_fs</i>
232</pre> 272</pre>
273
233<note> 274<note>
234User-mode linux uses xterms for the virtual consoles that 275User-mode linux uses xterms for the virtual consoles that
235are run at boot time, so you need to make sure that the 276are run at boot time, so you need to make sure that the
236terminal from which you run user-mode linux has $DISPLAY 277terminal from which you run user-mode linux has $DISPLAY
237properly set (along with proper xhost/xauth permissions). 278properly set (along with proper xhost/xauth permissions).
238</note> 279</note>
280
239<p> 281<p>
240With any luck you should be able to log into your user-mode linux 282With any luck you should be able to log into your user-mode linux
241Gentoo system. The only thing keeping this user-mode linux version 283Gentoo system. The only thing keeping this user-mode linux version
242of Gentoo from being fully functional is networking from the virtual 284of Gentoo from being fully functional is networking from the virtual
243machine to the host. 285machine to the host.
244</p> 286</p>
287
245</body> 288</body>
246</section> 289</section>
247</chapter> 290</chapter>
248 291
249<chapter> 292<chapter>
250<title>Networking</title> 293<title>Networking</title>
251
252<section> 294<section>
253<body> 295<body>
296
254<p> 297<p>
255Thanks to Martin Schlemmer (Azarah), I now know how 298Thanks to Martin Schlemmer (Azarah), I now know how
256to get networking to function from within a user-mode 299to get networking to function from within a user-mode
257system. The idea is that we set up a private network 300system. The idea is that we set up a private network
258consisting of the user-mode system and the host system, 301consisting of the user-mode system and the host system,
263--> Full NAT --> MASQUERADE target support and 306--> Full NAT --> MASQUERADE target support and
264Network Device Support --> Ethertap network tap 307Network Device Support --> Ethertap network tap
265compiled as modules; then do the following on the 308compiled as modules; then do the following on the
266<e>host</e> machine: 309<e>host</e> machine:
267</p> 310</p>
268<pre> 311
312<pre caption="Setup networking">
269# <i>modprobe ethertap</i> 313# <i>modprobe ethertap</i>
270# <i>modprobe iptable_nat</i> 314# <i>modprobe iptable_nat</i>
271# <i>iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE</i> 315# <i>iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE</i>
272# <i>echo 1 > /proc/sys/net/ipv4/ip_forward</i> 316# <i>echo 1 > /proc/sys/net/ipv4/ip_forward</i>
273</pre> 317</pre>
318
274<p> 319<p>
275The iptables line sets up IP Masquerading between the private 320The iptables line sets up IP Masquerading between the private
276network that our user-mode system will be on and the internet 321network that our user-mode system will be on and the internet
277(reachable via <c>eth0</c> in our case). The echo line then 322(reachable via <c>eth0</c> in our case). The echo line then
278turns on packet forwarding between the private network and the 323turns on packet forwarding between the private network and the
279interface that the default gateway is on (eth0 for us). 324interface that the default gateway is on (eth0 for us).
280</p> 325</p>
326
281<p> 327<p>
282Now we bring up the user-mode system and see if networking 328Now we bring up the user-mode system and see if networking
283is functional. 329is functional.
284</p> 330</p>
285<pre> 331
332<pre caption="Get UML up and running">
286# <i>linux ubd0=root_fs ubd1=swap_fs eth0=ethertap,tap0,,192.168.0.254</i> 333# <i>linux ubd0=root_fs ubd1=swap_fs eth0=ethertap,tap0,,192.168.0.254</i>
287<comment>(login to user-mode system)</comment> 334<comment>(login to user-mode system)</comment>
288# <i>ifconfig eth0 192.168.0.1 up</i> 335# <i>ifconfig eth0 192.168.0.1 up</i>
289# <i>ping -c 2 192.168.0.254</i> 336# <i>ping -c 2 192.168.0.254</i>
290PING 192.168.0.254 (192.168.0.254): 56 octets data 337PING 192.168.0.254 (192.168.0.254): 56 octets data
308 355
309--- www.gentoo.org ping statistics --- 356--- www.gentoo.org ping statistics ---
3102 packets transmitted, 2 packets received, 0% packet loss 3572 packets transmitted, 2 packets received, 0% packet loss
311round-trip min/avg/max = 92.0/105.8/119.6 ms 358round-trip min/avg/max = 92.0/105.8/119.6 ms
312</pre> 359</pre>
360
313<p> 361<p>
314On the user-mode system we assign the user-mode eth0 interface 362On the user-mode system we assign the user-mode eth0 interface
315the private IP address 192.168.0.1 and bring up the interface. The 363the private IP address 192.168.0.1 and bring up the interface. The
316host has private IP address 192.168.0.254, and we ping it to make sure 364host has private IP address 192.168.0.254, and we ping it to make sure
317that our networking is, indeed, up. The route line adds a default 365that our networking is, indeed, up. The route line adds a default
319<path>/etc/resolv.conf</path> (if necessary), and we ping www.gentoo.org 367<path>/etc/resolv.conf</path> (if necessary), and we ping www.gentoo.org
320to make sure that name resolution (and general access to the internet) 368to make sure that name resolution (and general access to the internet)
321is working from our user-mode system. Now the user-mode system can 369is working from our user-mode system. Now the user-mode system can
322<c>emerge</c> at will! 370<c>emerge</c> at will!
323</p> 371</p>
372
324</body> 373</body>
325</section> 374</section>
326</chapter> 375</chapter>
327
328<chapter> 376<chapter>
329<title>Testing the .iso</title> 377<title>Testing the .iso</title>
330
331<section> 378<section>
332<body> 379<body>
380
333<p> 381<p>
334Perhaps the true ideal of Gentoo Linux testing would be 382Perhaps the true ideal of Gentoo Linux testing would be
335to boot the .iso with user-mode linux and do the complete 383to boot the .iso with user-mode linux and do the complete
336Gentoo install from within the user-mode linux virtual system. 384Gentoo install from within the user-mode linux virtual system.
337</p> 385</p>
386
338<p> 387<p>
339Booting the .iso, or actually the initrd from the .iso, is pretty 388Booting the .iso, or actually the initrd from the .iso, is pretty
340straightforward. 389straightforward.
341</p> 390</p>
342<pre> 391
392<pre caption="Booting the ISO">
343# <i>mount -o loop /path/to/build-&lt;TAB&gt;.iso /mnt/loop</i> 393# <i>mount -o loop /path/to/build-&lt;TAB&gt;.iso /mnt/loop</i>
344# <i>cp /mnt/loop/isolinux/rescue.gz .</i> 394# <i>cp /mnt/loop/isolinux/rescue.gz .</i>
345# <i>linux load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=22000 \</i> 395# <i>linux load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=22000 \</i>
346&gt; <i>initrd=rescue.gz root=/dev/ram0 ubd0=root_fs ubd1=swap_fs \</i> 396&gt; <i>initrd=rescue.gz root=/dev/ram0 ubd0=root_fs ubd1=swap_fs \</i>
347&gt; <i>ubd2=/dev/cdroms/cdrom0 eth0=ethertap,tap0,,192.168.0.254</i> 397&gt; <i>ubd2=/dev/cdroms/cdrom0 eth0=ethertap,tap0,,192.168.0.254</i>
348</pre> 398</pre>
399
400<p>
349<p>Now you can follow the Gentoo install doc essentially verbatim, 401Now you can follow the Gentoo install doc essentially verbatim,
350although you'll need to know that the root filesystem will be 402although you'll need to know that the root filesystem will be
351<path>/dev/ubd/0</path>, the swap "partition" 403<path>/dev/ubd/0</path>, the swap "partition"
352will be <path>/dev/ubd/1</path>, and the CD rom 404will be <path>/dev/ubd/1</path>, and the CD rom
353will be <path>/dev/ubd/2</path>.</p> 405will be <path>/dev/ubd/2</path>.
406</p>
407
354</body> 408</body>
355</section> 409</section>
356</chapter> 410</chapter>
357
358
359</guide> 411</guide>

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.20