1 |
<html> |
<html><head><title>GXemul documentation: Misc.</title> |
2 |
<head><title>GXemul documentation: Misc.</title> |
<meta name="robots" content="noarchive,nofollow,noindex"></head> |
|
</head> |
|
3 |
<body bgcolor="#f8f8f8" text="#000000" link="#4040f0" vlink="#404040" alink="#ff0000"> |
<body bgcolor="#f8f8f8" text="#000000" link="#4040f0" vlink="#404040" alink="#ff0000"> |
4 |
<table border=0 width=100% bgcolor="#d0d0d0"><tr> |
<table border=0 width=100% bgcolor="#d0d0d0"><tr> |
5 |
<td width=100% align=center valign=center><table border=0 width=100%><tr> |
<td width=100% align=center valign=center><table border=0 width=100%><tr> |
7 |
<b>GXemul documentation:</b></font> |
<b>GXemul documentation:</b></font> |
8 |
<font color="#000000" size="6"><b>Misc.</b> |
<font color="#000000" size="6"><b>Misc.</b> |
9 |
</font></td></tr></table></td></tr></table><p> |
</font></td></tr></table></td></tr></table><p> |
|
<!-- The first 10 lines are cut away by the homepage updating script. --> |
|
|
|
|
10 |
|
|
11 |
<!-- |
<!-- |
12 |
|
|
13 |
$Id: misc.html,v 1.40 2005/04/16 00:29:45 debug Exp $ |
$Id: misc.html,v 1.42 2005/06/26 08:42:26 debug Exp $ |
14 |
|
|
15 |
Copyright (C) 2003-2005 Anders Gavare. All rights reserved. |
Copyright (C) 2003-2005 Anders Gavare. All rights reserved. |
16 |
|
|
155 |
Here are some examples. If you want to run a NetBSD/pmax kernel on an |
Here are some examples. If you want to run a NetBSD/pmax kernel on an |
156 |
emulated DECstation machine, you would use a command line such as this: |
emulated DECstation machine, you would use a command line such as this: |
157 |
<pre> |
<pre> |
158 |
$ <b>gxemul -E dec -e 3max -b -d pmax_diskimage.fs netbsd-pmax-INSTALL</b> |
$ <b>gxemul -E dec -e 3max -d pmax_diskimage.fs netbsd-pmax-INSTALL</b> |
159 |
</pre> |
</pre> |
160 |
<p> |
<p> |
161 |
NOTE: For some emulation modes, such as the DECstation mode, you do |
NOTE: For some emulation modes, such as the DECstation mode, you do |
166 |
image is added; the first will be SCSI target 0, the second will be target 1, and so on, |
image is added; the first will be SCSI target 0, the second will be target 1, and so on, |
167 |
unless you specify explicitly which ID number the devices should have. |
unless you specify explicitly which ID number the devices should have. |
168 |
<pre> |
<pre> |
169 |
$ <b>gxemul -E dec -e 3max -b -d disk0.raw -d disk1.raw -d 5:disk2.raw netbsd-pmax-INSTALL</b> |
$ <b>gxemul -E dec -e 3max -d disk0.raw -d disk1.raw -d 5:disk2.raw netbsd-pmax-INSTALL</b> |
170 |
</pre> |
</pre> |
171 |
Note: In the example above, disk2.raw will get scsi id 5. |
Note: In the example above, disk2.raw will get scsi id 5. |
172 |
<p> |
<p> |
175 |
For example, the following command would start the emulator with two |
For example, the following command would start the emulator with two |
176 |
CDROM images, and one harddisk image: |
CDROM images, and one harddisk image: |
177 |
<pre> |
<pre> |
178 |
$ <b>gxemul -E dec -e 3max -b -d image.iso -d disk0.img -d c:second_cdrom.img netbsd-pmax-INSTALL</b> |
$ <b>gxemul -E dec -e 3max -d image.iso -d disk0.img -d c:second_cdrom.img netbsd-pmax-INSTALL</b> |
179 |
</pre> |
</pre> |
180 |
Usually, the device with the lowest id becomes the boot device. To override |
Usually, the device with the lowest id becomes the boot device. To override |
181 |
this, add a 'b' prefix to one of the devices: |
this, add a 'b' prefix to one of the devices: |
182 |
<pre> |
<pre> |
183 |
$ <b>gxemul -E dec -e 3max -b -d rootdisk.img -d bc:install-cd.iso name_of_kernel</b> |
$ <b>gxemul -E dec -e 3max -d rootdisk.img -d bc:install-cd.iso name_of_kernel</b> |
184 |
</pre> |
</pre> |
185 |
If you have a physical CD-ROM drive on the host machine, say /dev/cd0c, you can |
If you have a physical CD-ROM drive on the host machine, say /dev/cd0c, you can |
186 |
use it as a CD-ROM directly accessible from within the emulator: |
use it as a CD-ROM directly accessible from within the emulator: |
187 |
<pre> |
<pre> |
188 |
$ <b>gxemul -E dec -e 3max -b -d rootdisk.img -d bc:/dev/cd0c name_of_kernel</b> |
$ <b>gxemul -E dec -e 3max -d rootdisk.img -d bc:/dev/cd0c name_of_kernel</b> |
189 |
</pre> |
</pre> |
190 |
It is probably possible to use harddisks as well this way, but I would not |
It is probably possible to use harddisks as well this way, but I would not |
191 |
recommend it. |
recommend it. |