/[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 18 by dpavlin, Mon Oct 8 16:19:11 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.96 2005/10/22 17:24:19 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/cats 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 -XEcats -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>If everything worked, NetBSD should now be installed on the disk image.
779    Use the following command line to boot the emulated CATS machine:<pre>
780            <b>gxemul -XEcats -d nbsd_cats.img netbsd.aout-GENERIC.gz</b>
781    
782    </pre>
783    
784    <p>When asked for root device, enter <tt>wd0</tt>.
785    
786    
787    
788    
789    
790    
791  <p><br>  <p><br>
792  <a name="openbsdinstall"></a>  <a name="openbsdinstall"></a>
# Line 882  enter <b><tt>rcons</tt></b> if you are u Line 933  enter <b><tt>rcons</tt></b> if you are u
933  <a name="openbsdarcinstall"></a>  <a name="openbsdarcinstall"></a>
934  <h3>OpenBSD/arc:</h3>  <h3>OpenBSD/arc:</h3>
935    
936  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
937  emulator.  in the emulator.
938    
939  <p>  <p>
940  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
# Line 943  boot from the harddisk image: Line 994  boot from the harddisk image:
994    
995    
996    
997    
998    <p><br>
999    <a name="openbsdcatsinstall"></a>
1000    <h3>OpenBSD/cats:</h3>
1001    
1002    It is possible to install and run
1003    <a href="http://www.openbsd.org/cats.html">OpenBSD/cats</a>
1004    in GXemul.
1005    
1006    <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1007    <a href="20051007-openbsd-cats-installed.png"><img src="20051007-openbsd-cats-installed_small.png"></a>
1008    
1009    <p>To install OpenBSD/cats onto an emulated harddisk image,
1010    follow these instructions:
1011    
1012    <p>
1013    <ol>
1014      <li>Create an empty harddisk image, which will be the root disk
1015            that OpenBSD installs itself onto:<pre>
1016            <b>dd if=/dev/zero of=obsd_cats.img bs=1024 count=1 seek=1900000</b>
1017    
1018    </pre>
1019      <li>Download the entire cats directory from the ftp server:<pre>
1020            <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>
1021            <b>cp ftp.openbsd.org/pub/OpenBSD/3.7/cats/bsd .</b>
1022            <b>cp ftp.openbsd.org/pub/OpenBSD/3.7/cats/bsd.rd .</b>
1023    
1024    </pre>
1025    
1026      <li>You now need to make an ISO image of the entire directory you downloaded.
1027            (I recommend using <tt>mkisofs</tt> for that purpose. If you don't
1028            already have <tt>mkisofs</tt> installed on your system, you need
1029            to install it in order to do this.)<pre>
1030            <b>mkisofs -allow-lowercase -o openbsd_cats_3.7.iso ftp.openbsd.org/pub/OpenBSD/3.7/cats</b>
1031    
1032    </pre>
1033      <li>Start the emulator using this command line:<pre>
1034            <b>gxemul -XEcats -d obsd_cats.img -d openbsd_cats_3.7.iso 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 <tt>wd0</tt>, don't configure the
1039            network, choose to install distribution sets from <i>disk</i>
1040            <tt>wd1</tt> (i.e. not CDROM) partition '<tt>a</tt>',
1041            relative path '<tt>/</tt>'.)
1042    </ol>
1043    
1044    <p><b>NOTE:</b> Make sure that you <tt>sync</tt> and <tt>reboot</tt>
1045    correctly once the installation is finished, or the <tt>/dev</tt> nodes
1046    may not have been written correctly to disk.
1047    
1048    <p>Once the install has finished, the following command should let you
1049    boot from the harddisk image:
1050    
1051    <p><pre>
1052            <b>gxemul -XEcats -d obsd_cats.img bsd</b>
1053    
1054    </pre>
1055    
1056    
1057    
1058    
1059    
1060    
1061    
1062  <p><br>  <p><br>
1063  <a name="ultrixinstall"></a>  <a name="ultrixinstall"></a>
1064  <h3>Ultrix/RISC:</h3>  <h3>Ultrix/RISC:</h3>
# Line 1312  actually interact with the sytem. :-( Line 1428  actually interact with the sytem. :-(
1428  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
1429  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
1430  from <a href="http://www.linux-mips.org/">linux-mips</a>' CVS.  from <a href="http://www.linux-mips.org/">linux-mips</a>' CVS.
1431  <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>  
1432  It should work with framebuffer/keyboard.&nbsp;]  It should work with framebuffer/keyboard.&nbsp;]
1433    
1434    
# Line 1575  fetch several cups of coffee for each of Line 1690  fetch several cups of coffee for each of
1690    
1691    
1692    
1693    
1694    
1695    
1696    
1697    
1698    <p><br>
1699    <a name="netbsdnetwinderinstall"></a>
1700    <h3>NetBSD/netwinder:</h3>
1701    
1702    <a href="http://www.netbsd.org/Ports/netwinder/">NetBSD/netwinder</a>
1703    could possibly run in GXemul. <font color="#ff0000">IT DOES <b>NOT</b> WORK YET!</font>
1704    
1705    <p>It is tricky to install, because there is (as far as I know) no INSTALL
1706    kernel. One way to install the NetBSD/netwinder distribution onto a disk
1707    image is to install the files using another (emulated) machine.
1708    
1709    <p>
1710    The following instructions will let you install the NetBSD/netwinder
1711    distribution onto a disk image, from an emulated DECstation 3MAX machine:
1712    
1713    <p>
1714    <ol>
1715      <li>Install NetBSD/pmax 2.0.2 according to instructions
1716            <a href="#netbsdinstall">further up on this page</a>.
1717      <p>
1718      <li>Create an empty harddisk image, which will be the disk image
1719            that you will install NetBSD onto:<pre>
1720            <b>dd if=/dev/zero of=nbsd_netwinder.img bs=1024 count=1 seek=999000</b>
1721    
1722    </pre>
1723      <li>Download the generic kernel and the 2.0.2 ISO image:<pre>
1724            <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>
1725            <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>
1726    
1727    </pre>
1728      <p>
1729      <li>Start NetBSD/pmax like this:<pre>
1730            <b>gxemul -e 3max -A -d nbsd_pmax.img -d nbsd_netwinder.img -d netwinder.iso</b>
1731    
1732    </pre>and execute the following commands as <tt>root</tt>:
1733    <p><table border="0"><tr><td><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td><pre>
1734    <b>newfs /dev/sd1c
1735    mount /dev/cd0c /mnt
1736    mkdir /mnt2; mount /dev/sd1c /mnt2
1737    cd /mnt2; sh
1738    for a in /mnt/netwinder/binary/sets/*.tgz; do echo $a; tar zxfp $a; done
1739    exit
1740    cd dev; sh ./MAKEDEV all; cd ../etc
1741    echo rc_configured=YES >> rc.conf
1742    echo "/dev/wd0c / ffs rw 1 1" > fstab
1743    cd /; umount /mnt; umount /mnt2; halt</b>
1744    </pre></td></tr></table>
1745    </ol>
1746    
1747    <p>You should now be able to boot NetBSD/evbmips using this command:<pre>
1748            <b>gxemul -E netwinder -d nbsd_netwinder.img netbsd-GENERIC.gz</b>
1749    </pre>
1750    
1751    <p>Note: The installation instructions above create a filesystem
1752    <i>without</i> a disklabel, so there is only one ffs partition and no
1753    swap. You will need to enter the following things when booting with the
1754    generic kernel:<pre>
1755            root device (default wd0a): <b>wd0c</b>
1756            dump device (default wd0b): <b>none</b>
1757            file system (default generic):    <i>(just press enter)</i>
1758            init path (default /sbin/init):   <i>(just press enter)</i>
1759    </pre>
1760    
1761    
1762    
1763    
1764    
1765    

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

  ViewVC Help
Powered by ViewVC 1.1.26