10 |
|
|
11 |
<!-- |
<!-- |
12 |
|
|
13 |
$Id: guestoses.html,v 1.202 2007/02/19 01:34:42 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 |
|
|
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="#netbsddreamcast">NetBSD/dreamcast 3.1</a> |
<li><a href="dreamcast.html#netbsd_generic_md">NetBSD/dreamcast 3.1</a> |
64 |
|
<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> |
|
<li><a href="#declinuxredhat">Redhat Linux for DECstation</a> |
|
71 |
</ul> |
</ul> |
72 |
|
|
73 |
|
|
99 |
|
|
100 |
<ul> |
<ul> |
101 |
<li><a href="#mach">Mach/PMAX</a> |
<li><a href="#mach">Mach/PMAX</a> |
102 |
|
<li><a href="#declinuxredhat">Redhat Linux for DECstation</a> |
103 |
<li><a href="#openbsdsgiinstall">OpenBSD/sgi</a> |
<li><a href="#openbsdsgiinstall">OpenBSD/sgi</a> |
104 |
<li><a href="#openbsdarcinstall">OpenBSD/arc 2.3</a> |
<li><a href="#openbsdarcinstall">OpenBSD/arc 2.3</a> |
105 |
<li><a href="#debiancats">Debian GNU/Linux for CATS</a> |
<li><a href="#debiancats">Debian GNU/Linux for CATS</a> |
107 |
<li><a href="#linux_qemu_mips">Linux/QEMU_MIPS</a> |
<li><a href="#linux_qemu_mips">Linux/QEMU_MIPS</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> |
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 |
|
|
1134 |
an emulated generic PowerPC machine. No specific Machintosh model is |
an emulated generic PowerPC machine. No specific Machintosh model is |
1135 |
emulated, but it is enough to for NetBSD to recognize it. |
emulated, but it is enough to for NetBSD to recognize it. |
1136 |
|
|
1137 |
|
<p> |
1138 |
|
<a href="20070318-netbsd-macppc.png"><img src="20070318-netbsd-macppc_small.png"></a> |
1139 |
|
|
1140 |
<p>To install NetBSD/macppc onto a disk image, follow these instructions: |
<p>To install NetBSD/macppc onto a disk image, follow these instructions: |
1141 |
|
|
1142 |
<p> |
<p> |
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 |
|
|
1727 |
<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> |
1728 |
|
|
1729 |
</pre> |
</pre> |
1730 |
|
<font color="#ff0000">NOTE 2007-04-14: It seems that the ISO image |
1731 |
|
has been removed from the cdimage site. You may need to search |
1732 |
|
for it elsewhere. :-/ Alternatively, you can follow |
1733 |
|
Michel Lespinasse's instructions at |
1734 |
|
<a href="http://people.zoy.org/~walken/gxemul-etch/HOWTO.html">http://people.zoy.org/~walken/gxemul-etch/HOWTO.html</a>.</font> |
1735 |
<p> |
<p> |
1736 |
<li>Start the installation like this:<pre> |
<li>Start the installation like this:<pre> |
1737 |
<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> |
1818 |
|
|
1819 |
|
|
1820 |
<p><br> |
<p><br> |
|
<a name="declinuxredhat"></a> |
|
|
<h3>Redhat Linux for DECstation:</h3> |
|
|
|
|
|
|
|
|
<p> |
|
|
|
|
|
<a href="20041129-redhat_mips.png"><img src="20041129-redhat_mips_small.png"></a> |
|
|
|
|
|
<p> |
|
|
The following steps should let you run Redhat Linux for DECstation in GXemul: |
|
|
|
|
|
<p> |
|
|
<ol> |
|
|
<li>Download a kernel. David Muse' Debian-install kernel works fine:<pre> |
|
|
<a href="http://www.firstworks.com/mips-linux-2.4.31/vmlinux-2.4.31">http://www.firstworks.com/mips-linux-2.4.31/vmlinux-2.4.31</a> |
|
|
|
|
|
</pre> |
|
|
<li>Download a root filesystem tree:<pre> |
|
|
<a href="ftp://ftp.linux-mips.org/pub/linux/mips/mipsel-linux/root/mipsel-root-20011216.tgz">ftp://ftp.linux-mips.org/pub/linux/mips/mipsel-linux/root/mipsel-root-20011216.tgz</a> |
|
|
19486676 bytes, md5 = 5bcb725c90209479cd7ead8ad0c4a414 |
|
|
|
|
|
</pre> |
|
|
<li>Create a disk image which will contain the Redhat filesystem:<pre> |
|
|
<b>dd if=/dev/zero of=redhat_mips.img bs=1024 count=1 seek=2000000</b> |
|
|
|
|
|
</pre> |
|
|
<li>This is the tricky part: on redhat_mips.img, you need to create an MS-DOS |
|
|
(!) partition table, and then an ext2 partition. This is what Linux |
|
|
will then see as /dev/sda1. |
|
|
<p>I recommend you run fdisk and mke2fs and untar the archive from within |
|
|
Debian/DECstation or <a href="#debiancats">Debian/CATS</a> running |
|
|
inside the emulator. (Alternatively, if you are on a Linux host, |
|
|
you could use a loopback mount, or similar. This might require |
|
|
root access. See e.g. |
|
|
<a href="http://www.mega-tokyo.com/osfaq2/index.php/Disk%20Images%20Under%20Linux">http://www.mega-tokyo.com/osfaq2/index.php/Disk%20Images%20Under%20Linux</a>.) |
|
|
<p> |
|
|
In order to actually boot the system you need to modify /etc/fstab. |
|
|
Change<pre> |
|
|
/dev/root / nfs defaults 1 1 |
|
|
#/dev/sdc1 / ext2 defaults 1 1 |
|
|
none /proc proc defaults 0 0 |
|
|
none /dev/pts devpts mode=0622 0 0 |
|
|
|
|
|
</pre>to<pre> |
|
|
#/dev/root / nfs defaults 1 1 |
|
|
/dev/sda1 / ext2 defaults 1 1 |
|
|
none /proc proc defaults 0 0 |
|
|
none /dev/pts devpts mode=0622 0 0 |
|
|
|
|
|
</pre>(Note sda1 instead of sdc1.) |
|
|
</ol> |
|
|
|
|
|
<p>To boot Redhat linux from the disk image, use the following command line:<pre> |
|
|
<b>gxemul -X -e3max -o "root=/dev/sda1 ro" -d redhat_mips.img vmlinux-2.4.31</b> |
|
|
|
|
|
</pre> |
|
|
If you need to boot into single user mode, change options to |
|
|
<tt><b>-o "root=/dev/sda1 rw init=/bin/sh"</b></tt>. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p><br> |
|
1821 |
<hr> |
<hr> |
1822 |
|
|
1823 |
|
|
1902 |
|
|
1903 |
|
|
1904 |
|
|
1905 |
|
|
1906 |
|
|
1907 |
|
<p><br> |
1908 |
|
<a name="declinuxredhat"></a> |
1909 |
|
<h3>Redhat Linux for DECstation:</h3> |
1910 |
|
|
1911 |
|
|
1912 |
|
<p> |
1913 |
|
|
1914 |
|
<a href="20041129-redhat_mips.png"><img src="20041129-redhat_mips_small.png"></a> |
1915 |
|
|
1916 |
|
<p> |
1917 |
|
The following steps should let you run Redhat Linux for DECstation in GXemul: |
1918 |
|
|
1919 |
|
<p> |
1920 |
|
<ol> |
1921 |
|
<li>Download a kernel. David Muse' Debian-install kernel works fine:<pre> |
1922 |
|
<a href="http://www.firstworks.com/mips-linux-2.4.31/vmlinux-2.4.31">http://www.firstworks.com/mips-linux-2.4.31/vmlinux-2.4.31</a> |
1923 |
|
|
1924 |
|
</pre> |
1925 |
|
<li>Download a root filesystem tree:<pre> |
1926 |
|
<a href="ftp://ftp.linux-mips.org/pub/linux/mips/mipsel-linux/root/mipsel-root-20011216.tgz">ftp://ftp.linux-mips.org/pub/linux/mips/mipsel-linux/root/mipsel-root-20011216.tgz</a> |
1927 |
|
19486676 bytes, md5 = 5bcb725c90209479cd7ead8ad0c4a414 |
1928 |
|
|
1929 |
|
</pre> |
1930 |
|
<li>Create a disk image which will contain the Redhat filesystem:<pre> |
1931 |
|
<b>dd if=/dev/zero of=redhat_mips.img bs=1024 count=1 seek=2000000</b> |
1932 |
|
|
1933 |
|
</pre> |
1934 |
|
<li>This is the tricky part: on redhat_mips.img, you need to create an MS-DOS |
1935 |
|
(!) partition table, and then an ext2 partition. This is what Linux |
1936 |
|
will then see as /dev/sda1. |
1937 |
|
<p>I recommend you run fdisk and mke2fs and untar the archive from within |
1938 |
|
Debian/DECstation or <a href="#debiancats">Debian/CATS</a> running |
1939 |
|
inside the emulator. (Alternatively, if you are on a Linux host, |
1940 |
|
you could use a loopback mount, or similar. This might require |
1941 |
|
root access. See e.g. |
1942 |
|
<a href="http://www.mega-tokyo.com/osfaq2/index.php/Disk%20Images%20Under%20Linux">http://www.mega-tokyo.com/osfaq2/index.php/Disk%20Images%20Under%20Linux</a>.) |
1943 |
|
<p> |
1944 |
|
In order to actually boot the system you need to modify /etc/fstab. |
1945 |
|
Change<pre> |
1946 |
|
/dev/root / nfs defaults 1 1 |
1947 |
|
#/dev/sdc1 / ext2 defaults 1 1 |
1948 |
|
none /proc proc defaults 0 0 |
1949 |
|
none /dev/pts devpts mode=0622 0 0 |
1950 |
|
|
1951 |
|
</pre>to<pre> |
1952 |
|
#/dev/root / nfs defaults 1 1 |
1953 |
|
/dev/sda1 / ext2 defaults 1 1 |
1954 |
|
none /proc proc defaults 0 0 |
1955 |
|
none /dev/pts devpts mode=0622 0 0 |
1956 |
|
|
1957 |
|
</pre>(Note sda1 instead of sdc1.) |
1958 |
|
</ol> |
1959 |
|
|
1960 |
|
<p>To boot Redhat linux from the disk image, use the following command line:<pre> |
1961 |
|
<b>gxemul -X -e3max -o "root=/dev/sda1 ro" -d redhat_mips.img vmlinux-2.4.31</b> |
1962 |
|
|
1963 |
|
</pre> |
1964 |
|
If you need to boot into single user mode, change options to |
1965 |
|
<tt><b>-o "root=/dev/sda1 rw init=/bin/sh"</b></tt>. |
1966 |
|
|
1967 |
|
|
1968 |
|
|
1969 |
|
|
1970 |
|
|
1971 |
|
|
1972 |
|
|
1973 |
|
|
1974 |
|
|
1975 |
|
|
1976 |
<p><br> |
<p><br> |
1977 |
<a name="openbsdsgiinstall"></a> |
<a name="openbsdsgiinstall"></a> |
1978 |
<h3>OpenBSD/sgi:</h3> |
<h3>OpenBSD/sgi:</h3> |
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>: |
2391 |
that it is running on a real machine. |
that it is running on a real machine. |
2392 |
<font color="#ff0000">IT DOES <b>NOT</b> WORK YET!</font> |
<font color="#ff0000">IT DOES <b>NOT</b> WORK YET!</font> |
2393 |
|
|
2394 |
<p>Something like this would be done to install |
<p>Installation steps similar to these would be required to install |
2395 |
Windows NT onto a disk image: |
Windows NT onto a disk image: |
2396 |
|
|
2397 |
<ol> |
<ol> |
2508 |
|
|
2509 |
|
|
2510 |
|
|
2511 |
|
|
2512 |
|
|
2513 |
|
|
2514 |
|
|
2515 |
|
|
2516 |
|
<p><br> |
2517 |
|
<a name="netbsdlandiskinstall"></a> |
2518 |
|
<h3>NetBSD/landisk:</h3> |
2519 |
|
|
2520 |
|
<a href="http://www.netbsd.org/Ports/landisk/">NetBSD/landisk</a> can |
2521 |
|
run in GXemul. |
2522 |
|
|
2523 |
|
<p><font color="#ff0000">NOTE: This is still too |
2524 |
|
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> |
2530 |
|
<a href="20070224-netbsd-landisk.png"><img src="20070224-netbsd-landisk_small.png"></a> |
2531 |
|
|
2532 |
|
<p>At the time of writing this, there are not yet any formal releases |
2533 |
|
of NetBSD/landisk, only daily snapshot builds. |
2534 |
|
|
2535 |
|
<p>The NetBSD/landisk distribution does not include any INSTALL kernel, |
2536 |
|
so it must be installed using another (emulated) machine. |
2537 |
|
|
2538 |
|
<p>The following instructions will let you install NetBSD/landisk onto a disk |
2539 |
|
image, using an emulated CATS machine: |
2540 |
|
|
2541 |
|
<p> |
2542 |
|
<ol> |
2543 |
|
<li>Download a NetBSD/cats install kernel:<pre> |
2544 |
|
<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> |
2545 |
|
</pre> |
2546 |
|
<p> |
2547 |
|
<li>Create an empty harddisk image, which will be the disk image |
2548 |
|
that you will install NetBSD/landisk onto:<pre> |
2549 |
|
<b>dd if=/dev/zero of=nbsd_landisk.img bs=1024 count=1 seek=900000</b> |
2550 |
|
|
2551 |
|
</pre> |
2552 |
|
<p> |
2553 |
|
<li>Download the latest netbsd-4 (pre-release) snapshot, and make an iso image |
2554 |
|
of it: (replace 200704110002Z with whatever is the latest one)<pre> |
2555 |
|
<b>wget -np -l 0 -r ftp://ftp.netbsd.org/pub/NetBSD-daily/netbsd-4/200704110002Z/landisk |
2556 |
|
mkisofs -U -o landisk.iso ftp.netbsd.org/pub/NetBSD-daily/netbsd-4/*</b> |
2557 |
|
</pre> |
2558 |
|
|
2559 |
|
<p> |
2560 |
|
<li>Start the emulated CATS machine like this:<pre> |
2561 |
|
<b>gxemul -XEcats -d nbsd_landisk.img -d landisk.iso netbsd.aout-INSTALL.gz</b> |
2562 |
|
|
2563 |
|
</pre> |
2564 |
|
<li>Exit the installer, then execute the following commands: |
2565 |
|
<p><table border="0"><tr><td><tt> </tt></td><td><pre> |
2566 |
|
<b>disklabel -i -I wd0</b> (for example 'a', '4.2BSD', '1c', |
2567 |
|
'700M', 'b', 'swap', '701M', '$', 'P', 'W', 'y', and 'Q') |
2568 |
|
<b>newfs /dev/wd0a |
2569 |
|
mount /dev/cd0c /mnt |
2570 |
|
mkdir /mnt2; mount /dev/wd0a /mnt2 |
2571 |
|
cd /mnt2; sh |
2572 |
|
for a in /mnt/*/binary/sets/[bcekmt]*.tgz; do echo $a; tar zxfp $a; done |
2573 |
|
exit |
2574 |
|
cd dev; sh ./MAKEDEV all; cd ../etc |
2575 |
|
echo rc_configured=YES >> rc.conf |
2576 |
|
echo "/dev/wd0a / ffs rw 1 1" > fstab |
2577 |
|
echo "/dev/wd0b none swap sw 0 0" >> fstab |
2578 |
|
cd /; umount /mnt; umount /mnt2; halt</b> |
2579 |
|
</pre></td></tr></table> |
2580 |
|
</ol> |
2581 |
|
|
2582 |
|
<p>You should now be able to boot NetBSD/landisk using this command:<pre> |
2583 |
|
<b>gxemul -x -E landisk -d nbsd_landisk.img netbsd-GENERIC.gz</b> |
2584 |
|
</pre> |
2585 |
|
|
2586 |
|
|
2587 |
|
|
2588 |
|
|
2589 |
|
|
2590 |
|
|