10 |
|
|
11 |
<!-- |
<!-- |
12 |
|
|
13 |
$Id: guestoses.html,v 1.212 2007/04/14 05:38:00 debug Exp $ |
$Id: guestoses.html,v 1.219 2007/05/01 04:03:34 debug Exp $ |
14 |
|
|
15 |
Copyright (C) 2003-2007 Anders Gavare. All rights reserved. |
Copyright (C) 2003-2007 Anders Gavare. All rights reserved. |
16 |
|
|
64 |
<li><a href="dreamcast.html#linux_live_cd">Linux/dreamcast</a> |
<li><a href="dreamcast.html#linux_live_cd">Linux/dreamcast</a> |
65 |
<li><a href="#openbsdpmaxinstall">OpenBSD/pmax 2.8-BETA</a> |
<li><a href="#openbsdpmaxinstall">OpenBSD/pmax 2.8-BETA</a> |
66 |
<li><a href="#openbsdcatsinstall">OpenBSD/cats 4.0</a> |
<li><a href="#openbsdcatsinstall">OpenBSD/cats 4.0</a> |
67 |
|
<li><a href="#openbsdlandiskinstall">OpenBSD/landisk 4.1</a> |
68 |
<li><a href="#ultrixinstall">Ultrix/RISC 4.5</a> |
<li><a href="#ultrixinstall">Ultrix/RISC 4.5</a> |
69 |
<li><a href="#sprite">Sprite for DECstation</a> |
<li><a href="#sprite">Sprite for DECstation</a> |
70 |
<li><a href="#declinux">Debian GNU/Linux for DECstation</a> |
<li><a href="#declinux">Debian GNU/Linux for DECstation</a> |
108 |
<li><a href="#windows_nt_mips">Windows NT/MIPS</a> |
<li><a href="#windows_nt_mips">Windows NT/MIPS</a> |
109 |
<li><a href="#netbsdbeboxinstall">NetBSD/bebox 19981119</a> |
<li><a href="#netbsdbeboxinstall">NetBSD/bebox 19981119</a> |
110 |
<li><a href="#netbsdlandiskinstall">NetBSD/landisk</a> |
<li><a href="#netbsdlandiskinstall">NetBSD/landisk</a> |
|
<li><a href="#openbsdlandiskinstall">OpenBSD/landisk</a> |
|
111 |
</ul> |
</ul> |
112 |
|
|
113 |
<p><b><font color="#ff0000">NOTE:</b> |
<p><b><font color="#ff0000">NOTE:</b> |
214 |
</pre> |
</pre> |
215 |
(If using 10.0.0.254 as the nameserver fails, then try entering the |
(If using 10.0.0.254 as the nameserver fails, then try entering the |
216 |
IP number of a real-world nameserver instead.) |
IP number of a real-world nameserver instead.) |
217 |
|
<p> |
218 |
|
Note that NetBSD 1.6.2 is nowadays located at |
219 |
|
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/NetBSD-1.6.2">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/NetBSD-1.6.2</a> |
220 |
|
(note <tt>NetBSD-archive</tt> part). |
221 |
</ol> |
</ol> |
222 |
|
|
223 |
<p>If you want to use a graphical framebuffer during the install, you can |
<p>If you want to use a graphical framebuffer during the install, you can |
506 |
</ol> |
</ol> |
507 |
|
|
508 |
<p>You should now be able to boot NetBSD/evbmips using this command:<pre> |
<p>You should now be able to boot NetBSD/evbmips using this command:<pre> |
509 |
<b>gxemul -e malta -d nbsd_malta.img netbsd-MALTA.gz</b> |
<b>gxemul -x -e malta -d nbsd_malta.img netbsd-MALTA.gz</b> |
510 |
</pre> |
</pre> |
511 |
|
|
512 |
<p>NOTE: To select a 4Kc (MIPS32) CPU instead of the default 5Kc |
<p>NOTE: To select a 4Kc (MIPS32) CPU instead of the default 5Kc |
878 |
|
|
879 |
<p> |
<p> |
880 |
<ol> |
<ol> |
881 |
<li>Install NetBSD/cats 3.1 according to instructions |
<li>Download a NetBSD/cats 3.1 ramdisk kernel:<pre> |
882 |
<a href="#netbsdcatsinstall">further up on this page</a>. |
<b>wget <a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/cats/binary/kernel/netbsd.aout-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/cats/binary/kernel/netbsd.aout-INSTALL.gz</a></b> |
883 |
<p> |
|
884 |
|
</pre> |
885 |
<li>Create an empty harddisk image, which will be the disk image |
<li>Create an empty harddisk image, which will be the disk image |
886 |
that you will install NetBSD onto:<pre> |
that you will install NetBSD/evbarm onto:<pre> |
887 |
<b>dd if=/dev/zero of=nbsd_iq80321.img bs=1024 count=1 seek=999000</b> |
<b>dd if=/dev/zero of=nbsd_iq80321.img bs=1024 count=1 seek=999000</b> |
888 |
|
|
889 |
</pre> |
</pre> |
893 |
|
|
894 |
</pre> |
</pre> |
895 |
<p> |
<p> |
896 |
<li>The first step is to copy the distribution .tgz files onto the CATS |
<li>Now let's extract the files from the CD-ROM image onto the IQ80321's disk image. Start the |
897 |
machine's harddisk. Start the CATS machine like this:<pre> |
CATS machine using the following command line:<pre> |
898 |
<b>gxemul -XEcats -d nbsd_cats.img -d evbarmcd.iso netbsd.aout-GENERIC.gz</b> |
<b>gxemul -XEcats -d nbsd_iq80321.img -d evbarmcd.iso netbsd.aout-INSTALL.gz</b> |
899 |
|
|
900 |
</pre>and execute the following commands as <tt>root</tt>: |
</pre>Exit from the installer, and execute the following commands as <tt>root</tt>: |
901 |
<p><table border="0"><tr><td><tt> </tt></td><td><pre> |
<p><table border="0"><tr><td><tt> </tt></td><td><pre> |
|
<b>mount /dev/cd0a /mnt; cd /root; cp /mnt/evbarm/binary/sets/[bcegmt]* . |
|
|
sync; halt</b> |
|
|
</pre></td></tr></table> |
|
|
<p> |
|
|
<li>Now let's extract the files onto the IQ80321's disk image. Start the |
|
|
CATS machine again, with the following command line:<pre> |
|
|
<b>gxemul -XEcats -d nbsd_cats.img -d nbsd_iq80321.img netbsd.aout-GENERIC.gz</b> |
|
902 |
|
|
903 |
</pre>and execute the following commands as <tt>root</tt>: |
<b>disklabel -I -i wd0</b> |
|
<p><table border="0"><tr><td><tt> </tt></td><td><pre> |
|
|
<b>disklabel -I -i wd1</b> |
|
904 |
(enter suitable commands, e.g. <i>a, 4.2BSD, 1c, 750M, b, |
(enter suitable commands, e.g. <i>a, 4.2BSD, 1c, 750M, b, |
905 |
swap, a, 200M, P, W, y, Q</i>) |
swap, a, 200M, P, W, y, Q</i>) |
906 |
<b>newfs /dev/wd1a; mount /dev/wd1a /mnt; cd /mnt; sh |
<b>newfs /dev/wd0a; mount /dev/wd0a /mnt2; cd /mnt2 |
907 |
for a in /root/[bcegmt]*.tgz; do echo $a; tar zxfp $a; done |
mount /dev/cd0a /mnt; sh |
908 |
|
for a in /mnt/*/binary/sets/[bcegmt]*.tgz; do echo $a; tar zxfp $a; done |
909 |
exit |
exit |
910 |
cd dev; sh ./MAKEDEV all; cd ../etc |
cd dev; sh ./MAKEDEV all; cd ../etc |
911 |
echo rc_configured=YES >> rc.conf |
echo rc_configured=YES >> rc.conf |
912 |
echo "/dev/wd0a / ffs rw 1 1" > fstab |
echo "/dev/wd0a / ffs rw 1 1" > fstab |
913 |
echo "/dev/wd0b none swap sw 0 0" >> fstab |
echo "/dev/wd0b none swap sw 0 0" >> fstab |
914 |
cd /; umount /mnt; sync; halt</b> |
cd /; umount /mnt; umount /mnt2; sync; halt</b> |
915 |
</pre></td></tr></table> |
</pre></td></tr></table> |
916 |
</ol> |
</ol> |
917 |
|
|
918 |
<p>You should now be able to boot NetBSD/evbarm using this command:<pre> |
<p>You should now be able to boot NetBSD/evbarm using this command:<pre> |
919 |
<b>gxemul -xEiq80321 -d nbsd_iq80321.img netbsd-wd0-IQ80321.gz</b> |
<b>gxemul -x -E iq80321 -d nbsd_iq80321.img netbsd-wd0-IQ80321.gz</b> |
920 |
</pre> |
</pre> |
921 |
|
|
922 |
|
|
1431 |
|
|
1432 |
|
|
1433 |
<p><br> |
<p><br> |
1434 |
|
<a name="openbsdlandiskinstall"></a> |
1435 |
|
<h3>OpenBSD/landisk:</h3> |
1436 |
|
|
1437 |
|
It is possible to install and run |
1438 |
|
<a href="http://www.openbsd.org/landisk.html">OpenBSD/landisk</a> |
1439 |
|
in GXemul. |
1440 |
|
|
1441 |
|
<p> |
1442 |
|
<a href="20070419-openbsd-landisk.png"><img src="20070419-openbsd-landisk_small.png"></a> |
1443 |
|
|
1444 |
|
<p>To install OpenBSD/landisk onto an emulated harddisk image, |
1445 |
|
follow these instructions: |
1446 |
|
|
1447 |
|
<p> |
1448 |
|
<ol> |
1449 |
|
<li>Create an empty harddisk image, which will be the root disk |
1450 |
|
that OpenBSD installs itself onto:<pre> |
1451 |
|
<b>dd if=/dev/zero of=obsd_landisk.img bs=1024 count=1 seek=2000000</b> |
1452 |
|
|
1453 |
|
</pre> |
1454 |
|
<li>Download the entire landisk directory from the ftp server:<pre> |
1455 |
|
<b>wget -np -l 0 -r <a href="ftp://ftp.se.openbsd.org/pub/OpenBSD/4.1/landisk/">ftp://ftp.se.openbsd.org/pub/OpenBSD/4.1/landisk/</a></b> |
1456 |
|
<b>cp ftp.se.openbsd.org/pub/OpenBSD/4.1/landisk/bsd .</b> |
1457 |
|
<b>cp ftp.se.openbsd.org/pub/OpenBSD/4.1/landisk/bsd.rd .</b> |
1458 |
|
|
1459 |
|
</pre> |
1460 |
|
(Replace ftp.se.openbsd.org with a server closer to you, for |
1461 |
|
increased download speed.) |
1462 |
|
<p> |
1463 |
|
<li>You now need to make an ISO image of the entire directory you downloaded. |
1464 |
|
(I recommend using <tt>mkisofs</tt> for that purpose. If you don't |
1465 |
|
already have <tt>mkisofs</tt> installed on your system, you need |
1466 |
|
to install it in order to do this.)<pre> |
1467 |
|
<b>mkisofs -U -o openbsd_landisk_4.1.iso ftp.se.openbsd.org/pub/OpenBSD/</b> |
1468 |
|
<b>rm -rf ftp.se.openbsd.org</b> <i>(this directory is not needed anymore)</i> |
1469 |
|
|
1470 |
|
</pre> |
1471 |
|
<li>Start the emulator using this command line:<pre> |
1472 |
|
<b>gxemul -x -E landisk -d obsd_landisk.img -d d:openbsd_landisk_4.1.iso bsd.rd</b> |
1473 |
|
|
1474 |
|
</pre> |
1475 |
|
and proceed like you would do if you were installing OpenBSD |
1476 |
|
on a real landisk. The following hints are useful to get you |
1477 |
|
through the installation: |
1478 |
|
<ul> |
1479 |
|
<li>Terminal type = <b>xterm</b> |
1480 |
|
<li>root disk = <b>wd0</b> (the disk to install onto) |
1481 |
|
<li>Use the entire disk for OpenBSD = <b>yes</b> |
1482 |
|
<li>Create one big root partition (a) and a small swap partition (b). c is the entire disk. |
1483 |
|
<li>Do <b>not</b> configure the network. (The Realtek NIC |
1484 |
|
found in the Landisk machine is not implemented yet |
1485 |
|
in the emulator.) |
1486 |
|
<li>Location of sets = <b>disk</b> |
1487 |
|
<li>Is the disk partition already mounted = <b>no</b> |
1488 |
|
<li>Disk containing the install media = <b>wd1</b> |
1489 |
|
<li>Pathname to the sets = <b>4.1/landisk</b> |
1490 |
|
</ul> |
1491 |
|
</ol> |
1492 |
|
|
1493 |
|
<p>Once the install has finished, the following command should let you |
1494 |
|
boot from the disk image: |
1495 |
|
|
1496 |
|
<p><pre> |
1497 |
|
<b>gxemul -x -E landisk -d obsd_landisk.img bsd</b> |
1498 |
|
|
1499 |
|
</pre> |
1500 |
|
|
1501 |
|
<p>As with most emulation modes in GXemul, the NIC in this machine is |
1502 |
|
not emulated yet. If you want to transfer files to/from the emulated |
1503 |
|
landisk machine, see |
1504 |
|
<a href="misc.html#filexfer">this chapter</a> in the documentation. |
1505 |
|
|
1506 |
|
|
1507 |
|
|
1508 |
|
|
1509 |
|
|
1510 |
|
|
1511 |
|
|
1512 |
|
<p><br> |
1513 |
<a name="ultrixinstall"></a> |
<a name="ultrixinstall"></a> |
1514 |
<h3>Ultrix/RISC:</h3> |
<h3>Ultrix/RISC:</h3> |
1515 |
|
|
1992 |
mailed Adaptec several times, asking for documentation, but never received |
mailed Adaptec several times, asking for documentation, but never received |
1993 |
any reply.) OpenBSD/sgi can still run in the emulator, as long as it doesn't |
any reply.) OpenBSD/sgi can still run in the emulator, as long as it doesn't |
1994 |
use SCSI. For a simple test with the ramdisk (install) kernel, try dowloading<pre> |
use SCSI. For a simple test with the ramdisk (install) kernel, try dowloading<pre> |
1995 |
<a href="ftp://ftp.se.openbsd.org/pub/OpenBSD/3.9/sgi/">ftp://ftp.se.openbsd.org/pub/OpenBSD/3.9/sgi</a>/<a href="ftp://ftp.se.openbsd.org/pub/OpenBSD/3.9/sgi/bsd.rd">bsd.rd</a> |
<a href="ftp://ftp.se.openbsd.org/pub/OpenBSD/4.0/sgi/">ftp://ftp.se.openbsd.org/pub/OpenBSD/4.0/sgi</a>/<a href="ftp://ftp.se.openbsd.org/pub/OpenBSD/4.0/sgi/bsd.rd">bsd.rd</a> |
1996 |
|
|
1997 |
</pre>and run <b><tt>gxemul -xeo2 bsd.rd</tt></b>. |
</pre>and run <b><tt>gxemul -xeo2 bsd.rd</tt></b>. |
1998 |
|
|
2034 |
<table border="0"><tr><td><tt> </tt></td><td><pre> |
<table border="0"><tr><td><tt> </tt></td><td><pre> |
2035 |
<b>cd /tftpboot; ftp -i ftp.se.openbsd.org</b> |
<b>cd /tftpboot; ftp -i ftp.se.openbsd.org</b> |
2036 |
(log in as anonymous...) |
(log in as anonymous...) |
2037 |
<b>cd pub/OpenBSD/3.9/sgi |
<b>cd pub/OpenBSD/4.0/sgi |
2038 |
mget b*tgz c*tgz e* g* m* |
mget b*tgz c*tgz e* g* m* |
2039 |
quit |
quit |
2040 |
sh |
sh |
2045 |
halt</b> |
halt</b> |
2046 |
</pre></td></tr></table> |
</pre></td></tr></table> |
2047 |
<li>Download the OpenBSD/sgi GENERIC and RAMDISK kernels:<pre> |
<li>Download the OpenBSD/sgi GENERIC and RAMDISK kernels:<pre> |
2048 |
<a href="ftp://ftp.se.openbsd.org/pub/OpenBSD/3.9/sgi/bsd">ftp://ftp.se.openbsd.org/pub/OpenBSD/3.9/sgi/bsd</a> |
<a href="ftp://ftp.se.openbsd.org/pub/OpenBSD/4.0/sgi/bsd">ftp://ftp.se.openbsd.org/pub/OpenBSD/4.0/sgi/bsd</a> |
2049 |
<a href="ftp://ftp.se.openbsd.org/pub/OpenBSD/3.9/sgi/bsd.rd">ftp://ftp.se.openbsd.org/pub/OpenBSD/3.9/sgi/bsd.rd</a> |
<a href="ftp://ftp.se.openbsd.org/pub/OpenBSD/4.0/sgi/bsd.rd">ftp://ftp.se.openbsd.org/pub/OpenBSD/4.0/sgi/bsd.rd</a> |
2050 |
|
|
2051 |
</pre> |
</pre> |
2052 |
<li>Create a configuration file called <tt>config_client</tt>: |
<li>Create a configuration file called <tt>config_client</tt>: |
2521 |
run in GXemul. |
run in GXemul. |
2522 |
|
|
2523 |
<p><font color="#ff0000">NOTE: This is still too |
<p><font color="#ff0000">NOTE: This is still too |
2524 |
unstable to be considered really working!</font> |
unstable to be considered really working! Snapshots from April 2007 |
2525 |
|
or so will probably not work, unless an #if 0 is changed to |
2526 |
|
#if 1 in the implementation of the 'LDC Rm,SR' instruction |
2527 |
|
(in src/cpus/cpu_sh_instr.c).</font> |
2528 |
|
|
2529 |
<p> |
<p> |
2530 |
<a href="20070224-netbsd-landisk.png"><img src="20070224-netbsd-landisk_small.png"></a> |
<a href="20070224-netbsd-landisk.png"><img src="20070224-netbsd-landisk_small.png"></a> |
2587 |
|
|
2588 |
|
|
2589 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p><br> |
|
|
<a name="openbsdlandiskinstall"></a> |
|
|
<h3>OpenBSD/landisk:</h3> |
|
|
|
|
|
It is possible to install and run |
|
|
<a href="http://www.openbsd.org/landisk.html">OpenBSD/landisk</a> |
|
|
in GXemul. There is at the time of writing this no stable release |
|
|
yet of OpenBSD/landisk, but there are snapshots available on the |
|
|
OpenBSD ftp site. |
|
|
|
|
|
<p><font color="#ff0000">NOTE: This is still too |
|
|
unstable to be considered really working!</font> |
|
|
|
|
|
<p>To install OpenBSD/landisk onto an emulated harddisk image, |
|
|
follow these instructions: |
|
|
|
|
|
<p> |
|
|
<ol> |
|
|
<li>Create an empty harddisk image, which will be the root disk |
|
|
that OpenBSD installs itself onto:<pre> |
|
|
<b>dd if=/dev/zero of=obsd_landisk.img bs=1024 count=1 seek=900000</b> |
|
|
|
|
|
</pre> |
|
|
<li>Download the entire landisk directory from the ftp server:<pre> |
|
|
<b>wget -np -l 0 -r <a href="ftp://ftp.se.openbsd.org/pub/OpenBSD/snapshots/landisk/">ftp://ftp.se.openbsd.org/pub/OpenBSD/snapshots/landisk/</a></b> |
|
|
<b>cp ftp.se.openbsd.org/pub/OpenBSD/snapshots/landisk/bsd .</b> |
|
|
<b>cp ftp.se.openbsd.org/pub/OpenBSD/snapshots/landisk/bsd.rd .</b> |
|
|
|
|
|
</pre> |
|
|
(Replace ftp.se.openbsd.org with a server closer to you, for |
|
|
increased download speed.) |
|
|
<p> |
|
|
<li>You now need to make an ISO image of the entire directory you downloaded. |
|
|
(I recommend using <tt>mkisofs</tt> for that purpose. If you don't |
|
|
already have <tt>mkisofs</tt> installed on your system, you need |
|
|
to install it in order to do this.)<pre> |
|
|
<b>mkisofs -allow-lowercase -o openbsd_landisk_snapshot.iso ftp.se.openbsd.org/pub/OpenBSD/</b> |
|
|
<b>rm -rf ftp.se.openbsd.org</b> <i>(this directory is not needed anymore)</i> |
|
|
|
|
|
</pre> |
|
|
<li>Start the emulator using this command line:<pre> |
|
|
<b>gxemul -x -Elandisk -d obsd_landisk.img -d d:openbsd_landisk_snapshot.iso bsd.rd</b> |
|
|
|
|
|
</pre> |
|
|
and proceed like you would do if you were installing OpenBSD |
|
|
on a real landisk. The following hints are useful to get you |
|
|
through the installation: |
|
|
<ul> |
|
|
<li>Terminal type = <b>xterm</b> |
|
|
<li>root disk = <b>wd0</b> (the disk to install onto) |
|
|
<li>Use the entire disk for OpenBSD = <b>yes</b> |
|
|
<li>Create one big root partition (a) and a small swap partition (b). c is the entire disk. |
|
|
<li>Do <b>not</b> configure the network. |
|
|
<li>Location of sets = <b>disk</b> |
|
|
<li>Is the disk partition already mounted = <b>no</b> |
|
|
<li>Disk containing the install media = <b>wd1</b> |
|
|
<li>Pathname to the sets = <b>snapshot/landisk</b> |
|
|
</ul> |
|
|
</ol> |
|
|
|
|
|
<p>Once the install has finished, the following command should let you |
|
|
boot from the disk image: |
|
|
|
|
|
<p><pre> |
|
|
<b>gxemul -x -E landisk -d obsd_landisk.img bsd</b> |
|
|
|
|
|
</pre> |
|
|
|
|
|
|
|
|
|
|
2590 |
|
|
2591 |
|
|
2592 |
|
|