/[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 13 by dpavlin, Mon Oct 8 16:18:38 2007 UTC revision 14 by dpavlin, Mon Oct 8 16:18:51 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.91 2005/10/07 15:44:03 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="#openbsdinstall">OpenBSD/pmax</a>    <li><a href="#openbsdinstall">OpenBSD/pmax</a>
59    <li><a href="#openbsdarcinstall">OpenBSD/arc</a>    <li><a href="#openbsdarcinstall">OpenBSD/arc</a>
60      <li><a href="#openbsdcatsinstall">OpenBSD/cats</a>
61    <li><a href="#ultrixinstall">Ultrix/RISC</a>    <li><a href="#ultrixinstall">Ultrix/RISC</a>
62    <li><a href="#sprite">Sprite for DECstation</a>    <li><a href="#sprite">Sprite for DECstation</a>
63    <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 69  you might find the following information
69  <ul>  <ul>
70    <li><a href="#mach">Mach/PMAX</a>    <li><a href="#mach">Mach/PMAX</a>
71    <li><a href="#openbsdsgiinstall">OpenBSD/sgi</a>    <li><a href="#openbsdsgiinstall">OpenBSD/sgi</a>
72      <li><a href="#netbsdnetwinderinstall">NetBSD/netwinder</a>
73  </ul>  </ul>
74    
75    
# Line 199  and log in as <tt>root</tt> and type <tt Line 202  and log in as <tt>root</tt> and type <tt
202  <a name="netbsdarcinstall"></a>  <a name="netbsdarcinstall"></a>
203  <h3>NetBSD/arc:</h3>  <h3>NetBSD/arc:</h3>
204    
205  It is possible to run <a  It is possible to install and run <a
206  href="http://www.netbsd.org/Ports/arc/">NetBSD/arc</a>  href="http://www.netbsd.org/Ports/arc/">NetBSD/arc</a>
207  on an emulated Acer PICA-61 in the emulator.  on an emulated Acer PICA-61 in the emulator.
208    
# 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 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>
749    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
750    <a href="20051007-netbsd-cats-installed.png"><img src="20051007-netbsd-cats-installed_small.png"></a>
751    
752    <p>
753    To install NetBSD/cats onto a disk image, follow these instructions:
754    
755    <p>
756    <ol start="1">
757      <li>Create an empty harddisk image, which will be the root disk
758            that you will install NetBSD/hpcmips onto:<pre>
759            <b>dd if=/dev/zero of=nbsd_cats.img bs=1024 count=1 seek=1990000</b>
760    
761    </pre>
762      <li>Download the NetBSD/cats 2.0.2 ISO image and generic + install kernels:<pre>
763            <a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/2.0.2/catscd.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/2.0.2/catscd.iso</a>
764            <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0.2/cats/binary/kernel/netbsd.aout-GENERIC.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0.2/cats/binary/kernel/netbsd.aout-GENERIC.gz</a>
765            <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0.2/cats/binary/kernel/netbsd.aout-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0.2/cats/binary/kernel/netbsd.aout-INSTALL.gz</a>
766    
767    </pre>
768      <p>
769      <li>Start the installation like this:<pre>
770            <b>gxemul -X -E cats -d nbsd_cats.img -d catscd.iso netbsd.aout-INSTALL.gz</b>
771    
772    </pre>
773            and proceed like you would do if you were installing NetBSD on a real
774            CATS from CDROM. (Install onto wd0, and choose wd1c (not cd0c) as the
775            CDROM device to install from.)
776    </ol>
777    
778    <p>
779    If everything worked, NetBSD should now be installed on the disk image.
780    Use the following command line to boot the emulated CATS machine:<pre>
781            <b>gxemul -X -E cats -d nbsd_cats.img netbsd.aout-GENERIC.gz</b>
782    
783    </pre>
784    
785    
786    
787    
788    
789    
790    
791    
792  <p><br>  <p><br>
793  <a name="openbsdinstall"></a>  <a name="openbsdinstall"></a>
# Line 882  enter <b><tt>rcons</tt></b> if you are u Line 934  enter <b><tt>rcons</tt></b> if you are u
934  <a name="openbsdarcinstall"></a>  <a name="openbsdarcinstall"></a>
935  <h3>OpenBSD/arc:</h3>  <h3>OpenBSD/arc:</h3>
936    
937  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
938  emulator.  in the emulator.
939    
940  <p>  <p>
941  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
# Line 943  boot from the harddisk image: Line 995  boot from the harddisk image:
995    
996    
997    
998    
999    <p><br>
1000    <a name="openbsdcatsinstall"></a>
1001    <h3>OpenBSD/cats:</h3>
1002    
1003    It is possible to install and run
1004    <a href="http://www.openbsd.org/cats.html">OpenBSD/cats</a>
1005    in GXemul.
1006    
1007    <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1008    <a href="20051007-openbsd-cats-installed.png"><img src="20051007-openbsd-cats-installed_small.png"></a>
1009    
1010    <p>To install OpenBSD/cats onto an emulated harddisk image,
1011    follow these instructions:
1012    
1013    <p>
1014    <ol>
1015      <li>Create an empty harddisk image, which will be the root disk
1016            that OpenBSD installs itself onto:<pre>
1017            <b>dd if=/dev/zero of=obsd_cats.img bs=1024 count=1 seek=1900000</b>
1018    
1019    </pre>
1020      <li>Download the entire cats directory from the ftp server:<pre>
1021            <b>wget -np -l 0 -r <a href="ftp://ftp.openbsd.org/pub/OpenBSD/3.7/cats/">ftp://ftp.openbsd.org/pub/OpenBSD/3.7/cats/</a></b>
1022    
1023    </pre>
1024    
1025      <li>You now need to make an ISO image of the entire directory you downloaded.
1026            (I recommend using <tt>mkisofs</tt> for that purpose. If you don't
1027            already have <tt>mkisofs</tt> installed on your system, you need
1028            to install it in order to do this.)<pre>
1029            <b>mkisofs -allow-lowercase -o openbsd_cats_3.7.iso ftp.openbsd.org/pub/OpenBSD/3.7/cats</b>
1030    
1031    </pre>
1032      <li>Start the emulator using this command line:<pre>
1033            <b>gxemul -X -E cats -d obsd_cats.img -d openbsd_cats_3.7.iso  \
1034                ftp.openbsd.org/pub/OpenBSD/3.7/cats/bsd.rd</b>
1035    
1036    </pre>
1037            and proceed like you would do if you were installing OpenBSD
1038            on a real CATS. (Install onto wd0, don't configure the network,
1039            choose to install distribution sets from <i>disk</i> wd1 (i.e.
1040            not CDROM) partition a, path '/'.)
1041    </ol>
1042    
1043    <p><b>NOTE (<font color="#f00000">2005-10-07</font>):</b> The ARM
1044    emulation mode is very new, I haven't had time to find and fix all bugs
1045    yet. During install, it seems that the MAKEDEV script dumps core. Before
1046    you can boot OpenBSD/cats for the first time, you need to manually run the
1047    MAKEDEV script: <pre>
1048            <b>gxemul -X -E cats -d obsd_cats.img ftp.openbsd.org/pub/OpenBSD/3.7/arc/bsd</b>
1049            (press s, for Shell)
1050            mount /dev/wd0a /mnt; cd mnt/dev
1051            sh MAKEDEV all
1052            sh MAKEDEV wd
1053            cd /; umount mnt; halt
1054    </pre>
1055    Hopefully this isn't a serious bug.
1056    
1057    <p>
1058    Once the install has finished, the following command should let you
1059    boot from the harddisk image:
1060    <p>
1061    <pre>
1062            <b>gxemul -X -E cats -d obsd_cats.img ftp.openbsd.org/pub/OpenBSD/3.7/arc/bsd</b>
1063    
1064    </pre>
1065    
1066    <p>When asked about which drive to boot from, enter <tt>wd0</tt>.
1067    
1068    
1069    
1070    
1071    
1072    
1073    
1074    
1075    
1076  <p><br>  <p><br>
1077  <a name="ultrixinstall"></a>  <a name="ultrixinstall"></a>
1078  <h3>Ultrix/RISC:</h3>  <h3>Ultrix/RISC:</h3>
# Line 1312  actually interact with the sytem. :-( Line 1442  actually interact with the sytem. :-(
1442  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
1443  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
1444  from <a href="http://www.linux-mips.org/">linux-mips</a>' CVS.  from <a href="http://www.linux-mips.org/">linux-mips</a>' CVS.
1445  <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>  
1446  It should work with framebuffer/keyboard.&nbsp;]  It should work with framebuffer/keyboard.&nbsp;]
1447    
1448    
# Line 1575  fetch several cups of coffee for each of Line 1704  fetch several cups of coffee for each of
1704    
1705    
1706    
1707    
1708    
1709    
1710    
1711    
1712    <p><br>
1713    <a name="netbsdnetwinderinstall"></a>
1714    <h3>NetBSD/netwinder:</h3>
1715    
1716    <a href="http://www.netbsd.org/Ports/netwinder/">NetBSD/netwinder</a>
1717    could possibly run in GXemul. <font color="#ff0000">IT DOES <b>NOT</b> WORK YET!</font>
1718    
1719    <p>It is tricky to install, because there is (as far as I know) no INSTALL
1720    kernel. One way to install the NetBSD/netwinder distribution onto a disk
1721    image is to install the files using another (emulated) machine.
1722    
1723    <p>
1724    The following instructions will let you install the NetBSD/netwinder
1725    distribution onto a disk image, from an emulated DECstation 3MAX machine:
1726    
1727    <p>
1728    <ol>
1729      <li>Install NetBSD/pmax 2.0.2 according to instructions
1730            <a href="#netbsdinstall">further up on this page</a>.
1731      <p>
1732      <li>Create an empty harddisk image, which will be the disk image
1733            that you will install NetBSD onto:<pre>
1734            <b>dd if=/dev/zero of=nbsd_netwinder.img bs=1024 count=1 seek=999000</b>
1735    
1736    </pre>
1737      <li>Download the generic kernel and the 2.0.2 ISO image:<pre>
1738            <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0.2/netwinder/binary/kernel/netbsd-GENERIC.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0.2/netwinder/binary/kernel/netbsd-GENERIC.gz</a>
1739            <a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/2.0.2/netwindercd.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/2.0.2/netwindercd.iso</a>
1740    
1741    </pre>
1742      <p>
1743      <li>Start NetBSD/pmax like this:<pre>
1744            <b>gxemul -e 3max -A -d nbsd_pmax.img -d nbsd_netwinder.img -d netwinder.iso</b>
1745    
1746    </pre>and execute the following commands as <tt>root</tt>:
1747    <p><table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>
1748    <b>newfs /dev/sd1c
1749    mount /dev/cd0c /mnt
1750    mkdir /mnt2; mount /dev/sd1c /mnt2
1751    cd /mnt2; sh
1752    for a in /mnt/netwinder/binary/sets/*.tgz; do echo $a; tar zxfp $a; done
1753    exit
1754    cd dev; sh ./MAKEDEV all; cd ../etc
1755    echo rc_configured=YES >> rc.conf
1756    echo "/dev/wd0c / ffs rw 1 1" > fstab
1757    cd /; umount /mnt; umount /mnt2; halt</b>
1758    </pre></td></tr></table>
1759    </ol>
1760    
1761    <p>You should now be able to boot NetBSD/evbmips using this command:<pre>
1762            <b>gxemul -E netwinder -d nbsd_netwinder.img netbsd-GENERIC.gz</b>
1763    </pre>
1764    
1765    <p>Note: The installation instructions above create a filesystem
1766    <i>without</i> a disklabel, so there is only one ffs partition and no
1767    swap. You will need to enter the following things when booting with the
1768    generic kernel:<pre>
1769            root device (default wd0a): <b>wd0c</b>
1770            dump device (default wd0b): <b>none</b>
1771            file system (default generic):    <i>(just press enter)</i>
1772            init path (default /sbin/init):   <i>(just press enter)</i>
1773    </pre>
1774    
1775    
1776    
1777    
1778    
1779    

Legend:
Removed from v.13  
changed lines
  Added in v.14

  ViewVC Help
Powered by ViewVC 1.1.26