/[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 12 by dpavlin, Mon Oct 8 16:18:38 2007 UTC revision 20 by dpavlin, Mon Oct 8 16:19:23 2007 UTC
# Line 10  Line 10 
10    
11  <!--  <!--
12    
13  $Id: guestoses.html,v 1.87 2005/08/16 09:16:25 debug Exp $  $Id: guestoses.html,v 1.108 2005/11/25 22:50:32 debug Exp $
14    
15  Copyright (C) 2003-2005  Anders Gavare.  All rights reserved.  Copyright (C) 2003-2005  Anders Gavare.  All rights reserved.
16    
# Line 54  SUCH DAMAGE. Line 54  SUCH DAMAGE.
54    <li><a href="#netbsdcobaltinstall">NetBSD/cobalt</a>    <li><a href="#netbsdcobaltinstall">NetBSD/cobalt</a>
55    <li><a href="#netbsdevbmipsinstall">NetBSD/evbmips</a>    <li><a href="#netbsdevbmipsinstall">NetBSD/evbmips</a>
56    <li><a href="#netbsdsgimips">NetBSD/sgimips</a>    <li><a href="#netbsdsgimips">NetBSD/sgimips</a>
57      <li><a href="#netbsdcatsinstall">NetBSD/cats</a>
58      <li><a href="#netbsdprepinstall">NetBSD/prep</a>
59    <li><a href="#openbsdinstall">OpenBSD/pmax</a>    <li><a href="#openbsdinstall">OpenBSD/pmax</a>
60    <li><a href="#openbsdarcinstall">OpenBSD/arc</a>    <li><a href="#openbsdarcinstall">OpenBSD/arc</a>
61      <li><a href="#openbsdcatsinstall">OpenBSD/cats</a>
62    <li><a href="#ultrixinstall">Ultrix/RISC</a>    <li><a href="#ultrixinstall">Ultrix/RISC</a>
63    <li><a href="#sprite">Sprite for DECstation</a>    <li><a href="#sprite">Sprite for DECstation</a>
64    <li><a href="#declinux">Debian GNU/Linux for DECstation</a>    <li><a href="#declinux">Debian GNU/Linux for DECstation</a>
# Line 67  you might find the following information Line 70  you might find the following information
70  <ul>  <ul>
71    <li><a href="#mach">Mach/PMAX</a>    <li><a href="#mach">Mach/PMAX</a>
72    <li><a href="#openbsdsgiinstall">OpenBSD/sgi</a>    <li><a href="#openbsdsgiinstall">OpenBSD/sgi</a>
73      <li><a href="#netbsdnetwinderinstall">NetBSD/netwinder</a>
74  </ul>  </ul>
75    
76    
# Line 126  steps: Line 130  steps:
130    <li>Download a NetBSD CD-ROM iso image:<pre>    <li>Download a NetBSD CD-ROM iso image:<pre>
131          <a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/1.6.2/pmaxcd.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/1.6.2/pmaxcd.iso</a>          <a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/1.6.2/pmaxcd.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/1.6.2/pmaxcd.iso</a>
132          or          or
133          <a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/2.0.2/pmaxcd.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/2.0.2/pmaxcd.iso</a>          <a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/2.1/pmaxcd.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/2.1/pmaxcd.iso</a>
134    
135  </pre>  </pre>
136    <li>Start the emulator like this:<pre>    <li>Start the emulator like this:<pre>
# Line 144  For an ftp install, substitute steps 2 a Line 148  For an ftp install, substitute steps 2 a
148    <li>Download a NetBSD pmax INSTALL kernel:<pre>    <li>Download a NetBSD pmax INSTALL kernel:<pre>
149          <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-1.6.2/pmax/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-1.6.2/pmax/binary/kernel/netbsd-INSTALL.gz</a>          <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-1.6.2/pmax/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-1.6.2/pmax/binary/kernel/netbsd-INSTALL.gz</a>
150          or          or
151          <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0.2/pmax/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0.2/pmax/binary/kernel/netbsd-INSTALL.gz</a>          <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.1/pmax/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.1/pmax/binary/kernel/netbsd-INSTALL.gz</a>
152    
153  </pre>  </pre>
154    <li>Start the emulator like this:<pre>    <li>Start the emulator like this:<pre>
# Line 178  NetBSD from the harddisk image:<pre> Line 182  NetBSD from the harddisk image:<pre>
182          <b>gxemul -e 3max -d nbsd_pmax.img</b>          <b>gxemul -e 3max -d nbsd_pmax.img</b>
183  </pre>  </pre>
184    
185  <p><font color="#ff0000">NOTE:</font> For some reason, NetBSD 2.0.2  <p><font color="#ff0000">NOTE:</font> For some reason, NetBSD 2.x
186  doesn't work with X out-of-the-box on pmax. It seems that this has to do  doesn't work with X out-of-the-box on pmax. It seems that this has to do
187  with NetBSD switching console system to "WSCONS" somewhere between 1.6.2  with NetBSD switching console system to "WSCONS" somewhere between 1.6.2
188  and 2.0. For now, if you want X, then try NetBSD 1.6.2.  and 2.0. For now, if you want X, then try NetBSD 1.6.2.
# Line 199  and log in as <tt>root</tt> and type <tt Line 203  and log in as <tt>root</tt> and type <tt
203  <a name="netbsdarcinstall"></a>  <a name="netbsdarcinstall"></a>
204  <h3>NetBSD/arc:</h3>  <h3>NetBSD/arc:</h3>
205    
206  It is possible to run <a  It is possible to install and run <a
207  href="http://www.netbsd.org/Ports/arc/">NetBSD/arc</a>  href="http://www.netbsd.org/Ports/arc/">NetBSD/arc</a>
208  on an emulated Acer PICA-61 in the emulator.  on an emulated Acer PICA-61 in the emulator.
209    
# Line 347  NetBSD/hpcmips on an emulated MobilePro Line 351  NetBSD/hpcmips on an emulated MobilePro
351          <b>dd if=/dev/zero of=nbsd_hpcmips.img bs=1024 count=1 seek=1990000</b>          <b>dd if=/dev/zero of=nbsd_hpcmips.img bs=1024 count=1 seek=1990000</b>
352    
353  </pre>  </pre>
354    <li>Download the NetBSD/hpcmips 2.0.2 ISO image, and a generic kernel:<pre>    <li>Download the NetBSD/hpcmips 2.1 ISO image, and a generic kernel:<pre>
355          <a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/2.0.2/">ftp://ftp.netbsd.org/pub/NetBSD/iso/2.0.2</a>/<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/2.0.2/hpcmipscd.iso">hpcmipscd.iso</a>          <a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/2.1/">ftp://ftp.netbsd.org/pub/NetBSD/iso/2.1</a>/<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/2.1/hpcmipscd.iso">hpcmipscd.iso</a>
356    
357          <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0.2/hpcmips/binary/kernel/">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0.2/hpcmips/binary/kernel</a>/<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0.2/hpcmips/binary/kernel/netbsd-GENERIC.gz">netbsd-GENERIC.gz</a>          <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.1/hpcmips/binary/kernel/">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.1/hpcmips/binary/kernel</a>/<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.1/hpcmips/binary/kernel/netbsd-GENERIC.gz">netbsd-GENERIC.gz</a>
358    
359  </pre>  </pre>
360    <p>    <p>
# Line 361  NetBSD/hpcmips on an emulated MobilePro Line 365  NetBSD/hpcmips on an emulated MobilePro
365  </pre>  </pre>
366          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
367          MobilePro 770. (Install onto wd0, choose "Use entire disk" when          MobilePro 770. (Install onto wd0, choose "Use entire disk" when
368          doing the MBR partitioning, and choose wd1d (not cd0c) as the          doing the MBR partitioning, and choose to install from CD-ROM.)
         CDROM device to install from.)  
369  </ol>  </ol>
370    
371  <p>  <p>
# Line 413  image, from an emulated DECstation 3MAX Line 416  image, from an emulated DECstation 3MAX
416          <b>dd if=/dev/zero of=nbsd_cobalt.img bs=1024 count=1 seek=1999000</b>          <b>dd if=/dev/zero of=nbsd_cobalt.img bs=1024 count=1 seek=1999000</b>
417    
418  </pre>  </pre>
419    <li>Download the generic kernel for Cobalt and the 2.0.2 ISO image:<pre>    <li>Download the generic kernel for Cobalt and the 2.1 ISO image:<pre>
420          <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0.2/cobalt/binary/kernel/netbsd-GENERIC.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0.2/cobalt/binary/kernel/netbsd-GENERIC.gz</a>          <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.1/cobalt/binary/kernel/netbsd-GENERIC.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.1/cobalt/binary/kernel/netbsd-GENERIC.gz</a>
421          <a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/2.0.2/cobaltcd.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/2.0.2/cobaltcd.iso</a>          <a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/2.1/cobaltcd.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/2.1/cobaltcd.iso</a>
422    
423  </pre>  </pre>
424    <p>    <p>
425    <li>Install NetBSD/pmax 2.0.2 according to instructions    <li>Install NetBSD/pmax 2.1 according to instructions
426          <a href="#netbsdinstall">further up on this page</a>.          <a href="#netbsdinstall">further up on this page</a>.
427    <p>    <p>
428    <li>Start NetBSD/pmax like this:<pre>    <li>Start NetBSD/pmax like this:<pre>
# Line 476  in GXemul on an emulated Malta evaluatio Line 479  in GXemul on an emulated Malta evaluatio
479    
480  <p>It is tricky to install, because there is (as far as I know) no INSTALL  <p>It is tricky to install, because there is (as far as I know) no INSTALL
481  kernel. One way to install the NetBSD/evbmips distribution onto a disk  kernel. One way to install the NetBSD/evbmips distribution onto a disk
482  image is to install the files is to do it using another (emulated)  image is to install the files using another (emulated) machine.
 machine.  
483    
484  <p>  <p>
485  The following instructions will let you install NetBSD/evbmips onto a disk  The following instructions will let you install NetBSD/evbmips onto a disk
# Line 485  image, from an emulated DECstation 3MAX Line 487  image, from an emulated DECstation 3MAX
487    
488  <p>  <p>
489  <ol>  <ol>
490    <li>Install NetBSD/pmax 2.0.2 according to instructions    <li>Install NetBSD/pmax 2.1 according to instructions
491          <a href="#netbsdinstall">further up on this page</a>.          <a href="#netbsdinstall">further up on this page</a>.
492    <p>    <p>
493    <li>Create an empty harddisk image, which will be the disk image    <li>Create an empty harddisk image, which will be the disk image
# Line 493  image, from an emulated DECstation 3MAX Line 495  image, from an emulated DECstation 3MAX
495          <b>dd if=/dev/zero of=nbsd_malta.img bs=1024 count=1 seek=999000</b>          <b>dd if=/dev/zero of=nbsd_malta.img bs=1024 count=1 seek=999000</b>
496    
497  </pre>  </pre>
498    <li>Download the generic kernel and the 2.0.2 ISO image:<pre>    <li>Download the generic kernel and the 2.1 ISO image:<pre>
499          <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0.2/evbmips-mipsel/binary/kernel/netbsd-MALTA.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0.2/evbmips-mipsel/binary/kernel/netbsd-MALTA.gz</a>          <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.1/evbmips-mipsel/binary/kernel/netbsd-MALTA.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.1/evbmips-mipsel/binary/kernel/netbsd-MALTA.gz</a>
500          <a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/2.0.2/evbmips-mipselcd.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/2.0.2/evbmips-mipselcd.iso</a>          <a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/2.1/evbmips-mipselcd.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/2.1/evbmips-mipselcd.iso</a>
501    
502  </pre>  </pre>
503    <p>    <p>
# Line 521  cd /; umount /mnt; umount /mnt2; halt</b Line 523  cd /; umount /mnt; umount /mnt2; halt</b
523          <b>gxemul -e malta -d nbsd_malta.img netbsd-MALTA.gz</b>          <b>gxemul -e malta -d nbsd_malta.img netbsd-MALTA.gz</b>
524  </pre>  </pre>
525    
526  <p>Note 1: NetBSD detects a very fast CPU although the emulation isn't  <p>NOTE: To select a 4Kc (MIPS32) CPU instead of the default 5Kc
 really that fast, so emulated delays are very slow. Even on a multi-GHz  
 host, you will need a lot of patience.  
   
 <p>Note 2: To select a 4Kc (MIPS32) CPU instead of the default 5Kc  
527  (MIPS64) CPU, add <tt><b>-C 4Kc</b></tt> to the command line. With NetBSD  (MIPS64) CPU, add <tt><b>-C 4Kc</b></tt> to the command line. With NetBSD
528  2.0.2, however, there will be little or no difference in functionality, as  2.1, however, there will be little or no difference in functionality, as
529  NetBSD still runs in 32-bit mode on 64-bit MIPS CPUs. The only difference  NetBSD still runs in 32-bit mode on 64-bit MIPS CPUs. There are two things
530  it makes in practice is that GXemul's binary translation subsystem might  that differ:<ol>
531  run a bit faster (because there are some optimizations for 32-bit    <li>GXemul's binary translation subsystem might run a bit faster
532  emulation that don't work with 64-bit emulation).          in 32-bit mode (because there are some optimizations that don't
533            work with 64-bit emulation)
534      <li>4Kc only has 16 TLB entries, whereas 5Kc has 48. This makes 4Kc
535            slower.
536    </ol>
537    
538  <p>Note 3: The installation instructions above create a filesystem  <p>The installation instructions above create a filesystem
539  <i>without</i> a disklabel, so there is only one ffs partition and no  <i>without</i> a disklabel, so there is only one ffs partition and no
540  swap. You will need to enter the following things when booting with the  swap. You will need to enter the following things when booting with the
541  generic kernel:<pre>  generic kernel:<pre>
# Line 563  emulate the AHC PCI SCSI controller in t Line 565  emulate the AHC PCI SCSI controller in t
565  several times, asking for documentation, but never received any reply.)  several times, asking for documentation, but never received any reply.)
566  NetBSD can still run in the emulator, as long as it doesn't use SCSI.  NetBSD can still run in the emulator, as long as it doesn't use SCSI.
567    
568  <p>For a simple test with the 2.0.2 ramdisk (install) kernel, try  <p>For a simple test with the 2.1 ramdisk (install) kernel, try
569  dowloading<pre>  dowloading<pre>
570          <a href="ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-2.0.2/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz">ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-2.0.2/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz</a>          <a href="ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-2.1/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz">ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-2.1/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz</a>
571    
572  </pre>and run&nbsp;&nbsp;<b><tt>gxemul -e o2 netbsd-INSTALL32_IP3x.gz</tt></b>.  </pre>and run&nbsp;&nbsp;<b><tt>gxemul -e o2 netbsd-INSTALL32_IP3x.gz</tt></b>.
573    
# Line 577  time consuming, but necessary: Line 579  time consuming, but necessary:
579  <ol>  <ol>
580    <li>First of all, the "<tt>nfs server</tt>" machine must be set up.    <li>First of all, the "<tt>nfs server</tt>" machine must be set up.
581          This needs to have a 750 MB <tt>/tftpboot</tt> partition.          This needs to have a 750 MB <tt>/tftpboot</tt> partition.
582          <a href="#netbsdinstall">Install NetBSD/pmax 2.0.2 from CDROM</a>.          <a href="#netbsdinstall">Install NetBSD/pmax 2.1 from CDROM</a>.
583          (Don't forget to add the extra partition!)          (Don't forget to add the extra partition!)
584    <p>    <p>
585    <li>Configure the nfs server machine to act as an nfs server.    <li>Configure the nfs server machine to act as an nfs server.
# Line 616  reboot</b> Line 618  reboot</b>
618  <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>
619  <b>cd /tftpboot; ftp -i ftp.uk.netbsd.org</b>  <b>cd /tftpboot; ftp -i ftp.uk.netbsd.org</b>
620  (log in as anonymous...)  (log in as anonymous...)
621  <b>cd /pub/NetBSD/NetBSD-2.0.2/sgimips/binary/sets  <b>cd /pub/NetBSD/NetBSD-2.1/sgimips/binary/sets
622  mget base.tgz comp.tgz etc.tgz games.tgz man.tgz misc.tgz text.tgz  mget base.tgz comp.tgz etc.tgz games.tgz man.tgz misc.tgz text.tgz
623  quit  quit
624  sh  sh
# Line 627  dd if=/dev/zero of=swap bs=1024 count=32 Line 629  dd if=/dev/zero of=swap bs=1024 count=32
629  halt</b>  halt</b>
630  </pre></td></tr></table>  </pre></td></tr></table>
631    <li>Download the NetBSD/sgimips GENERIC and INSTALL kernels:<pre>    <li>Download the NetBSD/sgimips GENERIC and INSTALL kernels:<pre>
632          <a href="ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-2.0.2/sgimips/binary/kernel/netbsd-GENERIC32_IP3x.gz">ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-2.0.2/sgimips/binary/kernel/netbsd-GENERIC32_IP3x.gz</a>          <a href="ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-2.1/sgimips/binary/kernel/netbsd-GENERIC32_IP3x.gz">ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-2.1/sgimips/binary/kernel/netbsd-GENERIC32_IP3x.gz</a>
633          <a href="ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-2.0.2/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz">ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-2.0.2/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz</a>          <a href="ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-2.1/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz">ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-2.1/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz</a>
634    
635  </pre>  </pre>
636    <li>Create a configuration file called <tt>config_client</tt>:    <li>Create a configuration file called <tt>config_client</tt>:
# Line 736  to IPv4. Line 738  to IPv4.
738    
739    
740    
741    <p><br>
742    <a name="netbsdcatsinstall"></a>
743    <h3>NetBSD/cats:</h3>
744    
745    It is possible to install and run
746    <a href="http://www.netbsd.org/Ports/cats/">NetBSD/cats</a> in GXemul.
747    
748    <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
749    <a href="20051007-netbsd-cats-installed.png"><img src="20051007-netbsd-cats-installed_small.png"></a>
750    
751    <p>
752    To install NetBSD/cats onto a disk image, follow these instructions:
753    
754    <p>
755    <ol start="1">
756      <li>Create an empty harddisk image, which will be the root disk
757            that you will install NetBSD/cats onto:<pre>
758            <b>dd if=/dev/zero of=nbsd_cats.img bs=1024 count=1 seek=2000000</b>
759    
760    </pre>
761      <li>Download the NetBSD/cats 2.1 ISO image and the generic and install kernels:<pre>
762            <a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/2.1/catscd.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/2.1/catscd.iso</a>
763            <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.1/cats/binary/kernel/netbsd.aout-GENERIC.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.1/cats/binary/kernel/netbsd.aout-GENERIC.gz</a>
764            <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.1/cats/binary/kernel/netbsd.aout-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.1/cats/binary/kernel/netbsd.aout-INSTALL.gz</a>
765    
766    </pre>
767      <p>
768      <li>Start the installation like this:<pre>
769            <b>gxemul -XEcats -d nbsd_cats.img -d catscd.iso netbsd.aout-INSTALL.gz</b>
770    
771    </pre>
772            and proceed like you would do if you were installing NetBSD on a real
773            CATS from CDROM.
774    </ol>
775    
776    <p>Alternatively, to install from FTP, you can skip downloading the ISO,
777    and start the install without <tt>-d catscd.iso</tt>. Suitable network
778    settings are IP 10.0.0.1, gateway/default route 10.0.0.254, netmask
779    255.0.0.0, nameserver 10.0.0.254.
780    
781    <p>If everything worked, NetBSD should now be installed on the disk image.
782    Use the following command line to boot the emulated CATS machine:<pre>
783            <b>gxemul -XEcats -d nbsd_cats.img netbsd.aout-GENERIC.gz</b>
784    
785    </pre>
786    
787    
788    
789    
790    
791    
792    <p><br>
793    <a name="netbsdprepinstall"></a>
794    <h3>NetBSD/prep:</h3>
795    
796    It is possible to install and run
797    <a href="http://www.netbsd.org/Ports/prep/">NetBSD/prep</a> in GXemul.
798    
799    <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
800    <a href="20051123-netbsd-prep.png"><img src="20051123-netbsd-prep_small.png"></a>
801    
802    <p>To install NetBSD/prep onto a disk image, follow these instructions:
803    
804    <p>
805    <ol start="1">
806      <li>Create an empty harddisk image, which will be the root disk
807            that you will install NetBSD/prep onto:<pre>
808        <b>dd if=/dev/zero of=nbsd_prep.img bs=1024 count=1 seek=1000000</b>
809    
810    </pre>
811      <li>Download the NetBSD/prep 2.1 ISO image and the generic kernel:<pre>
812        <a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/2.1/prepcd.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/2.1/prepcd.iso</a>
813        <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.1/prep/binary/kernel/netbsd-GENERIC.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.1/prep/binary/kernel/netbsd-GENERIC.gz</a>
814    
815    </pre>
816      <p>
817      <li>Start the installation like this:<pre>
818        <b>gxemul -x -Eprep -d nbsd_prep.img -d rdb:prepcd.iso -j prep/binary/kernel/netbsd-INSTALL.gz</b>
819    
820    </pre>
821      <p>
822      <li>Installation is a bit unsmooth, probably due to bugs in GXemul.
823            Creating an MBR slice and a disklabel with sysinst bugs out, so
824            some things have to be done manually.<p>
825            At "<tt>(I)nstall, (S)hell, or (H)alt</tt>", choose
826                    <tt><b><u>s</u></b></tt>.
827            <br><tt># <b><u>fdisk -u wd0</u></b></tt>
828            <br><tt>Do you want to change our idea of what BIOS thinks? [n]</tt>
829                    (just press <b>ENTER</b>)
830            <br><tt>Which partition do you want to change?: [none] <b><u>0</u></b></tt>
831            <br><tt>sysid: ... </tt> (just press <B>ENTER</b>)
832            <br><tt>start: ... <b><u>1cyl</u></b></tt>
833            <br><tt>size: ... </tt> (just press <B>ENTER</b>)
834            <br><tt>Which partition do you want to change?: [none]</tt> (press <b>ENTER</b>)
835            <br><tt>Should we write new partition table? [n] <b><u>y</u></b></tt>
836            <br><tt># <b><u>disklabel -I -i wd0</u></b></tt>
837            <br><tt>partition&gt; <b><u>a</u></b></tt>
838            <br><tt>Filesystem type [?] [unused]: <b><u>4.2BSD</u></b></tt>
839            <br><tt>Start offset ('x' to start after partition 'x') [0c, 0s, 0M]: <b><u>1c</u></b></tt>
840            <br><tt>Partition size ('$' for all remaining) [0c, 0s, 0M]: <b><u>900M</u></b></tt>
841            <br><tt>partition&gt; <b><u>b</u></b></tt>
842            <br><tt>Filesystem type [?] [unused]: <b><u>swap</u></b></tt>
843            <br><tt>Start offset ('x' to start after partition 'x') [0c, 0s, 0M]: <b><u>a</u></b></tt>
844            <br><tt>Partition size ('$' for all remaining) [0c, 0s, 0M]: <b><u>$</u></b></tt>
845            <br><tt>partition&gt; <b><u>W</u></b></tt>
846            <br><tt>Label disk [n]? <b><u>y</u></b></tt>
847            <br><tt>partition&gt; <b><u>Q</u></b></tt>
848            <br><tt># <b><u>newfs wd0a</u></b></tt>
849            <br><tt># <b><u>sysinst</u></b></tt>
850            <br>Choose to install onto <b>wd0</b>. Choose
851                    "<tt>a: Edit the MBR partition table</tt>"
852                    when presented with that option.
853            <br>Choose the 'a' partition/slice,
854                    set the 'e' ("active") and 'f' ("install") fields to <b>Yes</b>,
855                    and then choose "<tt>x: Partition table OK</tt>".
856            <br>Choose "<tt>b: Use existing partition sizes</tt>" in the next
857                    menu.
858            <br>Select partition 'a' and press ENTER. Set field 'k' (mount point)
859                    to '<tt><b>/</b></tt>'.
860            <br>Get out of the partitioner by selecting
861                    "<tt>x: Partition sizes ok</tt>" twice.
862            <br>At "<tt>Write outside MBR partition? [n]:</tt>", just press
863                    <b>ENTER</b>.
864            <br>Install from CD-ROM, device <b>wd1c</b>.
865    </ol>
866    
867    <p>If everything worked, NetBSD should now be installed on the disk image.
868    Use the following command line to boot the emulated machine:<pre>
869            <b>gxemul -x -Eprep -d nbsd_prep.img netbsd-GENERIC.gz</b>
870    
871    </pre>
872    
873    <p>When asked which the root device is, type <tt><b>wd0</b></tt> and
874    just press ENTER to select the default values for dump device, file
875    system type, and init path.
876    
877    
878    
879    
880    
881    
882  <p><br>  <p><br>
883  <a name="openbsdinstall"></a>  <a name="openbsdinstall"></a>
# Line 882  enter <b><tt>rcons</tt></b> if you are u Line 1024  enter <b><tt>rcons</tt></b> if you are u
1024  <a name="openbsdarcinstall"></a>  <a name="openbsdarcinstall"></a>
1025  <h3>OpenBSD/arc:</h3>  <h3>OpenBSD/arc:</h3>
1026    
1027  It is possible to run OpenBSD/arc on an emulated Acer PICA-61 in the  It is possible to install and run OpenBSD/arc on an emulated Acer PICA-61
1028  emulator.  in the emulator.
1029    
1030  <p>  <p>
1031  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
# Line 943  boot from the harddisk image: Line 1085  boot from the harddisk image:
1085    
1086    
1087    
1088    
1089    <p><br>
1090    <a name="openbsdcatsinstall"></a>
1091    <h3>OpenBSD/cats:</h3>
1092    
1093    It is possible to install and run
1094    <a href="http://www.openbsd.org/cats.html">OpenBSD/cats</a>
1095    in GXemul.
1096    
1097    <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1098    <a href="20051007-openbsd-cats-installed.png"><img src="20051007-openbsd-cats-installed_small.png"></a>
1099    
1100    <p>To install OpenBSD/cats onto an emulated harddisk image,
1101    follow these instructions:
1102    
1103    <p>
1104    <ol>
1105      <li>Create an empty harddisk image, which will be the root disk
1106            that OpenBSD installs itself onto:<pre>
1107            <b>dd if=/dev/zero of=obsd_cats.img bs=1024 count=1 seek=1900000</b>
1108    
1109    </pre>
1110      <li>Download the entire cats directory from the ftp server:<pre>
1111            <b>wget -np -l 0 -r <a href="ftp://ftp.openbsd.org/pub/OpenBSD/3.8/cats/">ftp://ftp.openbsd.org/pub/OpenBSD/3.8/cats/</a></b>
1112            <b>cp ftp.openbsd.org/pub/OpenBSD/3.8/cats/bsd .</b>
1113            <b>cp ftp.openbsd.org/pub/OpenBSD/3.8/cats/bsd.rd .</b>
1114    
1115    </pre>
1116    
1117      <li>You now need to make an ISO image of the entire directory you downloaded.
1118            (I recommend using <tt>mkisofs</tt> for that purpose. If you don't
1119            already have <tt>mkisofs</tt> installed on your system, you need
1120            to install it in order to do this.)<pre>
1121            <b>mkisofs -allow-lowercase -o openbsd_cats_3.8.iso ftp.openbsd.org/pub/OpenBSD/</b>
1122    
1123    </pre>
1124      <li>Start the emulator using this command line:<pre>
1125            <b>gxemul -XEcats -d obsd_cats.img -d openbsd_cats_3.8.iso bsd.rd</b>
1126    
1127    </pre>
1128            and proceed like you would do if you were installing OpenBSD
1129            on a real CATS. (Install onto <tt>wd0</tt>, don't configure the
1130            network, install from CD.)
1131    </ol>
1132    
1133    <p>(Although it <i>is</i> possible to configure the network, IPv4 address
1134    10.0.0.1, netmask 255.0.0.0, gateway/default route 10.0.0.254, and
1135    nameserver 10.0.0.254, the userland NAT-like networking layer is not
1136    stable enough yet to support a full install via ftp.)
1137    
1138    <p><b>NOTE:</b> Make sure that you <tt>sync</tt> and <tt>reboot</tt>
1139    correctly once the installation is finished, or the <tt>/dev</tt> nodes
1140    may not have been written correctly to disk.
1141    
1142    <p>Once the install has finished, the following command should let you
1143    boot from the harddisk image:
1144    
1145    <p><pre>
1146            <b>gxemul -X -x -Ecats -d obsd_cats.img bsd</b>
1147    
1148    </pre>
1149    
1150    
1151    
1152    
1153    
1154    
1155    
1156  <p><br>  <p><br>
1157  <a name="ultrixinstall"></a>  <a name="ultrixinstall"></a>
1158  <h3>Ultrix/RISC:</h3>  <h3>Ultrix/RISC:</h3>
# Line 1312  actually interact with the sytem. :-( Line 1522  actually interact with the sytem. :-(
1522  Read the 2005-01-19 update in the Debian section above, and then, if  Read the 2005-01-19 update in the Debian section above, and then, if
1523  you do not need ethernet support, try Kaj-Michael Lang's kernel compiled  you do not need ethernet support, try Kaj-Michael Lang's kernel compiled
1524  from <a href="http://www.linux-mips.org/">linux-mips</a>' CVS.  from <a href="http://www.linux-mips.org/">linux-mips</a>' CVS.
1525  <a href="http://home.tal.org/~milang/o2/patches/vmlinux-2.4.29-rc2-r3k-mipsel-decstation">  <a href="http://home.tal.org/~milang/o2/kernels/">http://home.tal.org/~milang/o2/kernels</a>/<a href="http://home.tal.org/~milang/o2/kernels/vmlinux-2.4.29-rc2-r3k-mipsel-decstation">vmlinux-2.4.29-rc2-r3k-mipsel-decstation</a>
 http://home.tal.org/~milang/o2/patches/vmlinux-2.4.29-rc2-r3k-mipsel-decstation</a>  
1526  It should work with framebuffer/keyboard.&nbsp;]  It should work with framebuffer/keyboard.&nbsp;]
1527    
1528    
# Line 1431  client. Performing this setup is quite t Line 1640  client. Performing this setup is quite t
1640  <ol>  <ol>
1641    <li>First of all, the "<tt>nfs server</tt>" machine must be set up.    <li>First of all, the "<tt>nfs server</tt>" machine must be set up.
1642          This needs to have a 800 MB <tt>/tftpboot</tt> partition.          This needs to have a 800 MB <tt>/tftpboot</tt> partition.
1643          <a href="#netbsdinstall">Install NetBSD/pmax 2.0.2 from CDROM</a>.          <a href="#netbsdinstall">Install NetBSD/pmax 2.1 from CDROM</a>.
1644          (Don't forget to add the extra partition!)          (Don't forget to add the extra partition!)
1645    <p>    <p>
1646    <li>Configure the nfs server machine to act as an nfs server.    <li>Configure the nfs server machine to act as an nfs server.
# Line 1575  fetch several cups of coffee for each of Line 1784  fetch several cups of coffee for each of
1784    
1785    
1786    
1787    
1788    
1789    
1790    
1791    
1792    <p><br>
1793    <a name="netbsdnetwinderinstall"></a>
1794    <h3>NetBSD/netwinder:</h3>
1795    
1796    <a href="http://www.netbsd.org/Ports/netwinder/">NetBSD/netwinder</a>
1797    could possibly run in GXemul. <font color="#ff0000">IT DOES <b>NOT</b> WORK YET!</font>
1798    
1799    <p>It is tricky to install, because there is (as far as I know) no INSTALL
1800    kernel. One way to install the NetBSD/netwinder distribution onto a disk
1801    image is to install the files using another (emulated) machine.
1802    
1803    <p>
1804    The following instructions will let you install the NetBSD/netwinder
1805    distribution onto a disk image, from an emulated DECstation 3MAX machine:
1806    
1807    <p>
1808    <ol>
1809      <li>Install NetBSD/pmax 2.1 according to instructions
1810            <a href="#netbsdinstall">further up on this page</a>.
1811      <p>
1812      <li>Create an empty harddisk image, which will be the disk image
1813            that you will install NetBSD onto:<pre>
1814            <b>dd if=/dev/zero of=nbsd_netwinder.img bs=1024 count=1 seek=999000</b>
1815    
1816    </pre>
1817      <li>Download the generic kernel and the 2.1 ISO image:<pre>
1818            <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.1/netwinder/binary/kernel/netbsd-GENERIC.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.1/netwinder/binary/kernel/netbsd-GENERIC.gz</a>
1819            <a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/2.1/netwindercd.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/2.1/netwindercd.iso</a>
1820    
1821    </pre>
1822      <p>
1823      <li>Start NetBSD/pmax like this:<pre>
1824            <b>gxemul -e 3max -A -d nbsd_pmax.img -d nbsd_netwinder.img -d netwinder.iso</b>
1825    
1826    </pre>and execute the following commands as <tt>root</tt>:
1827    <p><table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>
1828    <b>newfs /dev/sd1c
1829    mount /dev/cd0c /mnt
1830    mkdir /mnt2; mount /dev/sd1c /mnt2
1831    cd /mnt2; sh
1832    for a in /mnt/netwinder/binary/sets/*.tgz; do echo $a; tar zxfp $a; done
1833    exit
1834    cd dev; sh ./MAKEDEV all; cd ../etc
1835    echo rc_configured=YES >> rc.conf
1836    echo "/dev/wd0c / ffs rw 1 1" > fstab
1837    cd /; umount /mnt; umount /mnt2; halt</b>
1838    </pre></td></tr></table>
1839    </ol>
1840    
1841    <p>NetBSD/netwinder is now installed on the disk image. But actually
1842    running it does <b>not work yet</b>. Sorry.
1843    
1844    <p>Something like the following command line would be used to start
1845    NetBSD, if it worked:<pre>
1846            <b>gxemul -E netwinder -d nbsd_netwinder.img netbsd-GENERIC.gz</b>
1847    </pre>
1848    
1849    <p>Note: The installation instructions above create a filesystem
1850    <i>without</i> a disklabel, so there is only one ffs partition and no
1851    swap. You will need to enter the following things when booting with the
1852    generic kernel:<pre>
1853            root device (default wd0a): <b>wd0c</b>
1854            dump device (default wd0b): <b>none</b>
1855            file system (default generic):    <i>(just press enter)</i>
1856            init path (default /sbin/init):   <i>(just press enter)</i>
1857    </pre>
1858    
1859    
1860    
1861    
1862    
1863    

Legend:
Removed from v.12  
changed lines
  Added in v.20

  ViewVC Help
Powered by ViewVC 1.1.26