--- trunk/doc/guestoses.html 2007/10/08 16:17:48 2 +++ trunk/doc/guestoses.html 2007/10/08 16:18:00 4 @@ -1,19 +1,19 @@ GXemul documentation: Installing and running "guest OSes" - -

- - -
- GXemul documentation: Installing and running "guest OSes"
-

+ + +
+
+GXemul documentation:        +Installing and running "guest OSes" +

-

  • How to install OpenBSD/pmax in GXemul -
  • How to install OpenBSD/arc in GXemul +
  • Installing OpenBSD/pmax in GXemul +
  • Installing OpenBSD/arc in GXemul -
  • How to install Ultrix/RISC in GXemul -
  • How to run Sprite for DECstation in GXemul -
  • How to install Debian GNU/Linux for DECstation in GXemul -
  • How to run Redhat Linux for DECstation in GXemul -
  • How to run Mach/PMAX in GXemul +
  • Installing Ultrix/RISC in GXemul +
  • Running Sprite for DECstation in GXemul +
  • Installing Debian GNU/Linux for DECstation in GXemul +
  • Running Redhat Linux for DECstation in GXemul +
  • Running Mach/PMAX in GXemul @@ -96,8 +97,13 @@


    -

    How to install NetBSD/pmax in GXemul:

    +

    Installing NetBSD/pmax in GXemul:

    + +

    +         + +

    To install NetBSD/pmax onto a harddisk image in the emulator, follow these instructions: @@ -105,10 +111,11 @@

    1. Create an empty harddisk image, which will be the root disk that NetBSD installs itself onto:
      -	$ 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 @@

  • Start the emulator like this:
    -	$ 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 @@

  • Start the emulator like this:
    -	$ 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 @@


    -

    How to install NetBSD/arc in GXemul:

    +

    Installing NetBSD/arc in GXemul:

    -It is possible to run NetBSD/arc on an emulated Acer PICA-61 in the -emulator. +It is possible to run NetBSD/arc on an emulated Acer PICA-61 in the emulator. + +

    +         +

    To install NetBSD/arc from a CDROM image onto an emulated harddisk image, @@ -280,7 +285,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 +347,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: @@ -394,11 +405,87 @@ + + +


    + +

    Installing NetBSD/cobalt in GXemul:

    + +NetBSD/cobalt is tricky +to install, because the Cobalt machines were designed for Linux, and not +very flexible. There is no INSTALL kernel for NetBSD/cobalt. One way to +install the NetBSD/cobalt distribution onto a disk image is to do it from +another (emulated) machine. + +

    +         + + +

    +The following instructions will let you install NetBSD/cobalt onto a disk +image, from an emulated DECstation 3MAX machine: + +

    +

      +
    1. Create an empty harddisk image, which will be the disk image + that you will install NetBSD/cobalt onto:
      +	$ dd if=/dev/zero of=nbsd_cobalt.img bs=1024 count=1 seek=1999000
      +
      +
      +
    2. Install NetBSD/pmax 2.0 according to instructions further up + on this page. +

      +

    3. Download the generic kernel for Cobalt (and gunzip it) and + the 2.0 ISO image:
      +	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.) +

      +

    4. Start NetBSD/pmax like this:
      +	$ gxemul -b -Edec -e3max -d nbsd_pmax.img -d cobaltcd.iso -d nbsd_cobalt.img
      +
      +
      +
    5. Log in as root (on the emulated 3MAX machine), and execute the + following commands: (adjust according to taste)
      +	# 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
    +
    + + + + + + +