10 |
|
|
11 |
<!-- |
<!-- |
12 |
|
|
13 |
$Id: guestoses.html,v 1.157 2006/07/22 10:23:39 debug Exp $ |
$Id: guestoses.html,v 1.169 2006/08/15 15:38:37 debug Exp $ |
14 |
|
|
15 |
Copyright (C) 2003-2006 Anders Gavare. All rights reserved. |
Copyright (C) 2003-2006 Anders Gavare. All rights reserved. |
16 |
|
|
48 |
<p> |
<p> |
49 |
<ul> |
<ul> |
50 |
<li><a href="#generalnotes">General notes on running "guest OSes"</a> |
<li><a href="#generalnotes">General notes on running "guest OSes"</a> |
51 |
<li><a href="#netbsdpmaxinstall">NetBSD/pmax 3.0 or 1.6.2</a> |
<li><a href="#netbsdpmaxinstall">NetBSD/pmax 3.0.1 or 1.6.2</a> |
52 |
<li><a href="#netbsdarcinstall">NetBSD/arc 1.6.2</a> |
<li><a href="#netbsdarcinstall">NetBSD/arc 1.6.2</a> |
53 |
<li><a href="#netbsdhpcmipsinstall">NetBSD/hpcmips 3.0</a> |
<li><a href="#netbsdhpcmipsinstall">NetBSD/hpcmips 3.0.1</a> |
54 |
<li><a href="#netbsdcobaltinstall">NetBSD/cobalt 2.1</a> |
<li><a href="#netbsdcobaltinstall">NetBSD/cobalt 3.0.1</a> |
55 |
<li><a href="#netbsdevbmipsinstall">NetBSD/evbmips 2.1</a> |
<li><a href="#netbsdevbmipsinstall">NetBSD/evbmips 3.0.1</a> |
56 |
<li><a href="#netbsdsgimips">NetBSD/sgimips 3.0</a> |
<li><a href="#netbsdalgorinstall">NetBSD/algor 3.0.1</a> |
57 |
<li><a href="#netbsdcatsinstall">NetBSD/cats 3.0</a> |
<li><a href="#netbsdsgimips">NetBSD/sgimips 3.0.1</a> |
58 |
|
<li><a href="#netbsdcatsinstall">NetBSD/cats 3.0.1</a> |
59 |
<li><a href="#netbsdevbarminstall">NetBSD/evbarm 2.1</a> |
<li><a href="#netbsdevbarminstall">NetBSD/evbarm 2.1</a> |
60 |
|
<li><a href="#netbsdnetwinderinstall">NetBSD/netwinder 3.0.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="#openbsdpmaxinstall">OpenBSD/pmax 2.8-BETA</a> |
<li><a href="#openbsdpmaxinstall">OpenBSD/pmax 2.8-BETA</a> |
63 |
<li><a href="#openbsdcatsinstall">OpenBSD/cats 3.9</a> |
<li><a href="#openbsdcatsinstall">OpenBSD/cats 3.9</a> |
102 |
<li><a href="#debiancats">Debian GNU/Linux for CATS</a> |
<li><a href="#debiancats">Debian GNU/Linux for CATS</a> |
103 |
<li><a href="#linux_qemu_mips">Linux/QEMU_MIPS</a> |
<li><a href="#linux_qemu_mips">Linux/QEMU_MIPS</a> |
104 |
<li><a href="#windows_nt_mips">Windows NT/MIPS</a> |
<li><a href="#windows_nt_mips">Windows NT/MIPS</a> |
|
<li><a href="#netbsdnetwinderinstall">NetBSD/netwinder 2.1</a> |
|
105 |
<li><a href="#netbsdmacppcinstall">NetBSD/macppc 3.0</a> |
<li><a href="#netbsdmacppcinstall">NetBSD/macppc 3.0</a> |
106 |
|
<li><a href="#netbsdbeboxinstall">NetBSD/bebox 19981119</a> |
107 |
</ul> |
</ul> |
108 |
|
|
109 |
<p>Some operating systems are listed with a version number <i>less</i> |
<p>Some operating systems are listed with a version number <i>less</i> |
163 |
<li>Download a NetBSD CD-ROM iso image:<pre> |
<li>Download a NetBSD CD-ROM iso image:<pre> |
164 |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/iso/1.6.2/pmaxcd.iso">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/iso/1.6.2/pmaxcd.iso</a> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/iso/1.6.2/pmaxcd.iso">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/iso/1.6.2/pmaxcd.iso</a> |
165 |
or |
or |
166 |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0/pmaxcd-3.0.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0/pmaxcd-3.0.iso</a> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1/pmaxcd-3.0.1.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1/pmaxcd-3.0.1.iso</a> |
167 |
|
|
168 |
</pre> |
</pre> |
169 |
<li>Start the emulator like this:<pre> |
<li>Start the emulator like this:<pre> |
170 |
<b>gxemul -e 3max -d nbsd_pmax.img -d bc:pmaxcd-3.0.iso</b> |
<b>gxemul -e 3max -d nbsd_pmax.img -d bc:pmaxcd-3.0.1.iso</b> |
171 |
(or <b>pmaxcd.iso</b>) |
(or <b>pmaxcd.iso</b>) |
172 |
</pre> |
</pre> |
173 |
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 |
182 |
<li>Download a NetBSD pmax INSTALL kernel:<pre> |
<li>Download a NetBSD pmax INSTALL kernel:<pre> |
183 |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/NetBSD-1.6.2/pmax/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/NetBSD-1.6.2/pmax/binary/kernel/netbsd-INSTALL.gz</a> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/NetBSD-1.6.2/pmax/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/NetBSD-1.6.2/pmax/binary/kernel/netbsd-INSTALL.gz</a> |
184 |
or |
or |
185 |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0/pmax/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0/pmax/binary/kernel/netbsd-INSTALL.gz</a> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/pmax/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/pmax/binary/kernel/netbsd-INSTALL.gz</a> |
186 |
|
|
187 |
</pre> |
</pre> |
188 |
<li>Start the emulator like this:<pre> |
<li>Start the emulator like this:<pre> |
381 |
<b>dd if=/dev/zero of=nbsd_hpcmips.img bs=1024 count=1 seek=999000</b> |
<b>dd if=/dev/zero of=nbsd_hpcmips.img bs=1024 count=1 seek=999000</b> |
382 |
|
|
383 |
</pre> |
</pre> |
384 |
<li>Download the NetBSD/hpcmips 3.0 ISO image, and a generic kernel:<pre> |
<li>Download the NetBSD/hpcmips 3.0.1 ISO image, and a generic kernel:<pre> |
385 |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0/">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0</a>/<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0/hpcmipscd-3.0.iso">hpcmipscd-3.0.iso</a> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1/">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1</a>/<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1/hpcmipscd-3.0.1.iso">hpcmipscd-3.0.1.iso</a> |
386 |
|
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/hpcmips/binary/kernel/">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/hpcmips/binary/kernel</a>/<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/hpcmips/binary/kernel/netbsd-GENERIC.gz">netbsd-GENERIC.gz</a> |
|
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0/hpcmips/binary/kernel/">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0/hpcmips/binary/kernel</a>/<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0/hpcmips/binary/kernel/netbsd-GENERIC.gz">netbsd-GENERIC.gz</a> |
|
387 |
|
|
388 |
</pre> |
</pre> |
389 |
<p> |
<p> |
390 |
<li>Start the installation like this:<pre> |
<li>Start the installation like this:<pre> |
391 |
<b>gxemul -e mobilepro770 -X -d nbsd_hpcmips.img \ |
<b>gxemul -e mobilepro770 -X -d nbsd_hpcmips.img \ |
392 |
-d b:hpcmipscd-3.0.iso -j hpcmips/installation/netbsd.gz</b> |
-d b:hpcmipscd-3.0.1.iso -j hpcmips/installation/netbsd.gz</b> |
393 |
|
|
394 |
</pre> |
</pre> |
395 |
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 |
432 |
|
|
433 |
<p> |
<p> |
434 |
|
|
435 |
<a href="20050413-netbsd-cobalt.png"><img src="20050413-netbsd-cobalt_small.png"></a> |
<a href="20060812-netbsd-cobalt-3.0.1.png"><img src="20060812-netbsd-cobalt-3.0.1_small.png"></a> |
436 |
|
|
437 |
<p> |
<p> |
438 |
The following instructions will let you install NetBSD/cobalt onto a disk |
The following instructions will let you install NetBSD/cobalt onto a disk |
440 |
|
|
441 |
<p> |
<p> |
442 |
<ol> |
<ol> |
443 |
|
<li>Download a NetBSD/pmax (DECstation) install RAMDISK kernel:<pre> |
444 |
|
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/pmax/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/pmax/binary/kernel/netbsd-INSTALL.gz</a> |
445 |
|
</pre> |
446 |
|
<p> |
447 |
<li>Create an empty harddisk image, which will be the disk image |
<li>Create an empty harddisk image, which will be the disk image |
448 |
that you will install NetBSD/cobalt onto:<pre> |
that you will install NetBSD/cobalt onto:<pre> |
449 |
<b>dd if=/dev/zero of=nbsd_cobalt.img bs=1024 count=1 seek=999000</b> |
<b>dd if=/dev/zero of=nbsd_cobalt.img bs=1024 count=1 seek=700000</b> |
450 |
|
|
451 |
</pre> |
</pre> |
452 |
<li>Download the generic kernel for Cobalt and the 2.1 ISO image:<pre> |
<li>Download the generic kernel for Cobalt and the 3.0.1 ISO image:<pre> |
453 |
<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> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/cobalt/binary/kernel/netbsd-GENERIC.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/cobalt/binary/kernel/netbsd-GENERIC.gz</a> |
454 |
<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> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1/cobaltcd-3.0.1.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1/cobaltcd-3.0.1.iso</a> |
455 |
|
|
456 |
</pre> |
</pre> |
457 |
<p> |
<li>Start the emulated DECstation machine like this:<pre> |
458 |
<li>Install NetBSD/pmax 3.0 according to instructions |
<b>gxemul -e 3max -d nbsd_cobalt.img -d cobaltcd-3.0.1.iso netbsd-INSTALL.gz</b> |
|
<a href="#netbsdpmaxinstall">further up on this page</a>. |
|
|
<p> |
|
|
<li>Start NetBSD/pmax like this:<pre> |
|
|
<b>gxemul -e3max -d nbsd_pmax.img -d cobaltcd.iso -d nbsd_cobalt.img</b> |
|
459 |
|
|
460 |
</pre> |
</pre> |
461 |
<li>Log in as root (on the emulated 3MAX machine), and execute the |
<li>Log in as root (on the emulated 3MAX machine), and execute the |
462 |
following commands: (adjust according to taste) |
following commands: (adjust according to taste) |
463 |
<p><table border="0"><tr><td><tt> </tt></td><td><pre> |
<p><table border="0"><tr><td><tt> </tt></td><td><pre> |
464 |
<b>newfs /dev/sd1c |
<b>newfs /dev/sd0c |
465 |
mount /dev/cd0c /mnt |
mount /dev/cd0c /mnt |
466 |
mkdir /mnt2; mount /dev/sd1c /mnt2 |
mkdir /mnt2; mount /dev/sd0c /mnt2 |
467 |
cd /mnt2; sh |
cd /mnt2; sh |
468 |
for a in /mnt/cobalt/binary/sets/*.tgz; do echo $a; tar zxfp $a; done |
for a in /mnt/*/binary/sets/[bcekmt]*.tgz; do echo $a; tar zxfp $a; done |
469 |
exit |
exit |
470 |
cd dev; sh ./MAKEDEV all; cd ../etc |
cd dev; sh ./MAKEDEV all; cd ../etc |
471 |
echo rc_configured=YES >> rc.conf |
echo rc_configured=YES >> rc.conf |
472 |
echo "/dev/wd0d / ffs rw 1 1" > fstab |
echo "/dev/wd0d / ffs rw 1 1" > fstab |
473 |
cd /; umount /mnt; umount /mnt2; halt</b> |
cd /; umount /mnt; umount /mnt2; halt</b> |
474 |
</pre></td></tr></table> |
</pre></td></tr></table> |
476 |
|
|
477 |
<p> |
<p> |
478 |
You should now be able to boot NetBSD/cobalt like this:<pre> |
You should now be able to boot NetBSD/cobalt like this:<pre> |
479 |
<b>gxemul -M128 -E cobalt -d nbsd_cobalt.img netbsd-GENERIC.gz</b> |
<b>gxemul -E cobalt -d nbsd_cobalt.img netbsd-GENERIC.gz</b> |
480 |
</pre> |
</pre> |
481 |
|
|
482 |
Note that the installation instructions above create a filesystem |
Note that the installation instructions above create a filesystem |
503 |
in GXemul on an emulated Malta evaluation board, with a 5Kc (MIPS64) or |
in GXemul on an emulated Malta evaluation board, with a 5Kc (MIPS64) or |
504 |
4Kc (MIPS32) processor. 5Kc is the default. |
4Kc (MIPS32) processor. 5Kc is the default. |
505 |
|
|
506 |
<p> |
<p> |
507 |
|
<a href="20060812-netbsd-malta-3.0.1.png"><img src="20060812-netbsd-malta-3.0.1_small.png"></a> |
|
<a href="20050622-netbsd-evbmips-malta.png"><img src="20050622-netbsd-evbmips-malta_small.png"></a> |
|
508 |
|
|
509 |
<p>It is tricky to install, because there is (as far as I know) no INSTALL |
<p>One way to install the NetBSD/evbmips distribution onto a disk |
|
kernel. One way to install the NetBSD/evbmips distribution onto a disk |
|
510 |
image is to install the files using another (emulated) machine. |
image is to install the files using another (emulated) machine. |
511 |
|
|
512 |
<p> |
<p> |
515 |
|
|
516 |
<p> |
<p> |
517 |
<ol> |
<ol> |
518 |
<li>Install NetBSD/pmax 3.0 according to instructions |
<li>Download a NetBSD/pmax (DECstation) install RAMDISK kernel:<pre> |
519 |
<a href="#netbsdpmaxinstall">further up on this page</a>. |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/pmax/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/pmax/binary/kernel/netbsd-INSTALL.gz</a> |
520 |
|
</pre> |
521 |
<p> |
<p> |
522 |
<li>Create an empty harddisk image, which will be the disk image |
<li>Create an empty harddisk image, which will be the disk image |
523 |
that you will install NetBSD onto:<pre> |
that you will install NetBSD onto:<pre> |
524 |
<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=700000</b> |
525 |
|
|
526 |
</pre> |
</pre> |
527 |
<li>Download the generic kernel and the 2.1 ISO image:<pre> |
<li>Download the Malta kernel and the 3.0.1 ISO image:<pre> |
528 |
<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> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/evbmips-mipsel/binary/kernel/netbsd-MALTA.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/evbmips-mipsel/binary/kernel/netbsd-MALTA.gz</a> |
529 |
<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> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1/evbmips-mipselcd-3.0.1.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1/evbmips-mipselcd-3.0.1.iso</a> |
530 |
|
|
531 |
</pre> |
</pre> |
532 |
<p> |
<p> |
533 |
<li>Start NetBSD/pmax like this:<pre> |
<li>Start the emulated DECstation machine like this:<pre> |
534 |
<b>gxemul -e 3max -d nbsd_pmax.img -d nbsd_malta.img -d evbmips-mipselcd.iso</b> |
<b>gxemul -e 3max -d nbsd_malta.img -d evbmips-mipselcd-3.0.1.iso netbsd-INSTALL.gz</b> |
535 |
|
|
536 |
</pre>and execute the following commands as <tt>root</tt>: |
</pre> |
537 |
|
<li>At the <tt>Terminal type? [rcons]</tt> prompt, type <b>CTRL-B</b> |
538 |
|
to simulate a CTRL-C sent to NetBSD/pmax. Then execute the following commands: |
539 |
<p><table border="0"><tr><td><tt> </tt></td><td><pre> |
<p><table border="0"><tr><td><tt> </tt></td><td><pre> |
540 |
<b>newfs /dev/sd1c |
<b>newfs /dev/sd0c |
541 |
mount /dev/cd0c /mnt |
mount /dev/cd0c /mnt |
542 |
mkdir /mnt2; mount /dev/sd1c /mnt2 |
mkdir /mnt2; mount /dev/sd0c /mnt2 |
543 |
cd /mnt2; sh |
cd /mnt2; sh |
544 |
for a in /mnt/evbmips-mipsel/binary/sets/*.tgz; do echo $a; tar zxfp $a; done |
for a in /mnt/*/binary/sets/[bcemt]*.tgz; do echo $a; tar zxfp $a; done |
545 |
exit |
exit |
546 |
cd dev; sh ./MAKEDEV all; cd ../etc |
cd dev; sh ./MAKEDEV all; cd ../etc |
547 |
echo rc_configured=YES >> rc.conf |
echo rc_configured=YES >> rc.conf |
556 |
|
|
557 |
<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 |
558 |
(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 |
559 |
2.1, however, there will be little or no difference in functionality, as |
3.0.1, however, there will be little or no difference in functionality, as |
560 |
NetBSD still runs in 32-bit mode on 64-bit MIPS CPUs. There are two things |
NetBSD still runs in 32-bit mode on 64-bit MIPS CPUs. There are two things |
561 |
that differ:<ol> |
that differ:<ol> |
562 |
<li>The dynamic translation core runs faster when emulating 32-bit |
<li>The dynamic translation core runs faster when emulating 32-bit |
570 |
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 |
571 |
generic kernel:<pre> |
generic kernel:<pre> |
572 |
root device (default wd0a): <b>wd0c</b> |
root device (default wd0a): <b>wd0c</b> |
573 |
dump device (default wd0b): <b>none</b> |
dump device (default wd0b): <i>(just press enter)</i> |
574 |
file system (default generic): <b>ffs</b> |
file system (default generic): <i>(just press enter)</i> |
575 |
init path (default /sbin/init): <i>(just press enter here)</i> |
init path (default /sbin/init): <i>(just press enter)</i> |
576 |
</pre> |
</pre> |
577 |
|
|
578 |
|
|
581 |
|
|
582 |
|
|
583 |
|
|
584 |
|
|
585 |
|
|
586 |
|
|
587 |
|
|
588 |
|
|
589 |
|
|
590 |
|
|
591 |
|
<p><br> |
592 |
|
<a name="netbsdalgorinstall"></a> |
593 |
|
<h3>NetBSD/algor:</h3> |
594 |
|
|
595 |
|
<a href="http://www.netbsd.org/Ports/algor/">NetBSD/algor</a> can |
596 |
|
run in GXemul on an emulated Algorithmics P5064 evaluation board. |
597 |
|
|
598 |
|
<p> |
599 |
|
<a href="20060814-netbsd-algor-3.0.1.png"><img src="20060814-netbsd-algor-3.0.1_small.png"></a> |
600 |
|
|
601 |
|
<p>One way to install the NetBSD/algor distribution onto a disk |
602 |
|
image is to install the files using another (emulated) machine. |
603 |
|
|
604 |
|
<p>The following instructions will let you install NetBSD/algor onto a disk |
605 |
|
image, from an emulated DECstation 3MAX machine: |
606 |
|
|
607 |
|
<p> |
608 |
|
<ol> |
609 |
|
<li>Download a NetBSD/pmax (DECstation) install RAMDISK kernel:<pre> |
610 |
|
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/pmax/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/pmax/binary/kernel/netbsd-INSTALL.gz</a> |
611 |
|
</pre> |
612 |
|
<p> |
613 |
|
<li>Create an empty harddisk image, which will be the disk image |
614 |
|
that you will install NetBSD/algor onto:<pre> |
615 |
|
<b>dd if=/dev/zero of=nbsd_algor.img bs=1024 count=1 seek=700000</b> |
616 |
|
|
617 |
|
</pre> |
618 |
|
<li>Download the P5064 Algor kernel and the 3.0.1 ISO image:<pre> |
619 |
|
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/algor/binary/kernel/netbsd-P5064.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/algor/binary/kernel/netbsd-P5064.gz</a> |
620 |
|
<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1/algorcd-3.0.1.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1/algorcd-3.0.1.iso</a> |
621 |
|
|
622 |
|
</pre> |
623 |
|
<p> |
624 |
|
<li>Start the emulated DECstation machine like this:<pre> |
625 |
|
<b>gxemul -e 3max -d nbsd_algor.img -d algorcd-3.0.1.iso netbsd-INSTALL.gz</b> |
626 |
|
|
627 |
|
</pre> |
628 |
|
<li>At the <tt>Terminal type? [rcons]</tt> prompt, type <b>CTRL-B</b> |
629 |
|
to simulate a CTRL-C sent to NetBSD/pmax. Then execute the following commands: |
630 |
|
<p><table border="0"><tr><td><tt> </tt></td><td><pre> |
631 |
|
<b>newfs /dev/sd0c |
632 |
|
mount /dev/cd0c /mnt |
633 |
|
mkdir /mnt2; mount /dev/sd0c /mnt2 |
634 |
|
cd /mnt2; sh |
635 |
|
for a in /mnt/*/binary/sets/[bcekmt]*.tgz; do echo $a; tar zxfp $a; done |
636 |
|
exit |
637 |
|
cd dev; sh ./MAKEDEV all; cd ../etc |
638 |
|
echo rc_configured=YES >> rc.conf |
639 |
|
echo "/dev/wd0c / ffs rw 1 1" > fstab |
640 |
|
cd /; umount /mnt; umount /mnt2; halt</b> |
641 |
|
</pre></td></tr></table> |
642 |
|
</ol> |
643 |
|
|
644 |
|
<p>You should now be able to boot NetBSD/algor using this command:<pre> |
645 |
|
<b>gxemul -x -e p5064 -d nbsd_algor.img netbsd-P5064.gz</b> |
646 |
|
</pre> |
647 |
|
|
648 |
|
<p>The installation instructions above create a filesystem |
649 |
|
<i>without</i> a disklabel, so there is only one ffs partition and no |
650 |
|
swap. You will need to enter the following things when booting with the |
651 |
|
generic kernel:<pre> |
652 |
|
root device (default wd0a): <b>wd0c</b> |
653 |
|
dump device (default wd0b): <i>(just press enter)</i> |
654 |
|
file system (default generic): <i>(just press enter)</i> |
655 |
|
init path (default /sbin/init): <i>(just press enter)</i> |
656 |
|
</pre> |
657 |
|
|
658 |
|
|
659 |
|
|
660 |
|
|
661 |
|
|
662 |
|
|
663 |
|
|
664 |
|
|
665 |
|
|
666 |
|
|
667 |
|
|
668 |
|
|
669 |
<p><br> |
<p><br> |
670 |
<a name="netbsdsgimips"></a> |
<a name="netbsdsgimips"></a> |
671 |
<h3>NetBSD/sgimips:</h3> |
<h3>NetBSD/sgimips:</h3> |
682 |
|
|
683 |
<p>For a simple test with the ramdisk/install kernel, try |
<p>For a simple test with the ramdisk/install kernel, try |
684 |
dowloading<pre> |
dowloading<pre> |
685 |
<a href="ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.0/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz">ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.0/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz</a> |
<a href="ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.0.1/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz">ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.0.1/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz</a> |
686 |
|
|
687 |
</pre>and run <b><tt>gxemul -x -e o2 netbsd-INSTALL32_IP3x.gz</tt></b>. |
</pre>and run <b><tt>gxemul -x -e o2 netbsd-INSTALL32_IP3x.gz</tt></b>. |
688 |
|
|
694 |
<ol> |
<ol> |
695 |
<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. |
696 |
This needs to have a 750 MB <tt>/tftpboot</tt> partition. |
This needs to have a 750 MB <tt>/tftpboot</tt> partition. |
697 |
<a href="#netbsdpmaxinstall">Install NetBSD/pmax 3.0 from CDROM</a>. |
<a href="#netbsdpmaxinstall">Install NetBSD/pmax 3.0.1 from CDROM</a>. |
698 |
(Don't forget to add the extra partition!) |
(Don't forget to add the extra partition!) |
699 |
<p> |
<p> |
700 |
<li>Configure the nfs server machine to act as an nfs server. |
<li>Configure the nfs server machine to act as an nfs server. |
733 |
<table border="0"><tr><td><tt> </tt></td><td><pre> |
<table border="0"><tr><td><tt> </tt></td><td><pre> |
734 |
<b>cd /tftpboot; ftp -i ftp.se.netbsd.org</b> |
<b>cd /tftpboot; ftp -i ftp.se.netbsd.org</b> |
735 |
(log in as anonymous...) |
(log in as anonymous...) |
736 |
<b>cd /pub/NetBSD/NetBSD-3.0/sgimips/binary/sets |
<b>cd /pub/NetBSD/NetBSD-3.0.1/sgimips/binary/sets |
737 |
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 |
738 |
quit |
quit |
739 |
sh |
sh |
744 |
halt</b> |
halt</b> |
745 |
</pre></td></tr></table> |
</pre></td></tr></table> |
746 |
<li>Download the NetBSD/sgimips GENERIC and INSTALL kernels:<pre> |
<li>Download the NetBSD/sgimips GENERIC and INSTALL kernels:<pre> |
747 |
<a href="ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.0/sgimips/binary/kernel/netbsd-GENERIC32_IP3x.gz">ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.0/sgimips/binary/kernel/netbsd-GENERIC32_IP3x.gz</a> |
<a href="ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.0.1/sgimips/binary/kernel/netbsd-GENERIC32_IP3x.gz">ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.0.1/sgimips/binary/kernel/netbsd-GENERIC32_IP3x.gz</a> |
748 |
<a href="ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.0/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz">ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.0/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz</a> |
<a href="ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.0.1/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz">ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.0.1/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz</a> |
749 |
|
|
750 |
</pre> |
</pre> |
751 |
<li>Create a configuration file called <tt>config_client</tt>: |
<li>Create a configuration file called <tt>config_client</tt>: |
868 |
<b>dd if=/dev/zero of=nbsd_cats.img bs=1024 count=1 seek=2000000</b> |
<b>dd if=/dev/zero of=nbsd_cats.img bs=1024 count=1 seek=2000000</b> |
869 |
|
|
870 |
</pre> |
</pre> |
871 |
<li>Download the NetBSD/cats 3.0 ISO image and the generic and install kernels:<pre> |
<li>Download the NetBSD/cats 3.0.1 ISO image and the generic and install kernels:<pre> |
872 |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0/catscd-3.0.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0/catscd-3.0.iso</a> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1/catscd-3.0.1.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1/catscd-3.0.1.iso</a> |
873 |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0/cats/binary/kernel/netbsd.aout-GENERIC.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0/cats/binary/kernel/netbsd.aout-GENERIC.gz</a> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/cats/binary/kernel/netbsd.aout-GENERIC.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/cats/binary/kernel/netbsd.aout-GENERIC.gz</a> |
874 |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0/cats/binary/kernel/netbsd.aout-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0/cats/binary/kernel/netbsd.aout-INSTALL.gz</a> |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/cats/binary/kernel/netbsd.aout-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/cats/binary/kernel/netbsd.aout-INSTALL.gz</a> |
875 |
|
|
876 |
</pre> |
</pre> |
877 |
<p> |
<p> |
878 |
<li>Start the installation like this:<pre> |
<li>Start the installation like this:<pre> |
879 |
<b>gxemul -XEcats -d nbsd_cats.img -d catscd-3.0.iso netbsd.aout-INSTALL.gz</b> |
<b>gxemul -XEcats -d nbsd_cats.img -d catscd-3.0.1.iso netbsd.aout-INSTALL.gz</b> |
880 |
|
|
881 |
</pre> |
</pre> |
882 |
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 |
884 |
</ol> |
</ol> |
885 |
|
|
886 |
<p>Alternatively, to install from FTP, you can skip downloading the ISO, |
<p>Alternatively, to install from FTP, you can skip downloading the ISO, |
887 |
and start the install without <tt>-d catscd-3.0.iso</tt>. Suitable network |
and start the install without <tt>-d catscd-3.0.1.iso</tt>. Suitable network |
888 |
settings are IP 10.0.0.1, gateway/default route 10.0.0.254, netmask |
settings are IP 10.0.0.1, gateway/default route 10.0.0.254, netmask |
889 |
255.0.0.0, nameserver 10.0.0.254. |
255.0.0.0, nameserver 10.0.0.254. |
890 |
|
|
919 |
|
|
920 |
<p> |
<p> |
921 |
<ol> |
<ol> |
922 |
<li>Install NetBSD/cats 3.0 according to instructions |
<li>Install NetBSD/cats 3.0.1 according to instructions |
923 |
<a href="#netbsdcatsinstall">further up on this page</a>. |
<a href="#netbsdcatsinstall">further up on this page</a>. |
924 |
<p> |
<p> |
925 |
<li>Create an empty harddisk image, which will be the disk image |
<li>Create an empty harddisk image, which will be the disk image |
972 |
|
|
973 |
|
|
974 |
|
|
975 |
|
|
976 |
|
|
977 |
|
|
978 |
|
<p><br> |
979 |
|
<a name="netbsdnetwinderinstall"></a> |
980 |
|
<h3>NetBSD/netwinder:</h3> |
981 |
|
|
982 |
|
It is possible to run <a |
983 |
|
href="http://www.netbsd.org/Ports/netwinder/">NetBSD/netwinder</a> |
984 |
|
in GXemul. |
985 |
|
|
986 |
|
<p> |
987 |
|
<a href="20060724-netbsd-netwinder-1.png"><img src="20060724-netbsd-netwinder-1_small.png"></a> |
988 |
|
<a href="20060724-netbsd-netwinder-2.png"><img src="20060724-netbsd-netwinder-2_small.png"></a> |
989 |
|
|
990 |
|
<p>There is no INSTALL ramdisk kernel, so one way to install the |
991 |
|
NetBSD/netwinder distribution onto a disk image is to install the files |
992 |
|
using another (emulated) machine. The following instructions will let you |
993 |
|
install the NetBSD/netwinder distribution onto a disk image, from an |
994 |
|
emulated DECstation 3MAX machine: |
995 |
|
|
996 |
|
<p> |
997 |
|
<ol> |
998 |
|
<li>Download a NetBSD/pmax (DECstation) install RAMDISK kernel:<pre> |
999 |
|
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/pmax/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/pmax/binary/kernel/netbsd-INSTALL.gz</a> |
1000 |
|
</pre> |
1001 |
|
<p> |
1002 |
|
<li>Create an empty harddisk image, which will be the disk image |
1003 |
|
that you will install NetBSD onto:<pre> |
1004 |
|
<b>dd if=/dev/zero of=nbsd_netwinder.img bs=1024 count=1 seek=999000</b> |
1005 |
|
|
1006 |
|
</pre> |
1007 |
|
<li>Download the generic kernel and the 3.0.1 ISO image:<pre> |
1008 |
|
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/netwinder/binary/kernel/netbsd-GENERIC.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/netwinder/binary/kernel/netbsd-GENERIC.gz</a> |
1009 |
|
<a href="ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1/netwindercd-3.0.1.iso">ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1/netwindercd-3.0.1.iso</a> |
1010 |
|
|
1011 |
|
</pre> |
1012 |
|
<p> |
1013 |
|
<li>Start the emulated DECstation machine like this:<pre> |
1014 |
|
<b>gxemul -e 3max -d nbsd_netwinder.img -d netwindercd-3.0.1.iso netbsd-INSTALL.gz</b> |
1015 |
|
|
1016 |
|
</pre> |
1017 |
|
<li>At the <tt>Terminal type? [rcons]</tt> prompt, type <b>CTRL-B</b> |
1018 |
|
to simulate a CTRL-C sent to NetBSD/pmax. Then execute the following commands: |
1019 |
|
<p><table border="0"><tr><td><tt> </tt></td><td><pre> |
1020 |
|
<b>newfs /dev/sd0c |
1021 |
|
mount /dev/cd0c /mnt |
1022 |
|
mkdir /mnt2; mount /dev/sd0c /mnt2 |
1023 |
|
cd /mnt2; sh |
1024 |
|
for a in /mnt/*/binary/sets/*.tgz; do echo $a; tar zxfp $a; done |
1025 |
|
exit |
1026 |
|
cd dev; sh ./MAKEDEV all; cd ../etc |
1027 |
|
echo rc_configured=YES >> rc.conf |
1028 |
|
echo "/dev/wd0c / ffs rw 1 1" > fstab |
1029 |
|
cd /; umount /mnt; umount /mnt2; halt</b> |
1030 |
|
</pre></td></tr></table> |
1031 |
|
</ol> |
1032 |
|
|
1033 |
|
<p>NetBSD/netwinder is now installed on the disk image. The following command |
1034 |
|
line can be used to start NetBSD/netwinder:<pre> |
1035 |
|
<b>gxemul -X -E netwinder -d nbsd_netwinder.img netbsd-GENERIC.gz</b> |
1036 |
|
</pre> |
1037 |
|
|
1038 |
|
<p>This will result in a 1024x768 framebuffer. Add <tt>-Y2</tt> to the |
1039 |
|
command line if you want to scale it down to 512x384. |
1040 |
|
|
1041 |
|
<p>Note: The installation instructions above create a filesystem |
1042 |
|
<i>without</i> a disklabel, so there is only one ffs partition and no |
1043 |
|
swap. You will need to enter the following things when booting with the |
1044 |
|
generic kernel:<pre> |
1045 |
|
root device (default wd0a): <b>wd0c</b> |
1046 |
|
dump device (default wd0b): <i>(just press enter)</i> |
1047 |
|
file system (default generic): <i>(just press enter)</i> |
1048 |
|
init path (default /sbin/init): <i>(just press enter)</i> |
1049 |
|
</pre> |
1050 |
|
|
1051 |
|
<p>Known bugs/problems: |
1052 |
|
|
1053 |
|
<ul> |
1054 |
|
<li>There is a long delay when starting up NetBSD/netwinder |
1055 |
|
(several seconds even on a very fast host machine), |
1056 |
|
so you need to be patient. |
1057 |
|
<li>There is a minor bug in the keyboard device, so you need to |
1058 |
|
press a key (any key) before typing wd0c. |
1059 |
|
<li>When halting/rebooting NetBSD/netwinder, the emulator |
1060 |
|
prints a message saying something about an internal |
1061 |
|
error. This doesn't matter; ignore the message. |
1062 |
|
</ul> |
1063 |
|
|
1064 |
|
|
1065 |
|
|
1066 |
|
|
1067 |
|
|
1068 |
|
|
1069 |
|
|
1070 |
|
|
1071 |
|
|
1072 |
|
|
1073 |
|
|
1074 |
|
|
1075 |
<p><br> |
<p><br> |
1076 |
<a name="netbsdprepinstall"></a> |
<a name="netbsdprepinstall"></a> |
1077 |
<h3>NetBSD/prep:</h3> |
<h3>NetBSD/prep:</h3> |
1166 |
|
|
1167 |
|
|
1168 |
|
|
1169 |
|
|
1170 |
|
|
1171 |
|
|
1172 |
|
|
1173 |
|
|
1174 |
|
|
1175 |
|
|
1176 |
|
|
1177 |
|
|
1178 |
<p><br> |
<p><br> |
1179 |
<a name="openbsdpmaxinstall"></a> |
<a name="openbsdpmaxinstall"></a> |
1180 |
<h3>OpenBSD/pmax:</h3> |
<h3>OpenBSD/pmax:</h3> |
1394 |
<h3>Ultrix/RISC:</h3> |
<h3>Ultrix/RISC:</h3> |
1395 |
|
|
1396 |
Ultrix 4.x can run in GXemul on an emulated DECstation 5000/200. |
Ultrix 4.x can run in GXemul on an emulated DECstation 5000/200. |
1397 |
(Ultrix was the native OS for these machines, but NetBSD/pmax is |
(Ultrix was the native OS for these machines, but |
1398 |
also usable.) |
<a href="#netbsdpmaxinstall">NetBSD/pmax</a> is also usable.) |
1399 |
|
|
1400 |
<p> |
<p> |
1401 |
|
|
1855 |
<ol> |
<ol> |
1856 |
<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. |
1857 |
This needs to have a 800 MB <tt>/tftpboot</tt> partition. |
This needs to have a 800 MB <tt>/tftpboot</tt> partition. |
1858 |
<a href="#netbsdpmaxinstall">Install NetBSD/pmax 3.0 from CDROM</a>. |
<a href="#netbsdpmaxinstall">Install NetBSD/pmax 3.0.1 from CDROM</a>. |
1859 |
(Don't forget to add the extra partition!) |
(Don't forget to add the extra partition!) |
1860 |
<p> |
<p> |
1861 |
<li>Configure the nfs server machine to act as an nfs server. |
<li>Configure the nfs server machine to act as an nfs server. |
2171 |
<b>while true; do ls -l > /dev/null; echo -n .; done</b> |
<b>while true; do ls -l > /dev/null; echo -n .; done</b> |
2172 |
(80 x 36 dots) |
(80 x 36 dots) |
2173 |
QEMU 0.8.1: 13 min 48 sec |
QEMU 0.8.1: 13 min 48 sec |
2174 |
GXemul 20060711: 7 min 54 sec |
GXemul 0.4.2: 4 min 31 sec |
|
GXemul 0.4.1: 4 min 59 sec |
|
2175 |
|
|
2176 |
<b>while true; do /usr/bin/md5sum /usr/bin/* > /dev/null; echo -n .; done</b> |
<b>while true; do /usr/bin/md5sum /usr/bin/* > /dev/null; echo -n .; done</b> |
2177 |
(80 dots) |
(80 dots) |
2178 |
QEMU 0.8.1: 2 min 9 sec |
QEMU 0.8.1: 2 min 9 sec |
2179 |
GXemul 20060711: 8 min 49 sec |
GXemul 0.4.2: 5 min 18 sec |
|
GXemul 0.4.1: 6 min 54 sec |
|
2180 |
|
|
2181 |
<b>while true; do grep hej lib/libtextwrap.so.1 > /dev/null; echo -n .; done</b> |
<b>while true; do grep hej lib/libtextwrap.so.1 > /dev/null; echo -n .; done</b> |
2182 |
(80 dots) |
(80 dots) |
2183 |
QEMU 0.8.1: 10 min 5 sec |
QEMU 0.8.1: 10 min 5 sec |
2184 |
GXemul 20060711: 3 min 8 sec |
GXemul 0.4.2: 1 min 36 sec |
|
GXemul 0.4.1: 1 min 42 sec |
|
2185 |
</pre> |
</pre> |
2186 |
|
|
2187 |
<p>The commands were run inside the emulators, using the ramdisk kernel |
<p>The commands were run inside the emulators, using the ramdisk kernel |
2188 |
mentioned above. (For GXemul, 2006-07-11 was the date when the QEMU_MIPS |
mentioned above. |
|
mode was added. Performance has since gotten a bit better in general, for |
|
|
non-R3000 MIPS emulation.) |
|
2189 |
|
|
2190 |
|
|
2191 |
|
|
2241 |
|
|
2242 |
|
|
2243 |
|
|
|
<p><br> |
|
|
<a name="netbsdnetwinderinstall"></a> |
|
|
<h3>NetBSD/netwinder:</h3> |
|
|
|
|
|
<a href="http://www.netbsd.org/Ports/netwinder/">NetBSD/netwinder</a> |
|
|
could possibly run in GXemul. |
|
|
<font color="#ff0000">IT DOES <b>NOT</b> WORK YET!</font> |
|
|
|
|
|
<p>It is tricky to install, because there is (as far as I know) no INSTALL |
|
|
kernel. One way to install the NetBSD/netwinder distribution onto a disk |
|
|
image is to install the files using another (emulated) machine. |
|
|
|
|
|
<p> |
|
|
The following instructions will let you install the NetBSD/netwinder |
|
|
distribution onto a disk image, from an emulated DECstation 3MAX machine: |
|
|
|
|
|
<p> |
|
|
<ol> |
|
|
<li>Install NetBSD/pmax 3.0 according to instructions |
|
|
<a href="#netbsdpmaxinstall">further up on this page</a>. |
|
|
<p> |
|
|
<li>Create an empty harddisk image, which will be the disk image |
|
|
that you will install NetBSD onto:<pre> |
|
|
<b>dd if=/dev/zero of=nbsd_netwinder.img bs=1024 count=1 seek=999000</b> |
|
|
|
|
|
</pre> |
|
|
<li>Download the generic kernel and the 2.1 ISO image:<pre> |
|
|
<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> |
|
|
<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> |
|
|
|
|
|
</pre> |
|
|
<p> |
|
|
<li>Start NetBSD/pmax like this:<pre> |
|
|
<b>gxemul -e 3max -d nbsd_pmax.img -d nbsd_netwinder.img -d netwinder.iso</b> |
|
|
|
|
|
</pre>and execute the following commands as <tt>root</tt>: |
|
|
<p><table border="0"><tr><td><tt> </tt></td><td><pre> |
|
|
<b>newfs /dev/sd1c |
|
|
mount /dev/cd0c /mnt |
|
|
mkdir /mnt2; mount /dev/sd1c /mnt2 |
|
|
cd /mnt2; sh |
|
|
for a in /mnt/netwinder/binary/sets/*.tgz; do echo $a; tar zxfp $a; done |
|
|
exit |
|
|
cd dev; sh ./MAKEDEV all; cd ../etc |
|
|
echo rc_configured=YES >> rc.conf |
|
|
echo "/dev/wd0c / ffs rw 1 1" > fstab |
|
|
cd /; umount /mnt; umount /mnt2; halt</b> |
|
|
</pre></td></tr></table> |
|
|
</ol> |
|
|
|
|
|
<p>NetBSD/netwinder is now installed on the disk image. But actually |
|
|
running it does <b>not work yet</b>. Sorry. |
|
|
|
|
|
<p>Something like the following command line would be used to start |
|
|
NetBSD, if it worked:<pre> |
|
|
<b>gxemul -E netwinder -d nbsd_netwinder.img netbsd-GENERIC.gz</b> |
|
|
</pre> |
|
|
|
|
|
<p>Note: The installation instructions above create a filesystem |
|
|
<i>without</i> a disklabel, so there is only one ffs partition and no |
|
|
swap. You will need to enter the following things when booting with the |
|
|
generic kernel:<pre> |
|
|
root device (default wd0a): <b>wd0c</b> |
|
|
dump device (default wd0b): <b>none</b> |
|
|
file system (default generic): <i>(just press enter)</i> |
|
|
init path (default /sbin/init): <i>(just press enter)</i> |
|
|
</pre> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2244 |
|
|
2245 |
<p><br> |
<p><br> |
2246 |
<a name="netbsdmacppcinstall"></a> |
<a name="netbsdmacppcinstall"></a> |
2285 |
|
|
2286 |
|
|
2287 |
|
|
2288 |
|
|
2289 |
|
|
2290 |
|
|
2291 |
|
|
2292 |
|
|
2293 |
|
|
2294 |
|
|
2295 |
|
|
2296 |
|
|
2297 |
|
<p><br> |
2298 |
|
<a name="netbsdbeboxinstall"></a> |
2299 |
|
<h3>NetBSD/bebox:</h3> |
2300 |
|
|
2301 |
|
There is an old snapshot of |
2302 |
|
<a href="http://www.netbsd.org/Ports/bebox/">NetBSD/bebox</a> |
2303 |
|
from 1998-11-19 available at NetBSD's ftp server. NetBSD/bebox |
2304 |
|
could theoretically run in GXemul. |
2305 |
|
<font color="#ff0000">IT DOES <b>NOT</b> WORK RIGHT NOW!</font> |
2306 |
|
|
2307 |
|
<p>The following instructions will let you install NetBSD/bebox onto a |
2308 |
|
disk image, using a NetBSD/prep kernel temporarily during the install: |
2309 |
|
|
2310 |
|
<p> |
2311 |
|
<ol> |
2312 |
|
<li>Download a NetBSD/prep 2.1 install ramdisk kernel:<pre> |
2313 |
|
<a href="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.1/prep/binary/kernel/netbsd-INSTALL.gz">ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.1/prep/binary/kernel/netbsd-INSTALL.gz</a> |
2314 |
|
</pre> |
2315 |
|
<p> |
2316 |
|
<li>Create an empty harddisk image, which will be the disk image |
2317 |
|
that you will install NetBSD onto:<pre> |
2318 |
|
<b>dd if=/dev/zero of=nbsd_bebox.img bs=1024 count=1 seek=999000</b> |
2319 |
|
</pre> |
2320 |
|
<p> |
2321 |
|
<li>Download the NetBSD/bebox snapshot, and create a suitable .iso |
2322 |
|
image of the files: |
2323 |
|
<p><table border="0"><tr><td><tt> </tt></td><td><pre> |
2324 |
|
<b>wget -np -l 0 -r <a href="ftp://ftp.netbsd.org/pub/NetBSD/arch/bebox/snapshot/19981119/">ftp://ftp.netbsd.org/pub/NetBSD/arch/bebox/snapshot/19981119/</a> |
2325 |
|
mv ftp.netbsd.org/pub/NetBSD/arch/bebox/snapshot/19981119/kern.tgz . |
2326 |
|
tar zxvf kern.tgz |
2327 |
|
rm -f kern.tgz |
2328 |
|
mkisofs -o netbsd-bebox-19981119.iso ftp.netbsd.org/pub/NetBSD/arch/bebox/snapshot/19981119</b> |
2329 |
|
</pre></td></tr></table> |
2330 |
|
<p> |
2331 |
|
<li>Now let's extract the files onto the Bebox disk image. Start NetBSD/prep |
2332 |
|
with the following command line:<pre> |
2333 |
|
<b>gxemul -x -e ibm6050 -d d:netbsd-bebox-19981119.iso -d nbsd_bebox.img netbsd-INSTALL.gz</b> |
2334 |
|
|
2335 |
|
</pre>Choose (S) for Shell, and execute the following commands: |
2336 |
|
<p><table border="0"><tr><td><tt> </tt></td><td><pre> |
2337 |
|
<b>disklabel -I -i wd1 |
2338 |
|
a |
2339 |
|
4.2BSD |
2340 |
|
1c |
2341 |
|
750M |
2342 |
|
b |
2343 |
|
swap |
2344 |
|
a |
2345 |
|
200M |
2346 |
|
W |
2347 |
|
y |
2348 |
|
Q |
2349 |
|
newfs /dev/wd1a |
2350 |
|
mount_cd9660 /dev/wd0c /mnt |
2351 |
|
mount /dev/wd1a /mnt2 |
2352 |
|
cd mnt2 |
2353 |
|
for a in /mnt/*.tgz; do echo $a; tar zxfp $a; done |
2354 |
|
cd dev; sh ./MAKEDEV all; cd ../etc |
2355 |
|
echo rc_configured=YES >> rc.conf |
2356 |
|
echo "/dev/wd0a / ffs rw 1 1" > fstab |
2357 |
|
echo "/dev/wd0b none swap sw 0 0" >> fstab |
2358 |
|
cd /; umount /mnt; umount /mnt2 |
2359 |
|
sync; halt</b> |
2360 |
|
</pre></td></tr></table> |
2361 |
|
</ol> |
2362 |
|
|
2363 |
|
<p>You should now be able to boot NetBSD/bebox using this command:<pre> |
2364 |
|
<b>gxemul -X -E bebox -d nbsd_bebox.img netbsd</b> |
2365 |
|
</pre> |
2366 |
|
|
2367 |
|
<p>When asked for the root device, enter <b><tt>wd0a</tt></b>. |
2368 |
|
|
2369 |
|
<p><font color="#ff0000">IT DOES <b>NOT</b> WORK YET</font>, there are |
2370 |
|
errors while uncompressing the tgz files, and the machine crashes when |
2371 |
|
trying to run /sbin/init. |
2372 |
|
|
2373 |
|
|
2374 |
|
|
2375 |
|
|
2376 |
|
|
2377 |
|
|
2378 |
|
|
2379 |
|
|
2380 |
|
|
2381 |
|
|
2382 |
|
|
2383 |
</p> |
</p> |