--- trunk/doc/guestoses.html 2007/10/08 16:18:27 10 +++ trunk/doc/guestoses.html 2007/10/08 16:20:40 30 @@ -1,19 +1,18 @@ -
|
@@ -48,27 +48,25 @@
In addition to the "working" guest operating systems listed above, -you might find the following information interesting: -
-Although it is possible to let a guest OS access real hardware, such as -harddisks, it is much more flexible and attractive to simulate harddisks -using files residing in the host's filesystem. On Unix-like systems, files -may contain holes, which makes this really simple. To the guest operating +
Although it is possible to let a guest OS access real hardware, such as +harddisks, it is much more flexible and attractive to simulate harddisks +using files residing in the host's filesystem. On Unix-like systems, files +may contain holes, which makes this really simple. To the guest operating system, the harddisk image looks and acts like a real disk. +
The version numbers of the various operating systems were the latest +versions that worked satisfactory with GXemul at the time this page was +updated; if new versions have been released since then, they might work as +well. + +
In addition to the "working" guest operating systems listed above, +you might find the following information interesting: (Some of these might +not be relevant for this specific release of GXemul.) + +
Some operating systems are listed with a version number less +than what was available at the time of this GXemul release (e.g. +NetBSD/prep). The reasons for this is because of incompleteness in +GXemul's machine, device, and/or processor implementations. @@ -96,20 +118,35 @@
- +
NetBSD/pmax was the +first guest OS that could be +installed +onto a disk image in GXemul. The device emulation of the DECstation +5000/200 is reasonably complete; it should be enough to emulate a +networked X-windows-capable workstation. + +
NetBSD/pmax 1.6.2 works perfectly with X out-of-the-box. Unfortunately, +newer NetBSD releases have changed slightly, and nowadays X does not +work straight away. (It seems that this has to do with NetBSD switching +console system to "WSCONS" somewhere between 1.6.2 and 2.0. I haven't had +time to figure out how to make it work; at worst it might require a kernel +recompilation.) What this means is that if you want to use emulated X11, +then you need to run NetBSD 1.6.2. If you feel that you only need +serial-console emulation, then choose the latest NetBSD version available. + +
To install NetBSD/pmax -onto a harddisk image in the emulator, follow these instructions: +
To install NetBSD/pmax onto a harddisk image in the emulator, +follow these instructions:
- $ dd if=/dev/zero of=nbsd_pmax.img bs=1 count=512 seek=1900000000 + dd if=/dev/zero of=nbsd_pmax.img bs=1024 count=1 seek=1900000
- ftp://ftp.netbsd.org/pub/NetBSD/iso/1.6.2/pmaxcd.iso + ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/iso/1.6.2/pmaxcd.iso or - ftp://ftp.netbsd.org/pub/NetBSD/iso/2.0.2/pmaxcd.iso + ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1/pmaxcd-3.0.1.iso
- $ gxemul -X -E dec -e 3max -d nbsd_pmax.img -d bc:pmaxcd.iso + gxemul -e 3max -d nbsd_pmax.img -d bc:pmaxcd-3.0.1.iso + (or pmaxcd.iso)and proceed like you would do if you were installing NetBSD on a real - DECstation. + DECstation. Remember to choose vt100 as your terminal + type, and not rcons.
For an ftp install, substitute steps 2 and 3 above with these: @@ -141,16 +180,18 @@
- ftp://ftp.netbsd.org/pub/NetBSD/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 or - ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0.2/pmax/binary/kernel/netbsd-INSTALL.gz + ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/pmax/binary/kernel/netbsd-INSTALL.gz
- $ gxemul -X -E dec -e 3max -d nbsd_pmax.img -O netbsd-INSTALL.gz + gxemul -e 3max -d nbsd_pmax.img -O netbsd-INSTALL.gzand proceed like you would do if you were installing NetBSD on a real - DECstation. Suitable networking parameters are as follows:
+ DECstation. Remember to choose vt100 as your terminal + type, and not rcons. Suitable networking parameters are as + follows:Which device shall I use? [le0]: le0 .. Your DNS domain: mydomain.com @@ -164,29 +205,23 @@ IP number of a real-world nameserver instead.)
(If you don't want to use a graphical framebuffer during the install, -you can remove -X from the command line, but then make sure you -choose "vt100" when prompted with which terminal type to use, and not -"rcons". If you want to use X, but think that the default framebuffer -window is too large, try adding -Y2 to the command line.) +
If you want to use a graphical framebuffer during the install, you can +add -X -Y2 to the command line, and choose rcons +instead of vt100 when prompted with which terminal type to use. +(By just using -X, you will get a full-size framebuffer +window.) -
When the installation is completed, the following command should start +
When the installation is finished, the following command should start NetBSD from the harddisk image:
- $ gxemul -X -M64 -E dec -e 3max -d nbsd_pmax.img + gxemul -e 3max -d nbsd_pmax.img-
-Use startx to start X windows. - -
-NOTE: For some reason, NetBSD 2.0.2 doesn't -work with X out-of-the-box on pmax. It seems that this has to do with a -switch to WSCONS. For now, if you want X, then try NetBSD 1.6.2. - -
-If you want to run without the X framebuffer, use this instead:
- $ gxemul -E dec -e 3max -d nbsd_pmax.img +If you installed NetBSD/pmax 1.6.2, then try the following to start +with a framebuffer:
+ gxemul -X -e 3max -d nbsd_pmax.img+and log in as root and type startx to start X windows. + @@ -198,7 +233,7 @@NetBSD/arc:
-It is possible to run NetBSD/arc on an emulated Acer PICA-61 in the emulator. @@ -207,56 +242,54 @@-To install NetBSD/arc from a CDROM image onto an emulated harddisk image, -follow these instructions: +To install NetBSD/arc 1.6.2 from a CDROM image onto an emulated +harddisk image, follow these instructions:
- Create an empty harddisk image, which will be the root disk that NetBSD installs itself onto:
- $ dd if=/dev/zero of=nbsd_arc.img bs=1024 count=1 seek=900000 + dd if=/dev/zero of=nbsd_arc.img bs=1024 count=1 seek=900000-- Download a NetBSD/arc 1.6.2 CDROM image from ftp:
- ftp://ftp.netbsd.org/pub/NetBSD/iso/1.6.2/arccd.iso +- Download a NetBSD/arc 1.6.2 CDROM image, and a generic NetBSD/arc + kernel:
+ ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/iso/1.6.2/arccd.iso + ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/NetBSD-1.6.2/arc/binary/kernel/netbsd-GENERIC.gz- Start the emulator using this command line:
- $ gxemul -E arc -e pica -x -d nbsd_arc.img -d bc:arccd.iso \ + gxemul -e pica -x -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.)
- From now on, you have to use your imagination, as there is no - automatic installation program for NetBSD/arc. Here are some tips - and hints on how you can proceed with the install:
- $ mount /dev/cd0a /mnt2 - $ disklabel -i -I sd0 (for example 'a', '4.2BSD', '1c', - '700M', 'b', 'swap', '701M', '$', 'P', 'W', 'y', and 'Q') - $ newfs /dev/sd0a - $ mount /dev/sd0a /mnt - $ cd /mnt - $ 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 - /dev/sd0a / ffs rw 1 1 - /dev/sd0b none swap sw 0 0 - (ctrl-d) - $ cd /; umount /mnt; umount /mnt2 - $ halt - --- Download a generic NetBSD/arc kernel:
- ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-1.6.2/arc/binary/kernel/netbsd-GENERIC.gz - -+ automatic installation program for NetBSD/arc 1.6.2. Here are + some tips and hints on how you can proceed with the install: +
+mount /dev/cd0a /mnt2 +disklabel -i -I sd0 (for example 'a', '4.2BSD', '1c', + '700M', 'b', 'swap', '701M', '$', 'P', 'W', 'y', and 'Q') +newfs /dev/sd0a +mount /dev/sd0a /mnt +cd /mnt +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 +/dev/sd0a / ffs rw 1 1 +/dev/sd0b none swap sw 0 0 +(press ctrl-d) +cd /; umount /mnt; umount /mnt2 +halt +You can now use the generic NetBSD/arc kernel to boot from the harddisk image, using the following command:
- $ gxemul -E arc -e pica -x -d nbsd_arc.img netbsd-GENERIC.gz + gxemul -e pica -x -d nbsd_arc.img netbsd-GENERIC.gz@@ -322,8 +355,8 @@-(
* ) = not aligned at a 4 KB boundary, so it will not work -efficiently with the current bintrans system. Using this mode will still +(* ) = not aligned at a page boundary, so it will not work +efficiently with the current dyntrans system. Using this mode will still work, but each load and store will be emulated much more slowly than is possible with an aligned framebuffer. @@ -339,53 +372,46 @@These instructions show an example of how to install -NetBSD/hpcmips on an emulated MobilePro 800: +NetBSD/hpcmips on an emulated MobilePro 770:
- Create an empty harddisk image, which will be the root disk that you will install NetBSD/hpcmips onto:
- $ dd if=/dev/zero of=nbsd_hpcmips.img bs=1024 count=1 seek=1990000 + dd if=/dev/zero of=nbsd_hpcmips.img bs=1024 count=1 seek=999000-- Download the NetBSD 2.0.2 for hpcmips ISO image:
- ftp://ftp.se.netbsd.org/pub/NetBSD/iso/2.0.2/hpcmipscd.iso +- Download the NetBSD/hpcmips 3.0.1 ISO image, and a generic kernel:
+ ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1/hpcmipscd-3.0.1.iso + ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/hpcmips/binary/kernel/netbsd-GENERIC.gz -(You may want to choose a mirror closer to you, if .se is slow.) +
- $ gxemul -E hpc -e mobilepro800 -X -d nbsd_hpcmips.img \ - -d b:hpcmipscd.iso -j hpcmips/installation/netbsd.gz + gxemul -e mobilepro770 -X -d nbsd_hpcmips.img \ + -d b:hpcmipscd-3.0.1.iso -j hpcmips/installation/netbsd.gzand proceed like you would do if you were installing NetBSD on a real - MobilePro 800. (Install onto wd0, choose "Use entire disk" when - doing the MBR partitioning, and choose wd1d (not cd0c) as the - CDROM device to install from.) + MobilePro 770. (Install onto wd0, choose "Use entire disk" when + doing the MBR partitioning, and choose to install from CD-ROM.)
If everything worked, NetBSD should now be installed on the disk image. -GXemul does not (yet) support reading the kernel directly from the -disk image, so you need to download a generic kernel separately:
- ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0.2/hpcmips/binary/kernel/netbsd-GENERIC.gz - -- -
The installation is now complete. Use the following command line to -boot the emulated hpcmips machine:
- $ gxemul -E hpc -e mobilepro800 -X -d nbsd_hpcmips.img netbsd-GENERIC.gz +Use the following command line to boot the emulated hpcmips machine:+ gxemul -e mobilepro770 -X -d nbsd_hpcmips.img netbsd-GENERIC.gz-If you change your mind at this point regarding which machine type to -emulate, you might for example prefer a MobilePro 770, then you can change -that at any time. NetBSD is designed to be able to boot on many types, -without any need to change the kernel. +
If you change your mind at this point regarding which machine type to +emulate, you might for example prefer a MobilePro 800, then you can change +that at any time. NetBSD/hpcmips is designed to be able to boot on many +types, without any need to change the kernel. -
When you have logged in as root, you can use startx to -start X Windows. (Note: There is no mouse support yet; you can only use -keyboard input.) +
When you have logged in as root, you can use startx to +start X Windows, but there is no mouse support yet so only keyboard input +is available. This makes it a bit akward to use X. @@ -400,13 +426,13 @@ 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. +very flexible. There is no traditional 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 @@ -414,42 +440,43 @@
+
- Download a NetBSD/pmax (DECstation) install RAMDISK kernel:
+ ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/pmax/binary/kernel/netbsd-INSTALL.gz ++
- 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 + dd if=/dev/zero of=nbsd_cobalt.img bs=1024 count=1 seek=700000-- Download the generic kernel for Cobalt and the 2.0.2 ISO image:
- ftp://ftp.se.netbsd.org/pub/NetBSD/NetBSD-2.0.2/cobalt/binary/kernel/netbsd-GENERIC.gz - ftp://ftp.se.netbsd.org/pub/NetBSD/iso/2.0.2/cobaltcd.iso +- Download the generic kernel for Cobalt and the 3.0.1 ISO image:
+ ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/cobalt/binary/kernel/netbsd-GENERIC.gz + ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1/cobaltcd-3.0.1.iso -(You may want to choose a mirror closer to you, if .se is slow.) --
- Install NetBSD/pmax 2.0.2 according to instructions - further up on this page. -
-
- Start NetBSD/pmax like this:
- $ gxemul -Edec -e3max -d nbsd_pmax.img -d cobaltcd.iso -d nbsd_cobalt.img ++- Start the emulated DECstation machine like this:
+ gxemul -e 3max -d nbsd_cobalt.img -d cobaltcd-3.0.1.iso netbsd-INSTALL.gz- 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 -+ following commands: (adjust according to taste) +
+newfs /dev/sd0c +mount /dev/cd0c /mnt +mkdir /mnt2; mount /dev/sd0c /mnt2 +cd /mnt2; sh +for a in /mnt/*/binary/sets/[bcekmt]*.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 -M128 -E cobalt -d nbsd_cobalt.img netbsd-GENERIC.gz + gxemul -E cobalt -d nbsd_cobalt.img netbsd-GENERIC.gzNote that the installation instructions above create a filesystem @@ -472,17 +499,15 @@NetBSD/evbmips:
-NetBSD/evbmips can run -in GXemul on an emulated Malta evaluation board (with a 5Kc or 4Kc CPU). +NetBSD/evbmips can run +in GXemul on an emulated Malta evaluation board, with a 5Kc (MIPS64) or +4Kc (MIPS32) processor. 5Kc is the default. -It is tricky to install, because there is (as far as I know) no INSTALL -kernel. One way to install the NetBSD/evbmips distribution onto a disk -image is to install the files is to do it using another (emulated) -machine. +
One way to install the NetBSD/evbmips distribution onto a disk +image is to install the files using another (emulated) machine.
The following instructions will let you install NetBSD/evbmips onto a disk @@ -490,60 +515,144 @@
+
- Download a NetBSD/pmax (DECstation) install RAMDISK kernel:
+ ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/pmax/binary/kernel/netbsd-INSTALL.gz ++
- Create an empty harddisk image, which will be the disk image that you will install NetBSD onto:
- $ dd if=/dev/zero of=nbsd_malta.img bs=1024 count=1 seek=999000 + dd if=/dev/zero of=nbsd_malta.img bs=1024 count=1 seek=700000-- Download the generic kernel and the 2.0.2 ISO image:
- ftp://ftp.se.netbsd.org/pub/NetBSD/NetBSD-2.0.2/evbmips-mipsel/binary/kernel/netbsd-MALTA.gz - ftp://ftp.se.netbsd.org/pub/NetBSD/iso/2.0.2/evbmips-mipselcd.iso +- Download the Malta kernel and the 3.0.1 ISO image:
+ ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/evbmips-mipsel/binary/kernel/netbsd-MALTA.gz + ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1/evbmips-mipselcd-3.0.1.iso -(You may want to choose a mirror closer to you, if .se is slow.) --
- Install NetBSD/pmax 2.0.2 according to instructions - further up on this page. +
-
- $ gxemul -Edec -e3max -d nbsd_pmax.img -d nbsd_malta.img -d evbmips-mipselcd.iso +
+ gxemul -e 3max -d nbsd_malta.img -d evbmips-mipselcd-3.0.1.iso netbsd-INSTALL.gz-
- newfs /dev/sd1c - mount /dev/cd0c /mnt - mkdir /mnt2; mount /dev/sd1c /mnt2 - cd /mnt2; sh - for a in /mnt/evbmips-mipsel/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 +
+newfs /dev/sd0c +mount /dev/cd0c /mnt +mkdir /mnt2; mount /dev/sd0c /mnt2 +cd /mnt2; sh +for a in /mnt/*/binary/sets/[bcemt]*.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 + |
You should now be able to boot NetBSD/evbmips using this command:
+ gxemul -e malta -d nbsd_malta.img netbsd-MALTA.gz+ +
NOTE: To select a 4Kc (MIPS32) CPU instead of the default 5Kc +(MIPS64) CPU, add -C 4Kc to the command line. With NetBSD +3.0.1, however, there will be little or no difference in functionality, as +NetBSD still runs in 32-bit mode on 64-bit MIPS CPUs. There are two things +that differ:
You should now be able to boot NetBSD/evbmips like this:
- $ gxemul -Eevbmips -emalta -d nbsd_malta.img netbsd-MALTA.gz +and run gxemul -x -e o2 netbsd-INSTALL32_IP3x.gz.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): wd0c + dump device (default wd0b): (just press enter) + file system (default generic): (just press enter) + init path (default /sbin/init): (just press enter)-Note 1: NetBSD detects a very fast CPU although the emulation isn't -really very fast, so delays take very long. Even on a multi-GHz host, you -will need a lot of patience. -
Note 2: To select a 4Kc (MIPS32) CPU instead of the default 5Kc -(MIPS64) CPU, add -C 4Kc to the command line. With NetBSD -2.0.2, however, there will be little or no difference in functionality. -(NetBSD still runs in 32-bit mode on 64-bit MIPS CPUs.) -
Note 3: The installation instructions above create a filesystem + + + + + + + + + + + +
NetBSD/algor:
+ +NetBSD/algor can +run in GXemul on an emulated Algorithmics P5064 evaluation board. + +One way to install the NetBSD/algor distribution onto a disk +image is to install the files using another (emulated) machine. + +
The following instructions will let you install NetBSD/algor onto a disk +image, from an emulated DECstation 3MAX machine: + +
+
+
+ +- Download a NetBSD/pmax (DECstation) install RAMDISK kernel:
+ ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/pmax/binary/kernel/netbsd-INSTALL.gz +++
- Create an empty harddisk image, which will be the disk image + that you will install NetBSD/algor onto:
+ dd if=/dev/zero of=nbsd_algor.img bs=1024 count=1 seek=700000 + ++- Download the P5064 Algor kernel and the 3.0.1 ISO image:
+ ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/algor/binary/kernel/netbsd-P5064.gz + ftp://ftp.netbsd.org/pub/NetBSD/iso/3.0.1/algorcd-3.0.1.iso + +++
- Start the emulated DECstation machine like this:
+ gxemul -e 3max -d nbsd_algor.img -d algorcd-3.0.1.iso netbsd-INSTALL.gz + ++- At the Terminal type? [rcons] prompt, type CTRL-B +to simulate a CTRL-C sent to NetBSD/pmax. Then execute the following commands: +
+
+newfs /dev/sd0c +mount /dev/cd0c /mnt +mkdir /mnt2; mount /dev/sd0c /mnt2 +cd /mnt2; sh +for a in /mnt/*/binary/sets/[bcekmt]*.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 +You should now be able to boot NetBSD/algor using this command:
+ gxemul -x -e p5064 -d nbsd_algor.img netbsd-P5064.gz ++ +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): wd0c - dump device (default wd0b): none - file system (default generic): ffs - init path (default /sbin/init): (just press enter here) + dump device (default wd0b): (just press enter) + file system (default generic): (just press enter) + init path (default /sbin/init): (just press enter)@@ -552,25 +661,30 @@ + + + + +NetBSD/sgimips:
NetBSD/sgimips can run in GXemul on an emulated O2 (SGI-IP32). However, GXemul does not yet emulate the AHC PCI SCSI controller in the O2. (I have mailed Adaptec several times, asking for documentation, but never received any reply.) -NetBSD can still run, as long as it doesn't use SCSI. +NetBSD can still run in the emulator, as long as it doesn't use SCSI. -
For a simple test with the 2.0.2 ramdisk (install) kernel, try +
For a simple test with the ramdisk/install kernel, try dowloading
- ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-2.0.2/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz + ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-3.0.1/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz -and run gxemul -E sgi -e o2 netbsd-INSTALL32_IP3x.gz. +
It is possible to set up an environment for netbooting the emulated SGI machine off of another emulated machine. Performing this setup is quite @@ -580,12 +694,12 @@
- $ gxemul -M64 -Edec -e3max -d nbsd_pmax.img + gxemul -e 3max -d nbsd_pmax.imgand enter the following commands as root inside the emulator:
@@ -619,31 +733,28 @@
- ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-2.0.2/sgimips/binary/kernel/netbsd-GENERIC32_IP3x.gz - ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-2.0.2/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz + 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-INSTALL32_IP3x.gz
in one xterm: - $ gxemul @config_server + gxemul @config_server and then, in another xterm: - $ gxemul @config_client + gxemul @config_client
It should now be possible to boot NetBSD/sgimips using the NetBSD/pmax -nfs server, using the following commands: (NOTE! Execute these in two -separate xterms!) - $ gxemul @config_server - $ gxemul @config_client +nfs server, using the following commands: (NOTE! Execute these two +commands in separate xterms!)+ gxemul @config_server + gxemul @config_client-
NetBSD/prep:+ +It is possible to install and run +NetBSD/prep 2.1 in GXemul +on an emulated IBM 6050 (PowerPC) machine. (NetBSD 3.0 uses the wdc +controller in a way which isn't implemented in GXemul yet.) + +To install NetBSD/prep onto a disk image, follow these instructions: + + +
If everything worked, NetBSD should now be installed on the disk image. +Use the following command line to boot the emulated machine: + gxemul -x -e ibm6050 -d nbsd_prep.img netbsd-GENERIC.gz + ++ + When asked which the root device is, type wd0 and +just press ENTER to select the default values for dump device, file +system type, and init path. + + + + + + + + + + + + + + + + OpenBSD/pmax:Installing OpenBSD/pmax is a bit harder than installing NetBSD/pmax. You should first read the section above on how to install NetBSD/pmax, +href="#netbsdpmaxinstall">section above on how to install NetBSD/pmax, before continuing here. If you have never installed OpenBSD on any architecture, then you need a great deal of patience to do this. If, on the other hand you are used to installing OpenBSD, then this should be no @@ -771,32 +1206,33 @@
@@ -862,7 +1298,7 @@ Once you have completed the installation procedure, the following command will let you boot from the new rootdisk image: - $ gxemul -E dec -e 3max -X -M64 -o '-aN' -d obsd_pmax.img -j bsd + gxemul -e 3max -X -o '-aN' -d obsd_pmax.img -j bsd @@ -881,62 +1317,69 @@ - OpenBSD/arc:-It is possible to run OpenBSD/arc on an emulated Acer PICA-61 in the -emulator. -OpenBSD/cats:--(You should be aware of the fact that OpenBSD for the ARC platform died at -release 2.3, so this will not give you an up-to-date OpenBSD system. -See -http://www.openbsd.org/arc.html -for more information.) +It is possible to install and run +OpenBSD/cats +in GXemul. - -To install OpenBSD/arc onto an emulated harddisk image, follow these -instructions: + To install OpenBSD/cats onto an emulated harddisk image, +follow these instructions:
-Once the install has finished, the following command should let you + (Although it is possible to configure the network, IPv4 address +10.0.0.1, netmask 255.0.0.0, gateway/default route 10.0.0.254, and +nameserver 10.0.0.254, the userland NAT-like networking layer is not +stable enough yet to support a full install via ftp.) + + NOTE: Make sure that you sync and reboot +correctly once the installation is finished, or the /dev nodes +may not have been written correctly to disk. + + Once the install has finished, the following command should let you boot from the harddisk image: - - - $ gxemul -X -E arc -e pica -d obsd_arc.img ftp.se.openbsd.org/pub/OpenBSD/2.3/arc/bsd + ++ gxemul -XEcats -d obsd_cats.img bsd@@ -951,14 +1394,14 @@ - $ gxemul -X -E dec -e 3max -M128 -d ds5000.bt -j vmsprite -o '' + gxemul -X -e 3max -M128 -d ds5000.bt -j vmsprite -o ''@@ -1118,29 +1559,26 @@ Debian GNU/Linux for DECstation:-NOTE: This is experimental, and extremely -unstable. During my tests, even pressing the wrong key during the install -(for example the wrong cursor key) can cause a kernel Oops. My success -rate is probably around 50%. - -I think this has to do with interrupts from the serial controller. -Hopefully using the -U command line option will reduce the -risk for such crashes. (I haven't had time to come up with a clean -solution to this yet; it feels like a buffer overflow in Linux' serial -driver for the 5000/200, but it is also likely that it is a bug in GXemul.) - - Everything runs extremely slow. Even if you have a very fast host -machine, an install attempt can still take several hours! +It is possible to run Debian GNU/Linux for DECstation in the emulator, +on an emulated 5000/200 ("3max"). Although the Debian project has released +install ramdisk kernels for this purpose, these do not always work: +
David Muse has made available a precompiled install kernel which +has support for framebuffer, keyboard, and networking, which works +pretty well. Thanks David. :-) The following steps should let you install Debian GNU/Linux for DECstation @@ -1150,85 +1588,90 @@
The post-install step takes quite some time as well. A perfect opportunity + for more coffee. - -The system should now be ready for everyday use. + When asked about "Apt configuration", choose http as the method + to use for accessing the Debian archive. -Use this command to boot from the completely installed disk image: - $ gxemul -E dec -e 3max -U -M64 -o 'console=ttyS3' -d debian.img + + + + + |