--- trunk/doc/guestoses.html 2007/10/08 16:17:48 2 +++ trunk/doc/guestoses.html 2007/10/08 16:18:19 8 @@ -1,19 +1,18 @@
-
- GXemul documentation: Installing and running "guest OSes" |
- - +
+
|
-
To install NetBSD/pmax onto a harddisk image in the emulator, follow these instructions: @@ -105,10 +110,11 @@
- $ dd if=/dev/zero of=netbsddisk.img bs=1 count=512 seek=1900000000 + $ dd if=/dev/zero of=nbsd_pmax.img bs=1 count=512 seek=1900000000
From this point, there are two separate ways to continue the installation. You can either download a CD-ROM iso image (and let the installation @@ -125,7 +131,7 @@
- $ gxemul -X -b -E dec -e 3max -d netbsddisk.img -d bc:pmaxcd.iso + $ gxemul -X -b -E dec -e 3max -d nbsd_pmax.img -d bc:pmaxcd.iso
@@ -142,7 +148,7 @@
- $ gxemul -X -b -E dec -e 3max -d netbsddisk.img -O netbsd-INSTALL + $ gxemul -X -b -E dec -e 3max -d nbsd_pmax.img -O netbsd-INSTALL@@ -173,7 +179,7 @@
When the installation is completed, the following command should start NetBSD from the harddisk image:
- $ gxemul -X -b -M64 -E dec -e 3max -d netbsddisk.img + $ gxemul -X -b -M64 -E dec -e 3max -d nbsd_pmax.img
@@ -186,14 +192,9 @@
If you want to run without the X framebuffer, use this instead:
- $ gxemul -E dec -e 3max -b -d netbsddisk.img + $ gxemul -E dec -e 3max -b -d nbsd_pmax.img-
-NetBSD/pmax seems to work fine with dynamic binary translation (enabled -by the -b command line option) in R3000 mode. NetBSD also -supports R4000-like CPUs on pmax, but the bintrans support for R4000 in -the emulator is less stable than for R3000. @@ -202,10 +203,13 @@
To install NetBSD/arc from a CDROM image onto an emulated harddisk image, @@ -218,19 +222,17 @@ $ dd if=/dev/zero of=nbsd_arc.img bs=1024 count=1 seek=900000 -
+
ftp://ftp.netbsd.org/pub/NetBSD/iso/1.6.2/arccd.iso-
- ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-1.6.2/arc/binary/kernel/netbsd.RAMDISK.gz - -
- $ gxemul -E arc -e pica -b -d nbsd_arc.img -d arccd.iso netbsd.RAMDISK + $ gxemul -E arc -e pica -x -b -d nbsd_arc.img -d bc:arccd.iso \ + -j arc/binary/kernel/netbsd.RAMDISK.gz+ (Try removing -x if you have problems with the xterm.) +
@@ -240,7 +242,7 @@ $ newfs /dev/sd0a $ mount /dev/sd0a /mnt $ cd /mnt - $ for a in /mnt2/arc/binary/sets/*.tgz; do tar xvzpf $a; done + $ for a in /mnt2/arc/binary/sets/*.tgz; do echo $a; tar xzpf $a; done $ cd dev; sh MAKEDEV all $ cd ../etc; echo "rc_configured=YES" >> rc.conf $ cat > /mnt/etc/fstab @@ -263,14 +265,10 @@ image, using the following command:-
- $ gxemul -E arc -e pica -b -d nbsd_arc.img netbsd-GENERIC + $ gxemul -E arc -e pica -xb -d nbsd_arc.img netbsd-GENERIC--Using -b (enabling dynamic binary translation), as in the instructions -above, is not 100% stable. If you experiment weird crashes, try removing that -option and try again. @@ -280,7 +278,7 @@
How to install NetBSD/hpcmips in GXemul:
+Installing NetBSD/hpcmips in GXemul:
It is possible to install NetBSD/hpcmips onto a disk image, on an an emulated MobilePro 770, 780, 800, or 880. The emulator treats the @@ -342,6 +340,12 @@ than the other models, for some reason. (This is a known bug.)These instructions show an example of how to install NetBSD/hpcmips on an emulated MobilePro 800: @@ -352,15 +356,14 @@ $ dd if=/dev/zero of=nbsd_hpcmips.img bs=1024 count=1 seek=1990000
- ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/hpcmips/installation/netbsd.gz +
ftp://ftp.se.netbsd.org/pub/NetBSD/iso/2.0/hpcmipscd.iso(You may want to choose a mirror closer to you, if .se is slow.)
- $ gxemul -E hpc -e mobilepro800 -b -X -d nbsd_hpcmips.img -d hpcmipscd.iso netbsd + $ gxemul -E hpc -e mobilepro800 -b -X -d nbsd_hpcmips.img \ + -d b:hpcmipscd.iso -j hpcmips/installation/netbsd.gzand proceed like you would do if you were installing NetBSD on a real @@ -394,11 +397,88 @@ + + +
+The following instructions will let you install NetBSD/cobalt onto a disk +image, from an emulated DECstation 3MAX machine: + +
+
+ $ dd if=/dev/zero of=nbsd_cobalt.img bs=1024 count=1 seek=1999000 + ++
+ ftp://ftp.se.netbsd.org/pub/NetBSD/NetBSD-2.0/cobalt/binary/kernel/netbsd-GENERIC.gz + ftp://ftp.se.netbsd.org/pub/NetBSD/iso/2.0/cobaltcd.iso + +(You may want to choose a mirror closer to you, if .se is slow.) +
+
+
+ $ gxemul -b -Edec -e3max -d nbsd_pmax.img -d cobaltcd.iso -d nbsd_cobalt.img + ++
+ # newfs /dev/sd1c + # mount /dev/cd0c /mnt + # mkdir /mnt2; mount /dev/sd1c /mnt2 + # cd /mnt2; sh + # for a in /mnt/cobalt/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/wd0d / ffs rw 1 1" > fstab + # cd /; umount /mnt; umount /mnt2; halt ++
+You should now be able to boot NetBSD/cobalt like this:
+ $ gxemul -b -M128 -E cobalt -d nbsd_cobalt.img netbsd-GENERIC ++ +Note that the installation instructions above create a filesystem +without 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:
+ root device (default wd0a): wd0d + dump device (default wd0b): none + file system (default generic): ffs + init path (default /sbin/init): (just press enter here) ++ + + + + + +