/[gxemul]/trunk/doc/guestoses.html
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/doc/guestoses.html

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

revision 41 by dpavlin, Mon Oct 8 16:22:11 2007 UTC revision 42 by dpavlin, Mon Oct 8 16:22:32 2007 UTC
# Line 10  Line 10 
10    
11  <!--  <!--
12    
13  $Id: guestoses.html,v 1.219 2007/05/01 04:03:34 debug Exp $  $Id: guestoses.html,v 1.226 2007/06/15 06:26:19 debug Exp $
14    
15  Copyright (C) 2003-2007  Anders Gavare.  All rights reserved.  Copyright (C) 2003-2007  Anders Gavare.  All rights reserved.
16    
# Line 60  SUCH DAMAGE. Line 60  SUCH DAMAGE.
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 3.1</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>
# Line 131  GXemul's machine, device, and/or process Line 132  GXemul's machine, device, and/or process
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
# Line 154  serial-console emulation, then choose 3. Line 155  serial-console emulation, then choose 3.
155  <p>To install NetBSD/pmax onto a harddisk image in the emulator,  <p>To install NetBSD/pmax onto a harddisk image in the emulator,
156  follow these instructions:  follow these instructions:
157    
158  <p><ol start="1">  <p><ol>
159    <li>Create an empty harddisk image, which will be the root disk    <li>Create an empty harddisk image, which will be the root disk
160          that NetBSD installs itself onto:<pre>          that NetBSD installs itself onto:<pre>
161          <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>
162    
163  </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">  
   
164    <li>Download a NetBSD CD-ROM iso image:<pre>    <li>Download a NetBSD CD-ROM iso image:<pre>
165          <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/NetBSD-archive/iso/1.6.2/pmaxcd.iso">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/iso/1.6.2/pmaxcd.iso</a>
166          or          or
# Line 178  steps: Line 168  steps:
168    
169  </pre>  </pre>
170    <li>Start the emulator like this:<pre>    <li>Start the emulator like this:<pre>
171          <b>gxemul -e 3max -d nbsd_pmax.img -d bc:pmaxcd-3.1.iso</b>          <b>gxemul -e 3max -d nbsd_pmax.img -d b:pmaxcd-3.1.iso</b>
172          (or <b>pmaxcd.iso</b>)          (or <b>pmaxcd.iso</b>)
173  </pre>  </pre>
174          and proceed like you would do if you were installing NetBSD on a real          and proceed like you would do if you were installing NetBSD on a real
175          DECstation. Remember to choose <tt>vt100</tt> as your terminal          DECstation. Remember to choose <tt>vt100</tt> as your terminal
176          type, and not <tt>rcons</tt>.          type, and not <tt>rcons</tt>.
177  </ol>  </ol>
178    
179    <p>If you prefer to do an ftp install (usually much slower), you can
180    follow these instructions instead:
181    
182  <p>  <p>
183  For an ftp install, substitute steps 2 and 3 above with these:  <ol>
184  <p>    <li>Create an empty harddisk image, which will be the root disk
185  <ol start="2">          that NetBSD installs itself onto:<pre>
186            <b>dd if=/dev/zero of=nbsd_pmax.img bs=1024 count=1 seek=3000000</b>
187    
188    </pre>
189    <li>Download a NetBSD pmax INSTALL kernel:<pre>    <li>Download a NetBSD pmax INSTALL kernel:<pre>
190          <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>          <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>
191          or          or
# Line 249  and log in as <tt>root</tt> and type <tt Line 245  and log in as <tt>root</tt> and type <tt
245  <h3>NetBSD/arc:</h3>  <h3>NetBSD/arc:</h3>
246    
247  It is possible to install and run an old version of <a  It is possible to install and run an old version of <a
248  href="http://www.netbsd.org/Ports/arc/">NetBSD/arc</a>  href="http://www.netbsd.org/ports/arc/">NetBSD/arc</a>
249  on an emulated Acer PICA-61 in the emulator.  on an emulated Acer PICA-61 in the emulator.
250    
251  <p>  <p>
# Line 274  harddisk image, follow these instruction Line 270  harddisk image, follow these instruction
270    
271  </pre>  </pre>
272    <li>Start the emulator using this command line:<pre>    <li>Start the emulator using this command line:<pre>
273          <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 -j arc/binary/kernel/netbsd.RAMDISK.gz</b>
274    
275  </pre>  </pre>
276          (Try removing <tt>-x</tt> if you have problems with the xterm.)          (Try removing <tt>-x</tt> if you have problems with the xterm.)
# Line 320  image, using the following command:<pre> Line 316  image, using the following command:<pre>
316  <h3>NetBSD/hpcmips:</h3>  <h3>NetBSD/hpcmips:</h3>
317    
318  It is possible to install <a  It is possible to install <a
319  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
320  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
321  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
322  have unaligned framebuffers, and run a bit slower.)  have unaligned framebuffers, and run a bit slower.)
# Line 379  is available. This makes it a bit akward Line 375  is available. This makes it a bit akward
375  <a name="netbsdcobaltinstall"></a>  <a name="netbsdcobaltinstall"></a>
376  <h3>NetBSD/cobalt:</h3>  <h3>NetBSD/cobalt:</h3>
377    
378  <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
379  to install, because the Cobalt machines were designed for Linux, and not  to install, because the Cobalt machines were designed for Linux, and not
380  very flexible. There is no traditional INSTALL kernel for NetBSD/cobalt.  very flexible. There is no traditional INSTALL kernel for NetBSD/cobalt.
381  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
# Line 454  generic kernel:<pre> Line 450  generic kernel:<pre>
450  <a name="netbsdevbmipsinstall"></a>  <a name="netbsdevbmipsinstall"></a>
451  <h3>NetBSD/evbmips:</h3>  <h3>NetBSD/evbmips:</h3>
452    
453  <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
454  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
455  4Kc (MIPS32) processor. 5Kc is the default.  4Kc (MIPS32) processor. 5Kc is the default.
456    
# Line 547  generic kernel:<pre> Line 543  generic kernel:<pre>
543  <a name="netbsdalgorinstall"></a>  <a name="netbsdalgorinstall"></a>
544  <h3>NetBSD/algor:</h3>  <h3>NetBSD/algor:</h3>
545    
546  <a href="http://www.netbsd.org/Ports/algor/">NetBSD/algor</a> can  <a href="http://www.netbsd.org/ports/algor/">NetBSD/algor</a> can
547  run in GXemul on an emulated Algorithmics P5064 evaluation board.  run in GXemul on an emulated Algorithmics P5064 evaluation board.
548    
549  <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
# Line 629  generic kernel:<pre> Line 625  generic kernel:<pre>
625  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
626  <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>
627    
628  <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
629  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
630  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
631  several times, asking for documentation, but never received any reply.)  several times, asking for documentation, but never received any reply.)
# Line 697  reboot</b> Line 693  reboot</b>
693          DECstation disk image:          DECstation disk image:
694  <p><table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>  <p><table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>
695  <b>cd /tftpboot; mount /dev/cd0a /mnt  <b>cd /tftpboot; mount /dev/cd0a /mnt
696  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
697  echo 10.0.0.2:/tftpboot / nfs rw 0 0 &gt; /tftpboot/etc/fstab  echo 10.0.0.2:/tftpboot / nfs rw 0 0 &gt; /tftpboot/etc/fstab
698  echo rc_configured=YES &gt;&gt; /tftpboot/etc/rc.conf  echo rc_configured=YES &gt;&gt; /tftpboot/etc/rc.conf
699  echo 10.0.0.254 &gt;&gt; /tftpboot/etc/mygate  echo 10.0.0.254 &gt;&gt; /tftpboot/etc/mygate
# Line 712  cd /; umount /mnt; halt</b> Line 708  cd /; umount /mnt; halt</b>
708  <font color="#2020cf">!  Configuration file for running NetBSD/sgimips diskless with  <font color="#2020cf">!  Configuration file for running NetBSD/sgimips diskless with
709  !  a NetBSD/pmax machine as the nfs server.</font>  !  a NetBSD/pmax machine as the nfs server.</font>
710    
711  <b>    net(  <b>net(
712          add_remote("localhost:12444")   </b>! the server<b>          add_remote("localhost:12444")   </b>! the server<b>
713          local_port(12445)               </b>! the client<b>          local_port(12445)               </b>! the client<b>
714      )  )
715    
716      machine(  machine(
717          name("client machine")          name("client machine")
718          serial_nr(1)          serial_nr(1)
719    
# Line 726  cd /; umount /mnt; halt</b> Line 722  cd /; umount /mnt; halt</b>
722    
723          load("netbsd-INSTALL32_IP3x.gz")</b>          load("netbsd-INSTALL32_IP3x.gz")</b>
724          ! load("netbsd-GENERIC32_IP3x.gz")<b>          ! load("netbsd-GENERIC32_IP3x.gz")<b>
725      )  )
726  </b>  </b>
727  </pre></td></tr></table>  </pre></td></tr></table>
728          ... and another configuration file for the server,          ... and another configuration file for the server,
729          <tt>config_server</tt>:          <tt>config_server</tt>:
730  <table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>  <table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>
731  <b>    net(  <b>net(
732          local_port(12444)               </b>! the server<b>          local_port(12444)               </b>! the server<b>
733          add_remote("localhost:12445")   </b>! the client<b>          add_remote("localhost:12445")   </b>! the client<b>
734      )  )
735    
736      machine(  machine(
737          name("nfs server")          name("nfs server")
738          serial_nr(2)          serial_nr(2)
739    
# Line 745  cd /; umount /mnt; halt</b> Line 741  cd /; umount /mnt; halt</b>
741          subtype("5000/200")          subtype("5000/200")
742    
743          disk("nbsd_pmax.img")          disk("nbsd_pmax.img")
744      )  )
745  </b>  </b>
746  </pre></td></tr></table>  </pre></td></tr></table>
747    <li>Boot the "<tt>nfs server</tt>" and the NetBSD/sgimips    <li>Boot the "<tt>nfs server</tt>" and the NetBSD/sgimips
# Line 812  to IPv4. Line 808  to IPv4.
808  <h3>NetBSD/cats:</h3>  <h3>NetBSD/cats:</h3>
809    
810  It is possible to install and run  It is possible to install and run
811  <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.
812    
813  <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
814  <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>
# Line 863  Use the following command line to boot t Line 859  Use the following command line to boot t
859  <a name="netbsdevbarminstall"></a>  <a name="netbsdevbarminstall"></a>
860  <h3>NetBSD/evbarm:</h3>  <h3>NetBSD/evbarm:</h3>
861    
862  <a href="http://www.netbsd.org/Ports/evbarm/">NetBSD/evbarm</a> can  <a href="http://www.netbsd.org/ports/evbarm/">NetBSD/evbarm</a> can
863  run in GXemul on an emulated IQ80321 evaluation board.  run in GXemul on an emulated IQ80321 evaluation board.
864    
865  <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
# Line 932  cd /; umount /mnt; umount /mnt2; sync; h Line 928  cd /; umount /mnt; umount /mnt2; sync; h
928  <h3>NetBSD/netwinder:</h3>  <h3>NetBSD/netwinder:</h3>
929    
930  It is possible to run <a  It is possible to run <a
931  href="http://www.netbsd.org/Ports/netwinder/">NetBSD/netwinder</a>  href="http://www.netbsd.org/ports/netwinder/">NetBSD/netwinder</a>
932  in GXemul.  in GXemul.
933    
934  <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
# Line 1029  generic kernel:<pre> Line 1025  generic kernel:<pre>
1025  <h3>NetBSD/prep:</h3>  <h3>NetBSD/prep:</h3>
1026    
1027  It is possible to install and run <a  It is possible to install and run <a
1028  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
1029  an emulated IBM 6050 (PowerPC) machine. (Newer versions of NetBSD/prep use  an emulated IBM 6050 (PowerPC) machine. (Newer versions of NetBSD/prep use
1030  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
1031  there are bugs in GXemul's PowerPC CPU emulation.)  there are bugs in GXemul's PowerPC CPU emulation.)
# Line 1130  system type, and init path. Line 1126  system type, and init path.
1126  <h3>NetBSD/macppc:</h3>  <h3>NetBSD/macppc:</h3>
1127    
1128  It is possible to install and run <a  It is possible to install and run <a
1129  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
1130  an emulated generic PowerPC machine. No specific Machintosh model is  an emulated generic PowerPC machine. No specific Machintosh model is
1131  emulated, but it is enough to for NetBSD to recognize it.  emulated, but it is enough to for NetBSD to recognize it.
1132    
# Line 1190  the disk image. Line 1186  the disk image.
1186    
1187    
1188    
1189    <p><br>
1190    <a name="netbsdpmppc"></a>
1191    <h3>NetBSD/pmppc:</h3>
1192    
1193    <p><a href="http://www.netbsd.org/ports/pmppc/">NetBSD/pmppc</a> can
1194    run in GXemul on an emulated Artesyn PM/PPC board. Currently, no SCSI or other
1195    disk controller is emulated for this machine type, but it is possible to run
1196    NetBSD with root-on-nfs.
1197    
1198  <p><br>  <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1199  <a name="netbsddreamcast"></a>  <a href="20070616-netbsd-pmppc-diskless.png"><img src="20070616-netbsd-pmppc-diskless_small.png"></a>
 <h3>NetBSD/dreamcast:</h3>  
1200    
1201  Moved <a href="dreamcast.html#netbsd_generic_md">here</a>.  <p>These setup steps will let you run NetBSD/pmppc with root-on-nfs:
1202    
1203    <p>
1204    <ol>
1205      <li>First of all, the "<tt>nfs server</tt>" machine must be set up.
1206            This needs to have a 750 MB <tt>/tftpboot</tt> partition.
1207            <a href="#netbsdpmaxinstall">Install NetBSD/pmax 3.1 from CDROM</a>.
1208            (Don't forget to add the extra partition!)
1209      <p>
1210      <li>Configure the nfs server machine to act as an nfs server.
1211            Start up the emulated DECstation:<pre>
1212            <b>gxemul -e 3max -d nbsd_pmax.img</b>
1213    </pre>and enter the following commands as <tt>root</tt>
1214            inside the emulator:
1215    <p><table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>
1216    <b>echo hostname=server &gt;&gt; /etc/rc.conf
1217    echo ifconfig_le0=\"inet 10.0.0.2\" &gt;&gt; /etc/rc.conf
1218    echo nameserver 10.0.0.254 &gt;&gt; /etc/resolv.conf
1219    echo 10.0.0.254 &gt; /etc/mygate
1220    echo /tftpboot -maproot=root 10.0.0.1 &gt; /etc/exports
1221    echo rpcbind=YES &gt;&gt; /etc/rc.conf
1222    echo nfs_server=YES &gt;&gt; /etc/rc.conf
1223    echo mountd=YES &gt;&gt; /etc/rc.conf
1224    echo bootparamd=YES &gt;&gt; /etc/rc.conf
1225    printf "client root=10.0.0.2:/tftpboot \\\n swap=10.0.0.2:/tftpboot/swap\n" &gt; /etc/bootparams
1226    echo "bootps dgram udp wait root /usr/sbin/bootpd bootpd -d 4 -h 10.0.0.2" &gt;&gt; /etc/inetd.conf
1227    cat &gt;&gt; /etc/bootptab
1228    client:\
1229            :ht=ether:\
1230            :ha=102030000010:\
1231            :sm=255.0.0.0:\
1232            :lg=10.0.0.254:\
1233            :ip=10.0.0.1:\
1234            :rp=/tftpboot:
1235    </b>(press CTRL-D)
1236    <b>echo "10:20:30:00:00:10 client" &gt; /etc/ethers
1237    echo 10.0.0.1 client &gt; /etc/hosts
1238    reboot</b>
1239    </pre></td></tr></table>
1240      <p>
1241      <li>Download the NetBSD/pmppc CD-ROM iso image, and the GENERIC kernel:<pre>
1242            <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>
1243            <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>
1244    
1245    </pre>
1246      <li>Start the DECstation emulation again:<pre>
1247            <b>gxemul -e 3max -d nbsd_pmax.img -d pmppccd-3.1.iso</b>
1248    
1249    </pre>and extract the files from the PM/PPC CD-ROM image to the
1250            DECstation disk image:
1251    <p><table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>
1252    <b>cd /tftpboot; mount /dev/cd0a /mnt
1253    for a in /mnt/*/binary/sets/[bcemt]*; do echo $a; tar zxfp $a; done
1254    echo 10.0.0.2:/tftpboot / nfs rw 0 0 &gt; /tftpboot/etc/fstab
1255    echo rc_configured=YES &gt;&gt; /tftpboot/etc/rc.conf
1256    echo 10.0.0.254 &gt;&gt; /tftpboot/etc/mygate
1257    echo nameserver 10.0.0.254 &gt;&gt; /tftpboot/etc/resolv.conf
1258    echo rc_configured=YES &gt;&gt; /tftpboot/etc/rc.conf
1259    dd if=/dev/zero of=swap bs=1024 count=65536
1260    cd /tftpboot/dev; sh MAKEDEV all
1261    cd /; umount /mnt; halt</b>
1262    </pre></td></tr></table>
1263      <p>
1264      <li>Create a configuration file called <tt>config_client</tt>:
1265    <table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>
1266    <font color="#2020cf">!  Configuration file for running NetBSD/pmppc diskless with
1267    !  a NetBSD/pmax machine as the nfs server.</font>
1268    
1269    <b>net(
1270            add_remote("localhost:12444")   </b>! the server<b>
1271            local_port(12445)               </b>! the client<b>
1272    )
1273    
1274    machine(
1275            name("client machine")
1276            serial_nr(1)
1277    
1278            type("pmppc")
1279    
1280            load("netbsd-PMPPC.gz")</b>
1281    )
1282    </b>
1283    </pre></td></tr></table>
1284            ... and another configuration file for the server,
1285            <tt>config_server</tt>:
1286    <table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>
1287    <b>net(
1288            local_port(12444)               </b>! the server<b>
1289            add_remote("localhost:12445")   </b>! the client<b>
1290    )
1291    
1292    machine(
1293            name("nfs server")
1294            serial_nr(2)
1295    
1296            type("dec")
1297            subtype("5000/200")
1298    
1299            disk("nbsd_pmax.img")
1300    )
1301    </b>
1302    </pre></td></tr></table>
1303    </ol>
1304    
1305    <p>It should now be possible to boot NetBSD/pmppc using the NetBSD/pmax
1306    nfs server, using the following commands: (NOTE! Execute these two
1307    commands in separate xterms!)<pre>
1308            <b>gxemul @config_server</b>
1309            <b>gxemul @config_client</b>
1310    </pre>
1311    
1312    <p>You might want to log in as <tt>root</tt> on the server machine, and
1313    run <tt>tcpdump -lnvv</tt> or similar, to see that what the client machine
1314    actually does on the network.
1315    
1316    <p>When asked for "<tt>root device:</tt>" etc. on the client machine, enter
1317    the following values:<pre>
1318            root device: <b>tlp0</b>
1319            dump device:                            <b>(leave blank)</b>
1320            file system (default generic):          <b>(leave blank)</b>
1321            ..
1322            init path (default /sbin/init):         <b>(leave blank)</b>
1323    </pre>
1324    
1325    
1326    
1327    
1328    
1329    
1330    
1331    
1332    
1333    <p><br>
1334    <a name="netbsddreamcast"></a>
1335    <h3>NetBSD/dreamcast:</h3>
1336    
1337    Moved <a href="dreamcast.html#netbsd_generic_md">here</a>.
1338    
1339    
1340    
# Line 1727  DECstation onto a harddisk image in the Line 1860  DECstation onto a harddisk image in the
1860          <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/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>
1861    
1862  </pre>  </pre>
1863          <font color="#ff0000">NOTE 2007-04-14: It seems that the ISO image          <font color="#ff0000"><b>NOTE 2007-04-14:</b></font> It seems that the ISO image
1864          has been removed from the cdimage site. You may need to search          has been removed from the cdimage site. You may need to search
1865          for it elsewhere. :-/ Alternatively, you can follow          for it elsewhere. Alternatively, you can follow Michel Lespinasse's instructions at
1866          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>.
1867          <a href="http://people.zoy.org/~walken/gxemul-etch/HOWTO.html">http://people.zoy.org/~walken/gxemul-etch/HOWTO.html</a>.</font>  
1868            <p><font color="#ff0000"><b>NOTE 2007-05-05:</b></font> John Reiser has been kind enough to
1869            place a copy of debian-31r0a-mipsel-netinst.iso <a href="http://bitwagon.com/ftp/debian-31r0a-mipsel-netinst.iso">here</a>.
1870    <p>    <p>
1871    <li>Start the installation like this:<pre>    <li>Start the installation like this:<pre>
1872          <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-31r0a-mipsel-netinst.iso vmlinux-2.4.31</b>
# Line 1931  The following steps should let you run R Line 2066  The following steps should let you run R
2066          <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>
2067    
2068  </pre>  </pre>
2069    <!--
2070    dd if=/dev/zero of=/dev/stdout bs=1024 count=200 >> mipsel-root-20011216.tgz
2071    gxemul -XY2 -e3max -d redhat_mips.img -d mipsel-root-20011216.tgz vmlinux-2.4.31
2072    In the three dialogs, choose English, United States, and Continue.
2073    Then choose Execute a shell.
2074    tar xfvz /dev/scsi/host0/bus0/target1/lun0/disc sbin/mke2fs sbin/fdisk
2075    fdisk
2076    -->
2077    <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
2078          (!) partition table, and then an ext2 partition. This is what Linux          (!) partition table, and then an ext2 partition. This is what Linux
2079          will then see as /dev/sda1.          will then see as /dev/sda1.
# Line 2056  halt</b> Line 2199  halt</b>
2199  !  !
2200  !  This config file is for the client.</font>  !  This config file is for the client.</font>
2201    
2202  <b>    net(  <b>net(
2203          add_remote("localhost:12444")   </b>! the server<b>          add_remote("localhost:12444")   </b>! the server<b>
2204          local_port(12445)               </b>! the client<b>          local_port(12445)               </b>! the client<b>
2205      )  )
2206    
2207      machine(  machine(
2208          name("client machine")          name("client machine")
2209          serial_nr(1)          serial_nr(1)
2210    
# Line 2070  halt</b> Line 2213  halt</b>
2213    
2214          </b>! load("bsd")<b>          </b>! load("bsd")<b>
2215          load("bsd.rd")          load("bsd.rd")
2216      )  )
2217  </b>  </b>
2218  </pre></td></tr></table>  </pre></td></tr></table>
2219          ... and another configuration file for the server,          ... and another configuration file for the server,
2220          <tt>config_server</tt>:          <tt>config_server</tt>:
2221  <table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>  <table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>
2222  <b>    net(  <b>net(
2223          local_port(12444)               </b>! the server<b>          local_port(12444)               </b>! the server<b>
2224          add_remote("localhost:12445")   </b>! the client<b>          add_remote("localhost:12445")   </b>! the client<b>
2225      )  )
2226    
2227      machine(  machine(
2228          name("nfs server")          name("nfs server")
2229          serial_nr(2)          serial_nr(2)
2230    
# Line 2089  halt</b> Line 2232  halt</b>
2232          subtype("5000/200")          subtype("5000/200")
2233    
2234          disk("nbsd_pmax.img")          disk("nbsd_pmax.img")
2235      )  )
2236  </b>  </b>
2237  </pre></td></tr></table>  </pre></td></tr></table>
2238    <li>Boot the "<tt>nfs server</tt>" and the OpenBSD/sgi    <li>Boot the "<tt>nfs server</tt>" and the OpenBSD/sgi
# Line 2357  once. Line 2500  once.
2500  <a name="linux_qemu_mips"></a>  <a name="linux_qemu_mips"></a>
2501  <h3>Linux/QEMU_MIPS:</h3>  <h3>Linux/QEMU_MIPS:</h3>
2502    
2503  I've added a semi-bogus machine mode which tries to  I've added a machine mode which emulates the MIPS machine mode used
2504  mimic the MIPS machine mode used in Fabrice Bellard's  in Fabrice Bellard's <a href="http://fabrice.bellard.free.fr/qemu/">QEMU</a>.
2505  <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);
2506    the QEMU_MIPS mode in GXemul refers to the old QEMU-specific MIPS machine.
2507  <p>Download <a href="http://fabrice.bellard.free.fr/qemu/mips-test-0.1.tar.gz">mips-test-0.1.tar.gz</a>  
2508  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
2509  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:
2510    
2511    <p>
2512    <ol>
2513      <li>Download the archive from
2514            <a href="http://fabrice.bellard.free.fr/qemu/download.html">http://fabrice.bellard.free.fr/qemu/download.html</a> and extract it:<pre>
2515            <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>
2516            tar zxvf mips-test-0.2.tar.gz</b>
2517    
2518  <p>Test it in GXemul using the following command line:<pre>  </pre>
2519          <b>gxemul -E qemu_mips -o 'console=ttyS0 root=/dev/ram    <li>Start GXemul using the following command line:<pre>
2520            <b>gxemul -E qemu_mips -x -M 128 -o 'console=ttyS0
2521                  rd_start=0x80800000 rd_size=10000000 init=/bin/sh'                  rd_start=0x80800000 rd_size=10000000 init=/bin/sh'
2522                  0x80800000:mips-test/initrd mips-test/vmlinux-r1</b>                  0x80800000:mips-test/initrd.gz mips-test/vmlinux-2.6.18-3-qemu</b>
2523    
2524  </pre>  </pre>
2525  </ol>  </ol>
# Line 2405  Windows NT onto a disk image: Line 2556  Windows NT onto a disk image:
2556          <p>          <p>
2557          <li>Create an empty harddisk image, which will be the disk image          <li>Create an empty harddisk image, which will be the disk image
2558                  that you will install Windows NT onto:<pre>                  that you will install Windows NT onto:<pre>
2559          $ <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>
2560    
2561  </pre>  </pre>
2562          <li>Run the ARC installer, to partition the disk image:<pre>          <li>Run the ARC installer, to partition the disk image:<pre>
2563          $ <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>
2564  </pre>  </pre>
2565          Note that <tt>ARCINST</tt> <i>almost</i> works, but not quite.          Note that <tt>ARCINST</tt> <i>almost</i> works, but not quite.
2566          <p>          <p>
2567          <li>Run the SETUP program:<pre>          <li>Run the SETUP program:<pre>
2568          $ <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>
2569  </pre>  </pre>
2570  </ol>  </ol>
2571    
# Line 2433  but then it crashes because of incomplet Line 2584  but then it crashes because of incomplet
2584  <h3>NetBSD/bebox:</h3>  <h3>NetBSD/bebox:</h3>
2585    
2586  There is an old snapshot of  There is an old snapshot of
2587  <a href="http://www.netbsd.org/Ports/bebox/">NetBSD/bebox</a>  <a href="http://www.netbsd.org/ports/bebox/">NetBSD/bebox</a>
2588  from 1998-11-19 available at NetBSD's ftp server. NetBSD/bebox  from 1998-11-19 available at NetBSD's ftp server. NetBSD/bebox
2589  could theoretically run in GXemul.  could theoretically run in GXemul.
2590  <font color="#ff0000">IT DOES <b>NOT</b> WORK RIGHT NOW!</font>  <font color="#ff0000">IT DOES <b>NOT</b> WORK RIGHT NOW!</font>
# Line 2517  trying to run /sbin/init. Line 2668  trying to run /sbin/init.
2668  <a name="netbsdlandiskinstall"></a>  <a name="netbsdlandiskinstall"></a>
2669  <h3>NetBSD/landisk:</h3>  <h3>NetBSD/landisk:</h3>
2670    
2671  <a href="http://www.netbsd.org/Ports/landisk/">NetBSD/landisk</a> can  <a href="http://www.netbsd.org/ports/landisk/">NetBSD/landisk</a> can
2672  run in GXemul.  run in GXemul.
2673    
2674  <p><font color="#ff0000">NOTE: This is still too  <p><font color="#ff0000">NOTE: This is still too
# Line 2552  image, using an emulated CATS machine: Line 2703  image, using an emulated CATS machine:
2703    <p>    <p>
2704    <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
2705          of it: (replace 200704110002Z with whatever is the latest one)<pre>          of it: (replace 200704110002Z with whatever is the latest one)<pre>
2706          <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
2707          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>
2708  </pre>  </pre>
2709    
# Line 2585  cd /; umount /mnt; umount /mnt2; halt</b Line 2736  cd /; umount /mnt; umount /mnt2; halt</b
2736    
2737    
2738    
   
   
2739    
2740    
2741    

Legend:
Removed from v.41  
changed lines
  Added in v.42

  ViewVC Help
Powered by ViewVC 1.1.26