--- trunk/doc/guestoses.html 2007/10/08 16:17:52 3 +++ trunk/doc/guestoses.html 2007/10/08 16:18:00 4 @@ -1,19 +1,19 @@
-
- GXemul documentation: Installing and running "guest OSes" |
+
+
|
-
To install NetBSD/pmax onto a harddisk image in the emulator, follow these instructions: @@ -105,10 +111,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 +132,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 +149,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 +180,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 +193,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 +204,13 @@
To install NetBSD/arc from a CDROM image onto an emulated harddisk image, @@ -280,7 +285,7 @@
These instructions show an example of how to install NetBSD/hpcmips on an emulated MobilePro 800: @@ -394,11 +405,87 @@ + + +
+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 ++ + + + + + +