4 |
<table border=0 width=100% bgcolor="#d0d0d0"><tr> |
<table border=0 width=100% bgcolor="#d0d0d0"><tr> |
5 |
<td width=100% align=center valign=center><table border=0 width=100%><tr> |
<td width=100% align=center valign=center><table border=0 width=100%><tr> |
6 |
<td align="left" valign=center bgcolor="#d0efff"><font color="#6060e0" size="6"> |
<td align="left" valign=center bgcolor="#d0efff"><font color="#6060e0" size="6"> |
7 |
<b>Gavare's eXperimental Emulator:</b></font><br> |
<b>GXemul:</b></font> |
8 |
<font color="#000000" size="6"><b>Installing and running "guest OSes"</b> |
<font color="#000000" size="6"><b>Installing and running "guest OSes"</b> |
9 |
</font></td></tr></table></td></tr></table><p> |
</font></td></tr></table></td></tr></table><p> |
10 |
|
|
11 |
<!-- |
<!-- |
12 |
|
|
13 |
$Id: guestoses.html,v 1.212 2007/04/14 05:38:00 debug Exp $ |
$Id: guestoses.html,v 1.230 2007/09/11 21:46:35 debug Exp $ |
14 |
|
|
15 |
Copyright (C) 2003-2007 Anders Gavare. All rights reserved. |
Copyright (C) 2003-2007 Anders Gavare. All rights reserved. |
16 |
|
|
48 |
<p> |
<p> |
49 |
<ul> |
<ul> |
50 |
<li><a href="#generalnotes">General notes on running "guest OSes"</a> |
<li><a href="#generalnotes">General notes on running "guest OSes"</a> |
51 |
<li><a href="#netbsdpmaxinstall">NetBSD/pmax 3.1 or 1.6.2</a> |
<li><a href="#netbsdpmaxinstall">NetBSD/pmax 4.0</a> |
52 |
<li><a href="#netbsdarcinstall">NetBSD/arc 1.6.2</a> |
<li><a href="#netbsdarcinstall">NetBSD/arc 4.0</a> |
53 |
<li><a href="#netbsdhpcmipsinstall">NetBSD/hpcmips 3.1</a> |
<li><a href="#netbsdhpcmipsinstall">NetBSD/hpcmips 3.1</a> |
54 |
<li><a href="#netbsdcobaltinstall">NetBSD/cobalt 3.1</a> |
<li><a href="#netbsdcobaltinstall">NetBSD/cobalt 3.1</a> |
55 |
<li><a href="#netbsdevbmipsinstall">NetBSD/evbmips 3.1</a> |
<li><a href="#netbsdevbmipsinstall">NetBSD/evbmips 3.1</a> |
59 |
<li><a href="#netbsdevbarminstall">NetBSD/evbarm 2.1</a> |
<li><a href="#netbsdevbarminstall">NetBSD/evbarm 2.1</a> |
60 |
<li><a href="#netbsdnetwinderinstall">NetBSD/netwinder 3.1</a> |
<li><a href="#netbsdnetwinderinstall">NetBSD/netwinder 3.1</a> |
61 |
<li><a href="#netbsdprepinstall">NetBSD/prep 2.1</a> |
<li><a href="#netbsdprepinstall">NetBSD/prep 2.1</a> |
62 |
<li><a href="#netbsdmacppcinstall">NetBSD/macppc 3.1</a> |
<li><a href="#netbsdmacppcinstall">NetBSD/macppc 4.0</a> |
63 |
|
<li><a href="#netbsdpmppc">NetBSD/pmppc 3.1</a> |
64 |
<li><a href="dreamcast.html#netbsd_generic_md">NetBSD/dreamcast 3.1</a> |
<li><a href="dreamcast.html#netbsd_generic_md">NetBSD/dreamcast 3.1</a> |
65 |
<li><a href="dreamcast.html#linux_live_cd">Linux/dreamcast</a> |
<li><a href="dreamcast.html#linux_live_cd">Linux/dreamcast</a> |
66 |
<li><a href="#openbsdpmaxinstall">OpenBSD/pmax 2.8-BETA</a> |
<li><a href="#openbsdpmaxinstall">OpenBSD/pmax 2.8-BETA</a> |
67 |
<li><a href="#openbsdcatsinstall">OpenBSD/cats 4.0</a> |
<li><a href="#openbsdcatsinstall">OpenBSD/cats 4.0</a> |
68 |
|
<li><a href="#openbsdlandiskinstall">OpenBSD/landisk 4.1</a> |
69 |
<li><a href="#ultrixinstall">Ultrix/RISC 4.5</a> |
<li><a href="#ultrixinstall">Ultrix/RISC 4.5</a> |
70 |
<li><a href="#sprite">Sprite for DECstation</a> |
<li><a href="#sprite">Sprite for DECstation</a> |
71 |
<li><a href="#declinux">Debian GNU/Linux for DECstation</a> |
<li><a href="#declinux">Debian GNU/Linux for DECstation</a> |
109 |
<li><a href="#windows_nt_mips">Windows NT/MIPS</a> |
<li><a href="#windows_nt_mips">Windows NT/MIPS</a> |
110 |
<li><a href="#netbsdbeboxinstall">NetBSD/bebox 19981119</a> |
<li><a href="#netbsdbeboxinstall">NetBSD/bebox 19981119</a> |
111 |
<li><a href="#netbsdlandiskinstall">NetBSD/landisk</a> |
<li><a href="#netbsdlandiskinstall">NetBSD/landisk</a> |
|
<li><a href="#openbsdlandiskinstall">OpenBSD/landisk</a> |
|
112 |
</ul> |
</ul> |
113 |
|
|
114 |
<p><b><font color="#ff0000">NOTE:</b> |
<p><b><font color="#ff0000">NOTE:</b> |
132 |
<a name="netbsdpmaxinstall"></a> |
<a name="netbsdpmaxinstall"></a> |
133 |
<h3>NetBSD/pmax:</h3> |
<h3>NetBSD/pmax:</h3> |
134 |
|
|
135 |
<p><a href="http://www.netbsd.org/Ports/pmax/">NetBSD/pmax</a> was the |
<p><a href="http://www.netbsd.org/ports/pmax/">NetBSD/pmax</a> was the |
136 |
first guest OS that could be |
first guest OS that could be |
137 |
<a href="http://mail-index.netbsd.org/port-pmax/2004/04/18/0000.html">installed</a> |
<a href="http://mail-index.netbsd.org/port-pmax/2004/04/18/0000.html">installed</a> |
138 |
onto a disk image in GXemul. The device emulation of the DECstation |
onto a disk image in GXemul. The device emulation of the DECstation |
139 |
5000/200 is reasonably complete; it should be enough to emulate a |
5000/200 is reasonably complete; it should be enough to emulate a |
140 |
networked X-windows-capable workstation. |
networked X-windows-capable workstation. |
141 |
|
|
|
<p>NetBSD/pmax 1.6.2 works perfectly with X out-of-the-box. Unfortunately, |
|
|
newer NetBSD releases have changed slightly, and X does not work straight |
|
|
away with NetBSD 2.x and 3.x. It seems that this has to do with NetBSD |
|
|
switching console system to "WSCONS" somewhere between 1.6.2 and 2.0. |
|
|
|
|
|
<p>What this means is that if you want to use emulated X11, then you need |
|
|
to run NetBSD 1.6.2. At the time of writing this, 4.0_BETA snapshots work |
|
|
fine too, but 4.0 isn't released yet. If you feel that you only need |
|
|
serial-console emulation, then choose 3.1. |
|
|
|
|
142 |
<p> |
<p> |
143 |
<a href="20050317-example.png"><img src="20050317-example_small.png"></a> |
<a href="20050317-example.png"><img src="20050317-example_small.png"></a> |
144 |
|
|
145 |
<p>To install NetBSD/pmax onto a harddisk image in the emulator, |
<p>To install NetBSD/pmax onto a harddisk image in the emulator, |
146 |
follow these instructions: |
follow these instructions: |
147 |
|
|
148 |
<p><ol start="1"> |
<p><ol> |
149 |
<li>Create an empty harddisk image, which will be the root disk |
<li>Create an empty harddisk image, which will be the root disk |
150 |
that NetBSD installs itself onto:<pre> |
that NetBSD installs itself onto:<pre> |
151 |
<b>dd if=/dev/zero of=nbsd_pmax.img bs=1024 count=1 seek=3000000</b> |
<b>dd if=/dev/zero of=nbsd_pmax.img bs=1024 count=1 seek=3000000</b> |
152 |
|
|
153 |
</pre> |
</pre> |
|
</ol> |
|
|
|
|
|
<p> |
|
|
From this point, there are two separate ways to continue the installation. |
|
|
You can either download a CD-ROM iso image (and let the installation |
|
|
program copy files from the CD-ROM image to the harddisk image), or you |
|
|
can install via ftp. For an installation from a CD-ROM image, follow these |
|
|
steps: |
|
|
<p> |
|
|
<ol start="2"> |
|
|
|
|
154 |
<li>Download a NetBSD CD-ROM iso image:<pre> |
<li>Download a NetBSD CD-ROM iso image:<pre> |
155 |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/iso/1.6.2/pmaxcd.iso">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/iso/1.6.2/pmaxcd.iso</a> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/4.0/pmaxcd-4.0.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/4.0/pmaxcd-4.0.iso</a> |
|
or |
|
|
<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/pmaxcd-3.1.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/pmaxcd-3.1.iso</a> |
|
156 |
|
|
157 |
</pre> |
</pre> |
158 |
<li>Start the emulator like this:<pre> |
<li>Start the emulator like this:<pre> |
159 |
<b>gxemul -e 3max -d nbsd_pmax.img -d bc:pmaxcd-3.1.iso</b> |
<b>gxemul -X -e 3max -d nbsd_pmax.img -d b:pmaxcd-4.0.iso</b> |
|
(or <b>pmaxcd.iso</b>) |
|
160 |
</pre> |
</pre> |
|
and proceed like you would do if you were installing NetBSD on a real |
|
|
DECstation. Remember to choose <tt>vt100</tt> as your terminal |
|
|
type, and not <tt>rcons</tt>. |
|
161 |
</ol> |
</ol> |
|
<p> |
|
|
For an ftp install, substitute steps 2 and 3 above with these: |
|
|
<p> |
|
|
<ol start="2"> |
|
162 |
|
|
163 |
<li>Download a NetBSD pmax INSTALL kernel:<pre> |
<p>If you do not want to use the graphical framebuffer during the |
164 |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/NetBSD-1.6.2/pmax/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/NetBSD-1.6.2/pmax/binary/kernel/netbsd-INSTALL.gz</a> |
install, you can skip the <b><tt>-X</tt></b> command line option. |
165 |
or |
Remember to enter <tt>xterm</tt> instead of <tt>vt100</tt> when asked |
166 |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/pmax/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/pmax/binary/kernel/netbsd-INSTALL.gz</a> |
about your terminal type, if you do this. |
167 |
|
|
168 |
</pre> |
<p>You can also add <b><tt>-Y 2</tt></b> to the command line options, if |
169 |
<li>Start the emulator like this:<pre> |
you feel that the default framebuffer window is too large. |
|
<b>gxemul -e 3max -d nbsd_pmax.img -O netbsd-INSTALL.gz</b> |
|
|
</pre> |
|
|
and proceed like you would do if you were installing NetBSD on a real |
|
|
DECstation. Remember to choose <tt>vt100</tt> as your terminal |
|
|
type, and not <tt>rcons</tt>. Suitable networking parameters are as |
|
|
follows:<pre> |
|
|
Which device shall I use? [le0]: <b>le0</b> |
|
|
.. |
|
|
Your DNS domain: <b>mydomain.com</b> |
|
|
Your host name: <b>foo</b> |
|
|
Your IPv4 number: <b>10.0.0.1</b> |
|
|
IPv4 Netmask [0xff000000]: <b>0xff000000</b> |
|
|
IPv4 gateway: <b>10.0.0.254</b> |
|
|
IPv4 name server: <b>10.0.0.254</b> |
|
|
</pre> |
|
|
(If using 10.0.0.254 as the nameserver fails, then try entering the |
|
|
IP number of a real-world nameserver instead.) |
|
|
</ol> |
|
|
|
|
|
<p>If you want to use a graphical framebuffer during the install, you can |
|
|
add <b><tt>-X -Y2</tt></b> to the command line, and choose <tt>rcons</tt> |
|
|
instead of <tt>vt100</tt> when prompted with which terminal type to use. |
|
|
(By just using <tt><b>-X</b></tt>, you will get a full-size framebuffer |
|
|
window.) |
|
170 |
|
|
171 |
<p>When the installation is finished, the following command should start |
<p>When the installation has finished, the following command should start |
172 |
NetBSD from the harddisk image:<pre> |
NetBSD from the harddisk image:<pre> |
|
<b>gxemul -e 3max -d nbsd_pmax.img</b> |
|
|
</pre> |
|
|
|
|
|
<p>If you installed NetBSD/pmax 1.6.2, or 4.0_BETA, then try the |
|
|
following to start with a framebuffer:<pre> |
|
173 |
<b>gxemul -X -e 3max -d nbsd_pmax.img</b> |
<b>gxemul -X -e 3max -d nbsd_pmax.img</b> |
174 |
</pre> |
</pre> |
175 |
and log in as <tt>root</tt> and type <tt>startx</tt> to start X windows. |
|
176 |
|
and log in as <tt>root</tt>. Type <tt>startx</tt> to start X windows. |
177 |
|
|
178 |
|
<p>(Remove <b><tt>-X</tt></b> if you only want a serial console.) |
179 |
|
|
180 |
|
|
181 |
|
|
188 |
<a name="netbsdarcinstall"></a> |
<a name="netbsdarcinstall"></a> |
189 |
<h3>NetBSD/arc:</h3> |
<h3>NetBSD/arc:</h3> |
190 |
|
|
191 |
It is possible to install and run an old version of <a |
It is possible to install and run <a |
192 |
href="http://www.netbsd.org/Ports/arc/">NetBSD/arc</a> |
href="http://www.netbsd.org/ports/arc/">NetBSD/arc</a> |
193 |
on an emulated Acer PICA-61 in the emulator. |
on an emulated Acer PICA-61 in the emulator. |
194 |
|
|
195 |
<p> |
<p> |
197 |
<a href="20041024-netbsd-arc-installed.gif"><img src="20041024-netbsd-arc-installed_small.gif"></a> |
<a href="20041024-netbsd-arc-installed.gif"><img src="20041024-netbsd-arc-installed_small.gif"></a> |
198 |
|
|
199 |
<p> |
<p> |
200 |
To install NetBSD/arc 1.6.2 from a CDROM image onto an emulated |
To install NetBSD/arc from a CDROM image onto an emulated |
201 |
harddisk image, follow these instructions: |
harddisk image, follow these instructions: |
202 |
|
|
203 |
<p> |
<p> |
204 |
<ol start="1"> |
<ol start="1"> |
205 |
<li>Create an empty harddisk image, which will be the root disk |
<li>Create an empty harddisk image, which will be the root disk |
206 |
that NetBSD installs itself onto:<pre> |
that NetBSD installs itself onto:<pre> |
207 |
<b>dd if=/dev/zero of=nbsd_arc.img bs=1024 count=1 seek=2000000</b> |
<b>dd if=/dev/zero of=nbsd_arc.img bs=1024 count=1 seek=1000000</b> |
208 |
|
|
209 |
</pre> |
</pre> |
210 |
<li>Download a NetBSD/arc 1.6.2 CDROM image, and a generic NetBSD/arc |
<li>Download a NetBSD/arc 4.0 CDROM image, and a generic NetBSD/arc |
211 |
kernel:<pre> |
kernel:<pre> |
212 |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/iso/1.6.2/arccd.iso">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/iso/1.6.2/arccd.iso</a> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/4.0/arccd-4.0.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/4.0/arccd-4.0.iso</a> |
213 |
|
TODO: |
214 |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/NetBSD-1.6.2/arc/binary/kernel/netbsd-GENERIC.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/NetBSD-1.6.2/arc/binary/kernel/netbsd-GENERIC.gz</a> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/NetBSD-1.6.2/arc/binary/kernel/netbsd-GENERIC.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/NetBSD-1.6.2/arc/binary/kernel/netbsd-GENERIC.gz</a> |
215 |
|
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/NetBSD-1.6.2/arc/binary/kernel/netbsd-RAMDISK.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/NetBSD-1.6.2/arc/binary/kernel/netbsd-RAMDISK.gz</a> |
216 |
|
|
217 |
</pre> |
</pre> |
218 |
<li>Start the emulator using this command line:<pre> |
<li>Start the emulator using this command line:<pre> |
219 |
<b>gxemul -e pica -x -d nbsd_arc.img -d bc:arccd.iso -j arc/binary/kernel/netbsd.RAMDISK.gz</b> |
<b>gxemul -e pica -x -d nbsd_arc.img -d b:arccd.iso netbsd-RAMDISK.gz</b> |
220 |
|
|
221 |
</pre> |
</pre> |
222 |
(Try removing <tt>-x</tt> if you have problems with the xterm.) |
(Try removing <tt>-x</tt> if you have problems with the xterm.) |
223 |
<p> |
<p> |
224 |
<li>From now on, you have to use your imagination, as there is no |
<li>From now on, you have to use your imagination, as there is no |
225 |
automatic installation program for NetBSD/arc 1.6.2. Here are |
automatic installation program for NetBSD/arc 4.0. Here are |
226 |
some tips and hints on how you can proceed with the install: |
some tips and hints on how you can proceed with the install: |
227 |
<p><table border="0"><tr><td><tt> </tt></td><td><pre> |
<p><table border="0"><tr><td><tt> </tt></td><td><pre> |
228 |
<b>mount /dev/cd0a /mnt2 |
<b>mount /dev/cd0a /mnt2 |
262 |
<h3>NetBSD/hpcmips:</h3> |
<h3>NetBSD/hpcmips:</h3> |
263 |
|
|
264 |
It is possible to install <a |
It is possible to install <a |
265 |
href="http://www.netbsd.org/Ports/hpcmips/">NetBSD/hpcmips</a> onto a disk |
href="http://www.netbsd.org/ports/hpcmips/">NetBSD/hpcmips</a> onto a disk |
266 |
image, on an an emulated MobilePro 770 or 800. (MobilePro 780 and 880 might |
image, on an an emulated MobilePro 770 or 800. (MobilePro 780 and 880 might |
267 |
work too, but I don't test those for every release of the emulator. They |
work too, but I don't test those for every release of the emulator. They |
268 |
have unaligned framebuffers, and run a bit slower.) |
have unaligned framebuffers, and run a bit slower.) |
321 |
<a name="netbsdcobaltinstall"></a> |
<a name="netbsdcobaltinstall"></a> |
322 |
<h3>NetBSD/cobalt:</h3> |
<h3>NetBSD/cobalt:</h3> |
323 |
|
|
324 |
<a href="http://www.netbsd.org/Ports/cobalt/">NetBSD/cobalt</a> is tricky |
<a href="http://www.netbsd.org/ports/cobalt/">NetBSD/cobalt</a> is tricky |
325 |
to install, because the Cobalt machines were designed for Linux, and not |
to install, because the Cobalt machines were designed for Linux, and not |
326 |
very flexible. There is no traditional INSTALL kernel for NetBSD/cobalt. |
very flexible. There is no traditional INSTALL kernel for NetBSD/cobalt. |
327 |
One way to install the NetBSD/cobalt distribution onto a disk image is to |
One way to install the NetBSD/cobalt distribution onto a disk image is to |
396 |
<a name="netbsdevbmipsinstall"></a> |
<a name="netbsdevbmipsinstall"></a> |
397 |
<h3>NetBSD/evbmips:</h3> |
<h3>NetBSD/evbmips:</h3> |
398 |
|
|
399 |
<a href="http://www.netbsd.org/Ports/evbmips/">NetBSD/evbmips</a> can run |
<a href="http://www.netbsd.org/ports/evbmips/">NetBSD/evbmips</a> can run |
400 |
in GXemul on an emulated Malta evaluation board, with a 5Kc (MIPS64) or |
in GXemul on an emulated Malta evaluation board, with a 5Kc (MIPS64) or |
401 |
4Kc (MIPS32) processor. 5Kc is the default. |
4Kc (MIPS32) processor. 5Kc is the default. |
402 |
|
|
448 |
</ol> |
</ol> |
449 |
|
|
450 |
<p>You should now be able to boot NetBSD/evbmips using this command:<pre> |
<p>You should now be able to boot NetBSD/evbmips using this command:<pre> |
451 |
<b>gxemul -e malta -d nbsd_malta.img netbsd-MALTA.gz</b> |
<b>gxemul -x -e malta -d nbsd_malta.img netbsd-MALTA.gz</b> |
452 |
</pre> |
</pre> |
453 |
|
|
454 |
<p>NOTE: To select a 4Kc (MIPS32) CPU instead of the default 5Kc |
<p>NOTE: To select a 4Kc (MIPS32) CPU instead of the default 5Kc |
489 |
<a name="netbsdalgorinstall"></a> |
<a name="netbsdalgorinstall"></a> |
490 |
<h3>NetBSD/algor:</h3> |
<h3>NetBSD/algor:</h3> |
491 |
|
|
492 |
<a href="http://www.netbsd.org/Ports/algor/">NetBSD/algor</a> can |
<a href="http://www.netbsd.org/ports/algor/">NetBSD/algor</a> can |
493 |
run in GXemul on an emulated Algorithmics P5064 evaluation board. |
run in GXemul on an emulated Algorithmics P5064 evaluation board. |
494 |
|
|
495 |
<p> |
<p> |
571 |
|
|
572 |
<a href="20060623-netbsd-sgimips-3.0.png"><img src="20060623-netbsd-sgimips-3.0_small.png"></a> |
<a href="20060623-netbsd-sgimips-3.0.png"><img src="20060623-netbsd-sgimips-3.0_small.png"></a> |
573 |
|
|
574 |
<p><a href="http://www.netbsd.org/Ports/sgimips/">NetBSD/sgimips</a> can run |
<p><a href="http://www.netbsd.org/ports/sgimips/">NetBSD/sgimips</a> can run |
575 |
in GXemul on an emulated O2 (SGI-IP32). However, GXemul does not yet |
in GXemul on an emulated O2 (SGI-IP32). However, GXemul does not yet |
576 |
emulate the AHC PCI SCSI controller in the O2. (I have mailed Adaptec |
emulate the AHC PCI SCSI controller in the O2. (I have mailed Adaptec |
577 |
several times, asking for documentation, but never received any reply.) |
several times, asking for documentation, but never received any reply.) |
639 |
DECstation disk image: |
DECstation disk image: |
640 |
<p><table border="0"><tr><td><tt> </tt></td><td><pre> |
<p><table border="0"><tr><td><tt> </tt></td><td><pre> |
641 |
<b>cd /tftpboot; mount /dev/cd0a /mnt |
<b>cd /tftpboot; mount /dev/cd0a /mnt |
642 |
for a in /mnt/sgimips/binary/sets/[bcegmt]*; do echo $a; tar zxfp $a; done |
for a in /mnt/*/binary/sets/[bcegmt]*; do echo $a; tar zxfp $a; done |
643 |
echo 10.0.0.2:/tftpboot / nfs rw 0 0 > /tftpboot/etc/fstab |
echo 10.0.0.2:/tftpboot / nfs rw 0 0 > /tftpboot/etc/fstab |
644 |
echo rc_configured=YES >> /tftpboot/etc/rc.conf |
echo rc_configured=YES >> /tftpboot/etc/rc.conf |
645 |
echo 10.0.0.254 >> /tftpboot/etc/mygate |
echo 10.0.0.254 >> /tftpboot/etc/mygate |
654 |
<font color="#2020cf">! Configuration file for running NetBSD/sgimips diskless with |
<font color="#2020cf">! Configuration file for running NetBSD/sgimips diskless with |
655 |
! a NetBSD/pmax machine as the nfs server.</font> |
! a NetBSD/pmax machine as the nfs server.</font> |
656 |
|
|
657 |
<b> net( |
<b>net( |
658 |
add_remote("localhost:12444") </b>! the server<b> |
add_remote("localhost:12444") </b>! the server<b> |
659 |
local_port(12445) </b>! the client<b> |
local_port(12445) </b>! the client<b> |
660 |
) |
) |
661 |
|
|
662 |
machine( |
machine( |
663 |
name("client machine") |
name("client machine") |
664 |
serial_nr(1) |
serial_nr(1) |
665 |
|
|
668 |
|
|
669 |
load("netbsd-INSTALL32_IP3x.gz")</b> |
load("netbsd-INSTALL32_IP3x.gz")</b> |
670 |
! load("netbsd-GENERIC32_IP3x.gz")<b> |
! load("netbsd-GENERIC32_IP3x.gz")<b> |
671 |
) |
) |
672 |
</b> |
</b> |
673 |
</pre></td></tr></table> |
</pre></td></tr></table> |
674 |
... and another configuration file for the server, |
... and another configuration file for the server, |
675 |
<tt>config_server</tt>: |
<tt>config_server</tt>: |
676 |
<table border="0"><tr><td><tt> </tt></td><td><pre> |
<table border="0"><tr><td><tt> </tt></td><td><pre> |
677 |
<b> net( |
<b>net( |
678 |
local_port(12444) </b>! the server<b> |
local_port(12444) </b>! the server<b> |
679 |
add_remote("localhost:12445") </b>! the client<b> |
add_remote("localhost:12445") </b>! the client<b> |
680 |
) |
) |
681 |
|
|
682 |
machine( |
machine( |
683 |
name("nfs server") |
name("nfs server") |
684 |
serial_nr(2) |
serial_nr(2) |
685 |
|
|
687 |
subtype("5000/200") |
subtype("5000/200") |
688 |
|
|
689 |
disk("nbsd_pmax.img") |
disk("nbsd_pmax.img") |
690 |
) |
) |
691 |
</b> |
</b> |
692 |
</pre></td></tr></table> |
</pre></td></tr></table> |
693 |
<li>Boot the "<tt>nfs server</tt>" and the NetBSD/sgimips |
<li>Boot the "<tt>nfs server</tt>" and the NetBSD/sgimips |
754 |
<h3>NetBSD/cats:</h3> |
<h3>NetBSD/cats:</h3> |
755 |
|
|
756 |
It is possible to install and run |
It is possible to install and run |
757 |
<a href="http://www.netbsd.org/Ports/cats/">NetBSD/cats</a> in GXemul. |
<a href="http://www.netbsd.org/ports/cats/">NetBSD/cats</a> in GXemul. |
758 |
|
|
759 |
<p> |
<p> |
760 |
<a href="20051007-netbsd-cats-installed.png"><img src="20051007-netbsd-cats-installed_small.png"></a> |
<a href="20051007-netbsd-cats-installed.png"><img src="20051007-netbsd-cats-installed_small.png"></a> |
805 |
<a name="netbsdevbarminstall"></a> |
<a name="netbsdevbarminstall"></a> |
806 |
<h3>NetBSD/evbarm:</h3> |
<h3>NetBSD/evbarm:</h3> |
807 |
|
|
808 |
<a href="http://www.netbsd.org/Ports/evbarm/">NetBSD/evbarm</a> can |
<a href="http://www.netbsd.org/ports/evbarm/">NetBSD/evbarm</a> can |
809 |
run in GXemul on an emulated IQ80321 evaluation board. |
run in GXemul on an emulated IQ80321 evaluation board. |
810 |
|
|
811 |
<p> |
<p> |
820 |
|
|
821 |
<p> |
<p> |
822 |
<ol> |
<ol> |
823 |
<li>Install NetBSD/cats 3.1 according to instructions |
<li>Download a NetBSD/cats 3.1 ramdisk kernel:<pre> |
824 |
<a href="#netbsdcatsinstall">further up on this page</a>. |
<b>wget <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/cats/binary/kernel/netbsd.aout-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/cats/binary/kernel/netbsd.aout-INSTALL.gz</a></b> |
825 |
<p> |
|
826 |
|
</pre> |
827 |
<li>Create an empty harddisk image, which will be the disk image |
<li>Create an empty harddisk image, which will be the disk image |
828 |
that you will install NetBSD onto:<pre> |
that you will install NetBSD/evbarm onto:<pre> |
829 |
<b>dd if=/dev/zero of=nbsd_iq80321.img bs=1024 count=1 seek=999000</b> |
<b>dd if=/dev/zero of=nbsd_iq80321.img bs=1024 count=1 seek=999000</b> |
830 |
|
|
831 |
</pre> |
</pre> |
835 |
|
|
836 |
</pre> |
</pre> |
837 |
<p> |
<p> |
838 |
<li>The first step is to copy the distribution .tgz files onto the CATS |
<li>Now let's extract the files from the CD-ROM image onto the IQ80321's disk image. Start the |
839 |
machine's harddisk. Start the CATS machine like this:<pre> |
CATS machine using the following command line:<pre> |
840 |
<b>gxemul -XEcats -d nbsd_cats.img -d evbarmcd.iso netbsd.aout-GENERIC.gz</b> |
<b>gxemul -XEcats -d nbsd_iq80321.img -d evbarmcd.iso netbsd.aout-INSTALL.gz</b> |
841 |
|
|
842 |
</pre>and execute the following commands as <tt>root</tt>: |
</pre>Exit from the installer, and execute the following commands as <tt>root</tt>: |
843 |
<p><table border="0"><tr><td><tt> </tt></td><td><pre> |
<p><table border="0"><tr><td><tt> </tt></td><td><pre> |
|
<b>mount /dev/cd0a /mnt; cd /root; cp /mnt/evbarm/binary/sets/[bcegmt]* . |
|
|
sync; halt</b> |
|
|
</pre></td></tr></table> |
|
|
<p> |
|
|
<li>Now let's extract the files onto the IQ80321's disk image. Start the |
|
|
CATS machine again, with the following command line:<pre> |
|
|
<b>gxemul -XEcats -d nbsd_cats.img -d nbsd_iq80321.img netbsd.aout-GENERIC.gz</b> |
|
844 |
|
|
845 |
</pre>and execute the following commands as <tt>root</tt>: |
<b>disklabel -I -i wd0</b> |
|
<p><table border="0"><tr><td><tt> </tt></td><td><pre> |
|
|
<b>disklabel -I -i wd1</b> |
|
846 |
(enter suitable commands, e.g. <i>a, 4.2BSD, 1c, 750M, b, |
(enter suitable commands, e.g. <i>a, 4.2BSD, 1c, 750M, b, |
847 |
swap, a, 200M, P, W, y, Q</i>) |
swap, a, 200M, P, W, y, Q</i>) |
848 |
<b>newfs /dev/wd1a; mount /dev/wd1a /mnt; cd /mnt; sh |
<b>newfs /dev/wd0a; mount /dev/wd0a /mnt2; cd /mnt2 |
849 |
for a in /root/[bcegmt]*.tgz; do echo $a; tar zxfp $a; done |
mount /dev/cd0a /mnt; sh |
850 |
|
for a in /mnt/*/binary/sets/[bcegmt]*.tgz; do echo $a; tar zxfp $a; done |
851 |
exit |
exit |
852 |
cd dev; sh ./MAKEDEV all; cd ../etc |
cd dev; sh ./MAKEDEV all; cd ../etc |
853 |
echo rc_configured=YES >> rc.conf |
echo rc_configured=YES >> rc.conf |
854 |
echo "/dev/wd0a / ffs rw 1 1" > fstab |
echo "/dev/wd0a / ffs rw 1 1" > fstab |
855 |
echo "/dev/wd0b none swap sw 0 0" >> fstab |
echo "/dev/wd0b none swap sw 0 0" >> fstab |
856 |
cd /; umount /mnt; sync; halt</b> |
cd /; umount /mnt; umount /mnt2; sync; halt</b> |
857 |
</pre></td></tr></table> |
</pre></td></tr></table> |
858 |
</ol> |
</ol> |
859 |
|
|
860 |
<p>You should now be able to boot NetBSD/evbarm using this command:<pre> |
<p>You should now be able to boot NetBSD/evbarm using this command:<pre> |
861 |
<b>gxemul -xEiq80321 -d nbsd_iq80321.img netbsd-wd0-IQ80321.gz</b> |
<b>gxemul -x -E iq80321 -d nbsd_iq80321.img netbsd-wd0-IQ80321.gz</b> |
862 |
</pre> |
</pre> |
863 |
|
|
864 |
|
|
874 |
<h3>NetBSD/netwinder:</h3> |
<h3>NetBSD/netwinder:</h3> |
875 |
|
|
876 |
It is possible to run <a |
It is possible to run <a |
877 |
href="http://www.netbsd.org/Ports/netwinder/">NetBSD/netwinder</a> |
href="http://www.netbsd.org/ports/netwinder/">NetBSD/netwinder</a> |
878 |
in GXemul. |
in GXemul. |
879 |
|
|
880 |
<p> |
<p> |
971 |
<h3>NetBSD/prep:</h3> |
<h3>NetBSD/prep:</h3> |
972 |
|
|
973 |
It is possible to install and run <a |
It is possible to install and run <a |
974 |
href="http://www.netbsd.org/Ports/prep/">NetBSD/prep</a> 2.1 in GXemul on |
href="http://www.netbsd.org/ports/prep/">NetBSD/prep</a> 2.1 in GXemul on |
975 |
an emulated IBM 6050 (PowerPC) machine. (Newer versions of NetBSD/prep use |
an emulated IBM 6050 (PowerPC) machine. (Newer versions of NetBSD/prep use |
976 |
the wdc controller in a way which isn't implemented in GXemul yet, or |
the wdc controller in a way which isn't implemented in GXemul yet, or |
977 |
there are bugs in GXemul's PowerPC CPU emulation.) |
there are bugs in GXemul's PowerPC CPU emulation.) |
1072 |
<h3>NetBSD/macppc:</h3> |
<h3>NetBSD/macppc:</h3> |
1073 |
|
|
1074 |
It is possible to install and run <a |
It is possible to install and run <a |
1075 |
href="http://www.netbsd.org/Ports/macppc/">NetBSD/macppc</a> in GXemul on |
href="http://www.netbsd.org/ports/macppc/">NetBSD/macppc</a> in GXemul on |
1076 |
an emulated generic PowerPC machine. No specific Machintosh model is |
an emulated generic PowerPC machine. No specific Machintosh model is |
1077 |
emulated, but it is enough to for NetBSD to recognize it. |
emulated, but it is enough to for NetBSD to recognize it. |
1078 |
|
|
1088 |
<b>dd if=/dev/zero of=nbsd_macppc.img bs=1024 count=1 seek=3000000</b> |
<b>dd if=/dev/zero of=nbsd_macppc.img bs=1024 count=1 seek=3000000</b> |
1089 |
|
|
1090 |
</pre> |
</pre> |
1091 |
<li>Download the NetBSD/macppc 3.1 ISO image and a generic kernel:<pre> |
<li>Download the NetBSD/macppc 4.0 ISO image and a generic kernel:<pre> |
1092 |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/macppccd-3.1.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/macppccd-3.1.iso</a> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/4.0/macppccd-4.0.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/4.0/macppccd-4.0.iso</a> |
1093 |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/macppc/binary/kernel/">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/macppc/binary/kernel</a>/<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/macppc/binary/kernel/netbsd-GENERIC.MP.gz">netbsd-GENERIC.MP.gz</a> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-4.0/macppc/binary/kernel/">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-4.0/macppc/binary/kernel</a>/<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-4.0/macppc/binary/kernel/netbsd-GENERIC.MP.gz">netbsd-GENERIC.MP.gz</a> |
1094 |
|
|
1095 |
</pre> |
</pre> |
1096 |
<p> |
<p> |
1097 |
<li>Start the installation like this:<pre> |
<li>Start the installation like this:<pre> |
1098 |
<b>gxemul -x -e g4 -d nbsd_macppc.img -d b:macppccd-3.1.iso -j macppc/binary/kernel/netbsd-INSTALL.gz</b> |
<b>gxemul -x -e g4 -d nbsd_macppc.img -d b:macppccd-4.0.iso -j macppc/binary/kernel/netbsd-INSTALL</b> |
1099 |
|
|
1100 |
</pre> |
</pre> |
1101 |
and continue as you would do when installing NetBSD on a real |
and continue as you would do when installing NetBSD on a real |
1102 |
machine. |
machine. |
|
<p> |
|
|
<li>Before turning the emulated machine off, quit the NetBSD installer |
|
|
and execute the following commands:<pre> |
|
|
<b>cd /; mount /dev/wd0a /mnt |
|
|
echo 'console "/usr/libexec/getty std.38400" vt100 on secure' > /mnt/etc/ttys |
|
|
echo 'rc_configured=YES' >> /mnt/etc/rc.conf |
|
|
umount /mnt; sync |
|
|
reboot</b> |
|
|
|
|
|
</pre> |
|
1103 |
</ol> |
</ol> |
1104 |
|
|
1105 |
<p>If everything worked, NetBSD/macppc should now be installed on |
<p>If everything worked, NetBSD/macppc should now be installed on |
1122 |
|
|
1123 |
|
|
1124 |
|
|
1125 |
|
<p><br> |
1126 |
|
<a name="netbsdpmppc"></a> |
1127 |
|
<h3>NetBSD/pmppc:</h3> |
1128 |
|
|
1129 |
|
<p><a href="http://www.netbsd.org/ports/pmppc/">NetBSD/pmppc</a> can |
1130 |
|
run in GXemul on an emulated Artesyn PM/PPC board. Currently, no SCSI or other |
1131 |
|
disk controller is emulated for this machine type, but it is possible to run |
1132 |
|
NetBSD with root-on-nfs. |
1133 |
|
|
1134 |
|
<p> |
1135 |
|
<a href="20070616-netbsd-pmppc-diskless.png"><img src="20070616-netbsd-pmppc-diskless_small.png"></a> |
1136 |
|
|
1137 |
|
<p>These setup steps will let you run NetBSD/pmppc with root-on-nfs: |
1138 |
|
|
1139 |
|
<p> |
1140 |
|
<ol> |
1141 |
|
<li>First of all, the "<tt>nfs server</tt>" machine must be set up. |
1142 |
|
This needs to have a 750 MB <tt>/tftpboot</tt> partition. |
1143 |
|
<a href="#netbsdpmaxinstall">Install NetBSD/pmax 3.1 from CDROM</a>. |
1144 |
|
(Don't forget to add the extra partition!) |
1145 |
|
<p> |
1146 |
|
<li>Configure the nfs server machine to act as an nfs server. |
1147 |
|
Start up the emulated DECstation:<pre> |
1148 |
|
<b>gxemul -e 3max -d nbsd_pmax.img</b> |
1149 |
|
</pre>and enter the following commands as <tt>root</tt> |
1150 |
|
inside the emulator: |
1151 |
|
<p><table border="0"><tr><td><tt> </tt></td><td><pre> |
1152 |
|
<b>echo hostname=server >> /etc/rc.conf |
1153 |
|
echo ifconfig_le0=\"inet 10.0.0.2\" >> /etc/rc.conf |
1154 |
|
echo nameserver 10.0.0.254 >> /etc/resolv.conf |
1155 |
|
echo 10.0.0.254 > /etc/mygate |
1156 |
|
echo /tftpboot -maproot=root 10.0.0.1 > /etc/exports |
1157 |
|
echo rpcbind=YES >> /etc/rc.conf |
1158 |
|
echo nfs_server=YES >> /etc/rc.conf |
1159 |
|
echo mountd=YES >> /etc/rc.conf |
1160 |
|
echo bootparamd=YES >> /etc/rc.conf |
1161 |
|
printf "client root=10.0.0.2:/tftpboot \\\n swap=10.0.0.2:/tftpboot/swap\n" > /etc/bootparams |
1162 |
|
echo "bootps dgram udp wait root /usr/sbin/bootpd bootpd -d 4 -h 10.0.0.2" >> /etc/inetd.conf |
1163 |
|
cat >> /etc/bootptab |
1164 |
|
client:\ |
1165 |
|
:ht=ether:\ |
1166 |
|
:ha=102030000010:\ |
1167 |
|
:sm=255.0.0.0:\ |
1168 |
|
:lg=10.0.0.254:\ |
1169 |
|
:ip=10.0.0.1:\ |
1170 |
|
:rp=/tftpboot: |
1171 |
|
</b>(press CTRL-D) |
1172 |
|
<b>echo "10:20:30:00:00:10 client" > /etc/ethers |
1173 |
|
echo 10.0.0.1 client > /etc/hosts |
1174 |
|
reboot</b> |
1175 |
|
</pre></td></tr></table> |
1176 |
|
<p> |
1177 |
|
<li>Download the NetBSD/pmppc CD-ROM iso image, and the GENERIC kernel:<pre> |
1178 |
|
<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/pmppccd-3.1.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/pmppccd-3.1.iso</a> |
1179 |
|
<a href="ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.1/pmppc/binary/kernel/netbsd-PMPPC.gz">ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.1/pmppc/binary/kernel/netbsd-PMPPC.gz</a> |
1180 |
|
|
1181 |
|
</pre> |
1182 |
|
<li>Start the DECstation emulation again:<pre> |
1183 |
|
<b>gxemul -e 3max -d nbsd_pmax.img -d pmppccd-3.1.iso</b> |
1184 |
|
|
1185 |
|
</pre>and extract the files from the PM/PPC CD-ROM image to the |
1186 |
|
DECstation disk image: |
1187 |
|
<p><table border="0"><tr><td><tt> </tt></td><td><pre> |
1188 |
|
<b>cd /tftpboot; mount /dev/cd0a /mnt |
1189 |
|
for a in /mnt/*/binary/sets/[bcemt]*; do echo $a; tar zxfp $a; done |
1190 |
|
echo 10.0.0.2:/tftpboot / nfs rw 0 0 > /tftpboot/etc/fstab |
1191 |
|
echo rc_configured=YES >> /tftpboot/etc/rc.conf |
1192 |
|
echo 10.0.0.254 >> /tftpboot/etc/mygate |
1193 |
|
echo nameserver 10.0.0.254 >> /tftpboot/etc/resolv.conf |
1194 |
|
echo rc_configured=YES >> /tftpboot/etc/rc.conf |
1195 |
|
dd if=/dev/zero of=swap bs=1024 count=65536 |
1196 |
|
cd /tftpboot/dev; sh MAKEDEV all |
1197 |
|
cd /; umount /mnt; halt</b> |
1198 |
|
</pre></td></tr></table> |
1199 |
|
<p> |
1200 |
|
<li>Create a configuration file called <tt>config_client</tt>: |
1201 |
|
<table border="0"><tr><td><tt> </tt></td><td><pre> |
1202 |
|
<font color="#2020cf">! Configuration file for running NetBSD/pmppc diskless with |
1203 |
|
! a NetBSD/pmax machine as the nfs server.</font> |
1204 |
|
|
1205 |
|
<b>net( |
1206 |
|
add_remote("localhost:12444") </b>! the server<b> |
1207 |
|
local_port(12445) </b>! the client<b> |
1208 |
|
) |
1209 |
|
|
1210 |
|
machine( |
1211 |
|
name("client machine") |
1212 |
|
serial_nr(1) |
1213 |
|
|
1214 |
|
type("pmppc") |
1215 |
|
|
1216 |
|
load("netbsd-PMPPC.gz")</b> |
1217 |
|
) |
1218 |
|
</b> |
1219 |
|
</pre></td></tr></table> |
1220 |
|
... and another configuration file for the server, |
1221 |
|
<tt>config_server</tt>: |
1222 |
|
<table border="0"><tr><td><tt> </tt></td><td><pre> |
1223 |
|
<b>net( |
1224 |
|
local_port(12444) </b>! the server<b> |
1225 |
|
add_remote("localhost:12445") </b>! the client<b> |
1226 |
|
) |
1227 |
|
|
1228 |
|
machine( |
1229 |
|
name("nfs server") |
1230 |
|
serial_nr(2) |
1231 |
|
|
1232 |
|
type("dec") |
1233 |
|
subtype("5000/200") |
1234 |
|
|
1235 |
|
disk("nbsd_pmax.img") |
1236 |
|
) |
1237 |
|
</b> |
1238 |
|
</pre></td></tr></table> |
1239 |
|
</ol> |
1240 |
|
|
1241 |
|
<p>It should now be possible to boot NetBSD/pmppc using the NetBSD/pmax |
1242 |
|
nfs server, using the following commands: (NOTE! Execute these two |
1243 |
|
commands in separate xterms!)<pre> |
1244 |
|
<b>gxemul @config_server</b> |
1245 |
|
<b>gxemul @config_client</b> |
1246 |
|
</pre> |
1247 |
|
|
1248 |
|
<p>You might want to log in as <tt>root</tt> on the server machine, and |
1249 |
|
run <tt>tcpdump -lnvv</tt> or similar, to see that what the client machine |
1250 |
|
actually does on the network. |
1251 |
|
|
1252 |
|
<p>When asked for "<tt>root device:</tt>" etc. on the client machine, enter |
1253 |
|
the following values:<pre> |
1254 |
|
root device: <b>tlp0</b> |
1255 |
|
dump device: <b>(leave blank)</b> |
1256 |
|
file system (default generic): <b>(leave blank)</b> |
1257 |
|
.. |
1258 |
|
init path (default /sbin/init): <b>(leave blank)</b> |
1259 |
|
</pre> |
1260 |
|
|
|
<p><br> |
|
|
<a name="netbsddreamcast"></a> |
|
|
<h3>NetBSD/dreamcast:</h3> |
|
1261 |
|
|
|
Moved <a href="dreamcast.html#netbsd_generic_md">here</a>. |
|
1262 |
|
|
1263 |
|
|
1264 |
|
|
1266 |
|
|
1267 |
|
|
1268 |
|
|
1269 |
|
<p><br> |
1270 |
|
<a name="netbsddreamcast"></a> |
1271 |
|
<h3>NetBSD/dreamcast:</h3> |
1272 |
|
|
1273 |
|
Moved <a href="dreamcast.html#netbsd_generic_md">here</a>. |
1274 |
|
|
1275 |
|
|
1276 |
|
|
1277 |
|
|
1278 |
|
|
1500 |
|
|
1501 |
|
|
1502 |
<p><br> |
<p><br> |
1503 |
|
<a name="openbsdlandiskinstall"></a> |
1504 |
|
<h3>OpenBSD/landisk:</h3> |
1505 |
|
|
1506 |
|
It is possible to install and run |
1507 |
|
<a href="http://www.openbsd.org/landisk.html">OpenBSD/landisk</a> |
1508 |
|
in GXemul. |
1509 |
|
|
1510 |
|
<p> |
1511 |
|
<a href="20070419-openbsd-landisk.png"><img src="20070419-openbsd-landisk_small.png"></a> |
1512 |
|
|
1513 |
|
<p>To install OpenBSD/landisk onto an emulated harddisk image, |
1514 |
|
follow these instructions: |
1515 |
|
|
1516 |
|
<p> |
1517 |
|
<ol> |
1518 |
|
<li>Create an empty harddisk image, which will be the root disk |
1519 |
|
that OpenBSD installs itself onto:<pre> |
1520 |
|
<b>dd if=/dev/zero of=obsd_landisk.img bs=1024 count=1 seek=2000000</b> |
1521 |
|
|
1522 |
|
</pre> |
1523 |
|
<li>Download the entire landisk directory from the ftp server:<pre> |
1524 |
|
<b>wget -np -l 0 -r <a href="ftp://ftp.se.openbsd.org/pub/OpenBSD/4.1/landisk/">ftp://ftp.se.openbsd.org/pub/OpenBSD/4.1/landisk/</a></b> |
1525 |
|
<b>cp ftp.se.openbsd.org/pub/OpenBSD/4.1/landisk/bsd .</b> |
1526 |
|
<b>cp ftp.se.openbsd.org/pub/OpenBSD/4.1/landisk/bsd.rd .</b> |
1527 |
|
|
1528 |
|
</pre> |
1529 |
|
(Replace ftp.se.openbsd.org with a server closer to you, for |
1530 |
|
increased download speed.) |
1531 |
|
<p> |
1532 |
|
<li>You now need to make an ISO image of the entire directory you downloaded. |
1533 |
|
(I recommend using <tt>mkisofs</tt> for that purpose. If you don't |
1534 |
|
already have <tt>mkisofs</tt> installed on your system, you need |
1535 |
|
to install it in order to do this.)<pre> |
1536 |
|
<b>mkisofs -U -o openbsd_landisk_4.1.iso ftp.se.openbsd.org/pub/OpenBSD/</b> |
1537 |
|
<b>rm -rf ftp.se.openbsd.org</b> <i>(this directory is not needed anymore)</i> |
1538 |
|
|
1539 |
|
</pre> |
1540 |
|
<li>Start the emulator using this command line:<pre> |
1541 |
|
<b>gxemul -x -E landisk -d obsd_landisk.img -d d:openbsd_landisk_4.1.iso bsd.rd</b> |
1542 |
|
|
1543 |
|
</pre> |
1544 |
|
and proceed like you would do if you were installing OpenBSD |
1545 |
|
on a real landisk. The following hints are useful to get you |
1546 |
|
through the installation: |
1547 |
|
<ul> |
1548 |
|
<li>Terminal type = <b>xterm</b> |
1549 |
|
<li>root disk = <b>wd0</b> (the disk to install onto) |
1550 |
|
<li>Use the entire disk for OpenBSD = <b>yes</b> |
1551 |
|
<li>Create one big root partition (a) and a small swap partition (b). c is the entire disk. |
1552 |
|
<li>Do <b>not</b> configure the network. (The Realtek NIC |
1553 |
|
found in the Landisk machine is not implemented yet |
1554 |
|
in the emulator.) |
1555 |
|
<li>Location of sets = <b>disk</b> |
1556 |
|
<li>Is the disk partition already mounted = <b>no</b> |
1557 |
|
<li>Disk containing the install media = <b>wd1</b> |
1558 |
|
<li>Pathname to the sets = <b>4.1/landisk</b> |
1559 |
|
</ul> |
1560 |
|
</ol> |
1561 |
|
|
1562 |
|
<p>Once the install has finished, the following command should let you |
1563 |
|
boot from the disk image: |
1564 |
|
|
1565 |
|
<p><pre> |
1566 |
|
<b>gxemul -x -E landisk -d obsd_landisk.img bsd</b> |
1567 |
|
|
1568 |
|
</pre> |
1569 |
|
|
1570 |
|
<p>As with most emulation modes in GXemul, the NIC in this machine is |
1571 |
|
not emulated yet. If you want to transfer files to/from the emulated |
1572 |
|
landisk machine, see |
1573 |
|
<a href="misc.html#filexfer">this chapter</a> in the documentation. |
1574 |
|
|
1575 |
|
|
1576 |
|
|
1577 |
|
|
1578 |
|
|
1579 |
|
|
1580 |
|
|
1581 |
|
<p><br> |
1582 |
<a name="ultrixinstall"></a> |
<a name="ultrixinstall"></a> |
1583 |
<h3>Ultrix/RISC:</h3> |
<h3>Ultrix/RISC:</h3> |
1584 |
|
|
1793 |
</pre> |
</pre> |
1794 |
<li>Download David Muse' install kernel, and a Debian Netinstall CD-ROM:<pre> |
<li>Download David Muse' install kernel, and a Debian Netinstall CD-ROM:<pre> |
1795 |
<a href="http://www.firstworks.com/mips-linux-2.4.31/vmlinux-2.4.31">http://www.firstworks.com/mips-linux-2.4.31/vmlinux-2.4.31</a> |
<a href="http://www.firstworks.com/mips-linux-2.4.31/vmlinux-2.4.31">http://www.firstworks.com/mips-linux-2.4.31/vmlinux-2.4.31</a> |
1796 |
<a href="http://cdimage.debian.org/debian-cd/3.1_r0a/mipsel/iso-cd/debian-31r0a-mipsel-netinst.iso">http://cdimage.debian.org/debian-cd/3.1_r0a/mipsel/iso-cd/debian-31r0a-mipsel-netinst.iso</a> |
<a href="http://cdimage.debian.org/cdimage/archive/3.1_r6a/mipsel/iso-cd/">http://cdimage.debian.org/cdimage/archive/3.1_r6a/mipsel/iso-cd</a>/<a href="http://cdimage.debian.org/cdimage/archive/3.1_r6a/mipsel/iso-cd/debian-31r6a-mipsel-netinst.iso">debian-31r6a-mipsel-netinst.iso</a> |
1797 |
|
|
1798 |
</pre> |
</pre> |
|
<font color="#ff0000">NOTE 2007-04-14: It seems that the ISO image |
|
|
has been removed from the cdimage site. You may need to search |
|
|
for it elsewhere. :-/ Alternatively, you can follow |
|
|
Michel Lespinasse's instructions at |
|
|
<a href="http://people.zoy.org/~walken/gxemul-etch/HOWTO.html">http://people.zoy.org/~walken/gxemul-etch/HOWTO.html</a>.</font> |
|
1799 |
<p> |
<p> |
1800 |
<li>Start the installation like this:<pre> |
<li>Start the installation like this:<pre> |
1801 |
<b>gxemul -X -e3max -d debian_pmax.img -d debian-31r0a-mipsel-netinst.iso vmlinux-2.4.31</b> |
<b>gxemul -X -e3max -d debian_pmax.img -d debian-31r6a-mipsel-netinst.iso vmlinux-2.4.31</b> |
1802 |
</pre> |
</pre> |
1803 |
|
|
1804 |
<p>If everything goes well, you will see Linux' boot messages, and then |
<p>If everything goes well, you will see Linux' boot messages, and then |
1995 |
<b>dd if=/dev/zero of=redhat_mips.img bs=1024 count=1 seek=2000000</b> |
<b>dd if=/dev/zero of=redhat_mips.img bs=1024 count=1 seek=2000000</b> |
1996 |
|
|
1997 |
</pre> |
</pre> |
1998 |
|
<!-- |
1999 |
|
dd if=/dev/zero of=/dev/stdout bs=1024 count=200 >> mipsel-root-20011216.tgz |
2000 |
|
gxemul -XY2 -e3max -d redhat_mips.img -d mipsel-root-20011216.tgz vmlinux-2.4.31 |
2001 |
|
In the three dialogs, choose English, United States, and Continue. |
2002 |
|
Then choose Execute a shell. |
2003 |
|
tar xfvz /dev/scsi/host0/bus0/target1/lun0/disc sbin/mke2fs sbin/fdisk |
2004 |
|
fdisk |
2005 |
|
--> |
2006 |
<li>This is the tricky part: on redhat_mips.img, you need to create an MS-DOS |
<li>This is the tricky part: on redhat_mips.img, you need to create an MS-DOS |
2007 |
(!) partition table, and then an ext2 partition. This is what Linux |
(!) partition table, and then an ext2 partition. This is what Linux |
2008 |
will then see as /dev/sda1. |
will then see as /dev/sda1. |
2064 |
mailed Adaptec several times, asking for documentation, but never received |
mailed Adaptec several times, asking for documentation, but never received |
2065 |
any reply.) OpenBSD/sgi can still run in the emulator, as long as it doesn't |
any reply.) OpenBSD/sgi can still run in the emulator, as long as it doesn't |
2066 |
use SCSI. For a simple test with the ramdisk (install) kernel, try dowloading<pre> |
use SCSI. For a simple test with the ramdisk (install) kernel, try dowloading<pre> |
2067 |
<a href="ftp://ftp.se.openbsd.org/pub/OpenBSD/3.9/sgi/">ftp://ftp.se.openbsd.org/pub/OpenBSD/3.9/sgi</a>/<a href="ftp://ftp.se.openbsd.org/pub/OpenBSD/3.9/sgi/bsd.rd">bsd.rd</a> |
<a href="ftp://ftp.se.openbsd.org/pub/OpenBSD/4.0/sgi/">ftp://ftp.se.openbsd.org/pub/OpenBSD/4.0/sgi</a>/<a href="ftp://ftp.se.openbsd.org/pub/OpenBSD/4.0/sgi/bsd.rd">bsd.rd</a> |
2068 |
|
|
2069 |
</pre>and run <b><tt>gxemul -xeo2 bsd.rd</tt></b>. |
</pre>and run <b><tt>gxemul -xeo2 bsd.rd</tt></b>. |
2070 |
|
|
2106 |
<table border="0"><tr><td><tt> </tt></td><td><pre> |
<table border="0"><tr><td><tt> </tt></td><td><pre> |
2107 |
<b>cd /tftpboot; ftp -i ftp.se.openbsd.org</b> |
<b>cd /tftpboot; ftp -i ftp.se.openbsd.org</b> |
2108 |
(log in as anonymous...) |
(log in as anonymous...) |
2109 |
<b>cd pub/OpenBSD/3.9/sgi |
<b>cd pub/OpenBSD/4.0/sgi |
2110 |
mget b*tgz c*tgz e* g* m* |
mget b*tgz c*tgz e* g* m* |
2111 |
quit |
quit |
2112 |
sh |
sh |
2117 |
halt</b> |
halt</b> |
2118 |
</pre></td></tr></table> |
</pre></td></tr></table> |
2119 |
<li>Download the OpenBSD/sgi GENERIC and RAMDISK kernels:<pre> |
<li>Download the OpenBSD/sgi GENERIC and RAMDISK kernels:<pre> |
2120 |
<a href="ftp://ftp.se.openbsd.org/pub/OpenBSD/3.9/sgi/bsd">ftp://ftp.se.openbsd.org/pub/OpenBSD/3.9/sgi/bsd</a> |
<a href="ftp://ftp.se.openbsd.org/pub/OpenBSD/4.0/sgi/bsd">ftp://ftp.se.openbsd.org/pub/OpenBSD/4.0/sgi/bsd</a> |
2121 |
<a href="ftp://ftp.se.openbsd.org/pub/OpenBSD/3.9/sgi/bsd.rd">ftp://ftp.se.openbsd.org/pub/OpenBSD/3.9/sgi/bsd.rd</a> |
<a href="ftp://ftp.se.openbsd.org/pub/OpenBSD/4.0/sgi/bsd.rd">ftp://ftp.se.openbsd.org/pub/OpenBSD/4.0/sgi/bsd.rd</a> |
2122 |
|
|
2123 |
</pre> |
</pre> |
2124 |
<li>Create a configuration file called <tt>config_client</tt>: |
<li>Create a configuration file called <tt>config_client</tt>: |
2128 |
! |
! |
2129 |
! This config file is for the client.</font> |
! This config file is for the client.</font> |
2130 |
|
|
2131 |
<b> net( |
<b>net( |
2132 |
add_remote("localhost:12444") </b>! the server<b> |
add_remote("localhost:12444") </b>! the server<b> |
2133 |
local_port(12445) </b>! the client<b> |
local_port(12445) </b>! the client<b> |
2134 |
) |
) |
2135 |
|
|
2136 |
machine( |
machine( |
2137 |
name("client machine") |
name("client machine") |
2138 |
serial_nr(1) |
serial_nr(1) |
2139 |
|
|
2142 |
|
|
2143 |
</b>! load("bsd")<b> |
</b>! load("bsd")<b> |
2144 |
load("bsd.rd") |
load("bsd.rd") |
2145 |
) |
) |
2146 |
</b> |
</b> |
2147 |
</pre></td></tr></table> |
</pre></td></tr></table> |
2148 |
... and another configuration file for the server, |
... and another configuration file for the server, |
2149 |
<tt>config_server</tt>: |
<tt>config_server</tt>: |
2150 |
<table border="0"><tr><td><tt> </tt></td><td><pre> |
<table border="0"><tr><td><tt> </tt></td><td><pre> |
2151 |
<b> net( |
<b>net( |
2152 |
local_port(12444) </b>! the server<b> |
local_port(12444) </b>! the server<b> |
2153 |
add_remote("localhost:12445") </b>! the client<b> |
add_remote("localhost:12445") </b>! the client<b> |
2154 |
) |
) |
2155 |
|
|
2156 |
machine( |
machine( |
2157 |
name("nfs server") |
name("nfs server") |
2158 |
serial_nr(2) |
serial_nr(2) |
2159 |
|
|
2161 |
subtype("5000/200") |
subtype("5000/200") |
2162 |
|
|
2163 |
disk("nbsd_pmax.img") |
disk("nbsd_pmax.img") |
2164 |
) |
) |
2165 |
</b> |
</b> |
2166 |
</pre></td></tr></table> |
</pre></td></tr></table> |
2167 |
<li>Boot the "<tt>nfs server</tt>" and the OpenBSD/sgi |
<li>Boot the "<tt>nfs server</tt>" and the OpenBSD/sgi |
2429 |
<a name="linux_qemu_mips"></a> |
<a name="linux_qemu_mips"></a> |
2430 |
<h3>Linux/QEMU_MIPS:</h3> |
<h3>Linux/QEMU_MIPS:</h3> |
2431 |
|
|
2432 |
I've added a semi-bogus machine mode which tries to |
I've added a machine mode which emulates the MIPS machine mode used |
2433 |
mimic the MIPS machine mode used in Fabrice Bellard's |
in Fabrice Bellard's <a href="http://www.qemu.com/">QEMU</a>. |
2434 |
<a href="http://fabrice.bellard.free.fr/qemu/">QEMU</a>. |
Starting with QEMU 0.9.0, there are other MIPS modes in QEMU (i.e. Malta); |
2435 |
|
the QEMU_MIPS mode in GXemul refers to the old QEMU-specific MIPS machine. |
2436 |
<p>Download <a href="http://fabrice.bellard.free.fr/qemu/mips-test-0.1.tar.gz">mips-test-0.1.tar.gz</a> |
|
2437 |
from <a href="http://fabrice.bellard.free.fr/qemu/download.html">http://fabrice.bellard.free.fr/qemu/download.html</a>, |
<p>The following steps should let you boot into the Linux/QEMU_MIPS |
2438 |
and extract its contents (<tt>tar zxvf mips-test-0.1.tar.gz</tt>). |
kernel, in way similar to the <tt>run-qemu</tt> script: |
2439 |
|
|
2440 |
<p>Test it in GXemul using the following command line:<pre> |
<p> |
2441 |
<b>gxemul -E qemu_mips -o 'console=ttyS0 root=/dev/ram |
<ol> |
2442 |
|
<li>Download the archive from |
2443 |
|
<a href="http://fabrice.bellard.free.fr/qemu/download.html">http://fabrice.bellard.free.fr/qemu/download.html</a> and extract it:<pre> |
2444 |
|
<b>wget <a href="http://fabrice.bellard.free.fr/qemu/mips-test-0.2.tar.gz">http://fabrice.bellard.free.fr/qemu/mips-test-0.2.tar.gz</a> |
2445 |
|
tar zxvf mips-test-0.2.tar.gz</b> |
2446 |
|
|
2447 |
|
</pre> |
2448 |
|
<li>Start GXemul using the following command line:<pre> |
2449 |
|
<b>gxemul -E qemu_mips -x -M 128 -o 'console=ttyS0 |
2450 |
rd_start=0x80800000 rd_size=10000000 init=/bin/sh' |
rd_start=0x80800000 rd_size=10000000 init=/bin/sh' |
2451 |
0x80800000:mips-test/initrd mips-test/vmlinux-r1</b> |
0x80800000:mips-test/initrd.gz mips-test/vmlinux-2.6.18-3-qemu</b> |
2452 |
|
|
2453 |
</pre> |
</pre> |
2454 |
</ol> |
</ol> |
2485 |
<p> |
<p> |
2486 |
<li>Create an empty harddisk image, which will be the disk image |
<li>Create an empty harddisk image, which will be the disk image |
2487 |
that you will install Windows NT onto:<pre> |
that you will install Windows NT onto:<pre> |
2488 |
$ <b><tt>dd if=/dev/zero of=winnt_test.img bs=1024 count=1 seek=999000</tt></b> |
<b><tt>dd if=/dev/zero of=winnt_test.img bs=1024 count=1 seek=999000</tt></b> |
2489 |
|
|
2490 |
</pre> |
</pre> |
2491 |
<li>Run the ARC installer, to partition the disk image:<pre> |
<li>Run the ARC installer, to partition the disk image:<pre> |
2492 |
$ <b><tt>gxemul -X -e pica -d winnt_test.img -d bc6:/dev/cd0c -j MIPS\\ARCINST</tt></b> |
<b><tt>gxemul -X -e pica -d winnt_test.img -d bc6:/dev/cd0c -j MIPS\\ARCINST</tt></b> |
2493 |
</pre> |
</pre> |
2494 |
Note that <tt>ARCINST</tt> <i>almost</i> works, but not quite. |
Note that <tt>ARCINST</tt> <i>almost</i> works, but not quite. |
2495 |
<p> |
<p> |
2496 |
<li>Run the SETUP program:<pre> |
<li>Run the SETUP program:<pre> |
2497 |
$ <b><tt>gxemul -X -e pica -d winnt_test.img -d bc6:/dev/cd0c -j MIPS\\SETUPLDR</tt></b> |
<b><tt>gxemul -X -e pica -d winnt_test.img -d bc6:/dev/cd0c -j MIPS\\SETUPLDR</tt></b> |
2498 |
</pre> |
</pre> |
2499 |
</ol> |
</ol> |
2500 |
|
|
2513 |
<h3>NetBSD/bebox:</h3> |
<h3>NetBSD/bebox:</h3> |
2514 |
|
|
2515 |
There is an old snapshot of |
There is an old snapshot of |
2516 |
<a href="http://www.netbsd.org/Ports/bebox/">NetBSD/bebox</a> |
<a href="http://www.netbsd.org/ports/bebox/">NetBSD/bebox</a> |
2517 |
from 1998-11-19 available at NetBSD's ftp server. NetBSD/bebox |
from 1998-11-19 available at NetBSD's ftp server. NetBSD/bebox |
2518 |
could theoretically run in GXemul. |
could theoretically run in GXemul. |
2519 |
<font color="#ff0000">IT DOES <b>NOT</b> WORK RIGHT NOW!</font> |
<font color="#ff0000">IT DOES <b>NOT</b> WORK RIGHT NOW!</font> |
2597 |
<a name="netbsdlandiskinstall"></a> |
<a name="netbsdlandiskinstall"></a> |
2598 |
<h3>NetBSD/landisk:</h3> |
<h3>NetBSD/landisk:</h3> |
2599 |
|
|
2600 |
<a href="http://www.netbsd.org/Ports/landisk/">NetBSD/landisk</a> can |
<a href="http://www.netbsd.org/ports/landisk/">NetBSD/landisk</a> can |
2601 |
run in GXemul. |
run in GXemul. |
2602 |
|
|
2603 |
<p><font color="#ff0000">NOTE: This is still too |
<p><font color="#ff0000">NOTE: This is still too |
2604 |
unstable to be considered really working!</font> |
unstable to be considered really working! Snapshots from April 2007 |
2605 |
|
or so will probably not work, unless an #if 0 is changed to |
2606 |
|
#if 1 in the implementation of the 'LDC Rm,SR' instruction |
2607 |
|
(in src/cpus/cpu_sh_instr.c).</font> |
2608 |
|
|
2609 |
<p> |
<p> |
2610 |
<a href="20070224-netbsd-landisk.png"><img src="20070224-netbsd-landisk_small.png"></a> |
<a href="20070224-netbsd-landisk.png"><img src="20070224-netbsd-landisk_small.png"></a> |
2632 |
<p> |
<p> |
2633 |
<li>Download the latest netbsd-4 (pre-release) snapshot, and make an iso image |
<li>Download the latest netbsd-4 (pre-release) snapshot, and make an iso image |
2634 |
of it: (replace 200704110002Z with whatever is the latest one)<pre> |
of it: (replace 200704110002Z with whatever is the latest one)<pre> |
2635 |
<b>wget -np -l 0 -r ftp://ftp.netbsd.org/pub/NetBSD-daily/netbsd-4/200704110002Z/landisk |
<b>wget -np -l 0 -r <a href="ftp://ftp.netbsd.org/pub/NetBSD-daily/netbsd-4/">ftp://ftp.netbsd.org/pub/NetBSD-daily/netbsd-4/</a>200704110002Z/landisk |
2636 |
|
cp ftp.netbsd.org/pub/NetBSD-daily/*/*/landisk/binary/kernel/netbsd-GENERIC.gz . |
2637 |
mkisofs -U -o landisk.iso ftp.netbsd.org/pub/NetBSD-daily/netbsd-4/*</b> |
mkisofs -U -o landisk.iso ftp.netbsd.org/pub/NetBSD-daily/netbsd-4/*</b> |
2638 |
</pre> |
</pre> |
2639 |
|
|
2665 |
</pre> |
</pre> |
2666 |
|
|
2667 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p><br> |
|
|
<a name="openbsdlandiskinstall"></a> |
|
|
<h3>OpenBSD/landisk:</h3> |
|
|
|
|
|
It is possible to install and run |
|
|
<a href="http://www.openbsd.org/landisk.html">OpenBSD/landisk</a> |
|
|
in GXemul. There is at the time of writing this no stable release |
|
|
yet of OpenBSD/landisk, but there are snapshots available on the |
|
|
OpenBSD ftp site. |
|
|
|
|
|
<p><font color="#ff0000">NOTE: This is still too |
|
|
unstable to be considered really working!</font> |
|
|
|
|
|
<p>To install OpenBSD/landisk onto an emulated harddisk image, |
|
|
follow these instructions: |
|
|
|
|
|
<p> |
|
|
<ol> |
|
|
<li>Create an empty harddisk image, which will be the root disk |
|
|
that OpenBSD installs itself onto:<pre> |
|
|
<b>dd if=/dev/zero of=obsd_landisk.img bs=1024 count=1 seek=900000</b> |
|
|
|
|
|
</pre> |
|
|
<li>Download the entire landisk directory from the ftp server:<pre> |
|
|
<b>wget -np -l 0 -r <a href="ftp://ftp.se.openbsd.org/pub/OpenBSD/snapshots/landisk/">ftp://ftp.se.openbsd.org/pub/OpenBSD/snapshots/landisk/</a></b> |
|
|
<b>cp ftp.se.openbsd.org/pub/OpenBSD/snapshots/landisk/bsd .</b> |
|
|
<b>cp ftp.se.openbsd.org/pub/OpenBSD/snapshots/landisk/bsd.rd .</b> |
|
|
|
|
|
</pre> |
|
|
(Replace ftp.se.openbsd.org with a server closer to you, for |
|
|
increased download speed.) |
|
|
<p> |
|
|
<li>You now need to make an ISO image of the entire directory you downloaded. |
|
|
(I recommend using <tt>mkisofs</tt> for that purpose. If you don't |
|
|
already have <tt>mkisofs</tt> installed on your system, you need |
|
|
to install it in order to do this.)<pre> |
|
|
<b>mkisofs -allow-lowercase -o openbsd_landisk_snapshot.iso ftp.se.openbsd.org/pub/OpenBSD/</b> |
|
|
<b>rm -rf ftp.se.openbsd.org</b> <i>(this directory is not needed anymore)</i> |
|
|
|
|
|
</pre> |
|
|
<li>Start the emulator using this command line:<pre> |
|
|
<b>gxemul -x -Elandisk -d obsd_landisk.img -d d:openbsd_landisk_snapshot.iso bsd.rd</b> |
|
|
|
|
|
</pre> |
|
|
and proceed like you would do if you were installing OpenBSD |
|
|
on a real landisk. The following hints are useful to get you |
|
|
through the installation: |
|
|
<ul> |
|
|
<li>Terminal type = <b>xterm</b> |
|
|
<li>root disk = <b>wd0</b> (the disk to install onto) |
|
|
<li>Use the entire disk for OpenBSD = <b>yes</b> |
|
|
<li>Create one big root partition (a) and a small swap partition (b). c is the entire disk. |
|
|
<li>Do <b>not</b> configure the network. |
|
|
<li>Location of sets = <b>disk</b> |
|
|
<li>Is the disk partition already mounted = <b>no</b> |
|
|
<li>Disk containing the install media = <b>wd1</b> |
|
|
<li>Pathname to the sets = <b>snapshot/landisk</b> |
|
|
</ul> |
|
|
</ol> |
|
|
|
|
|
<p>Once the install has finished, the following command should let you |
|
|
boot from the disk image: |
|
|
|
|
|
<p><pre> |
|
|
<b>gxemul -x -E landisk -d obsd_landisk.img bsd</b> |
|
|
|
|
|
</pre> |
|
|
|
|
|
|
|
2668 |
|
|
2669 |
|
|
2670 |
|
|