Difference between revisions of "Installing NetBSD 1.2 on the SIMH MicroVAX II"

From Computer History Wiki
Jump to: navigation, search
(New page: Installation of NetBSD 1.2 on the MicroVAX II is a little shaky... To keep things simple I'm going to stick with the examples... == Preparing the hard disk == the instructions need us t...)
 
Line 21: Line 21:
 
With this knowledge we can start the disk label.
 
With this knowledge we can start the disk label.
  
=== Sample disklabel ===
+
=== running edisklabel ===
 
<pre>
 
<pre>
 
VAX simulator V3.8-1
 
VAX simulator V3.8-1
Line 157: Line 157:
 
Label which disk?
 
Label which disk?
 
Simulation stopped, PC: 00103083 (BEQL 10307C)
 
Simulation stopped, PC: 00103083 (BEQL 10307C)
 +
sim> q
 +
Goodbye
 +
</pre>
 +
 +
=== Running copy ===
 +
<pre>
 +
Loading boot code from ka655x.bin
 +
 +
←[c
 +
KA655-B V5.3, VMB 2.7
 +
Performing normal system tests.
 +
40..39..38..37..36..35..34..33..32..31..30..29..28..27..26..25..
 +
24..23..22..21..20..19..18..17..16..15..14..13..12..11..10..09..
 +
08..07..06..05..04..03..
 +
Tests completed.
 +
>>>b/3 mua0
 +
(BOOT/R5:3 MUA0
 +
 +
 +
 +
  2..
 +
-MUA0
 +
  1..0..
 +
 +
 +
howto 0x3, bdev 0x12, booting...
 +
10556+552+33996 start 0x0
 +
 +
Nboot
 +
: copy
 +
11248+564+33948 start 0x0
 +
 +
copy:
 +
This program will read miniroot from tape/floppy/disk
 +
and install this miniroot onto disk.
 +
 +
 +
Specify the device to read from as xx(N,?), where
 +
xx is the device-name, ? is file/partition number
 +
and N is the unit-number, e.g.
 +
"tms(0,1)" for the first TMSCP-tape (TK50),
 +
"ra(2,0)" for the third MSCP-disk/floppy (RX33/RX50)
 +
 +
device to read from ? tms(0,1)
 +
 +
Specify number of blocks to transfer. Usually this is
 +
sizeof(miniroot) / 512.
 +
It's safe to transfer more blocks than just the miniroot.
 +
 +
number of blocks ? 4096
 +
 +
If your miniroot is split into volumes, then you must
 +
specify the number of blocks per volume.
 +
(e.g. 800 blocks per RX50, 2400 blocks per RX33)
 +
 +
number of blocks per volume ? [4096]
 +
 +
Make sure unit tms(0,1) is online and holds the proper volume.
 +
Then type 'g' to Go or 'a' to Abort.
 +
 +
OK to go on ? [g/a] g
 +
Reading ... Reading of miniroot done. (4096 blocks read)
 +
 +
 +
Now specify the device to write miniroot to as xx(N,1)
 +
where xx is the drive type and N is the drive number.
 +
For example: ra(0,1) refers to MSCP drive #0, b partition
 +
 +
Root disk ? : ra(0,0,1)
 +
Initializing partition ... done.
 +
(4096 blocks written.)
 +
 +
Halt the machine and reboot from distribution media,
 +
giving second partition as part to mount as root. Ex:
 +
: ra(0,1) for ra disk 0, hp(2,1) for massbuss disk 2
 +
 +
Halt/Reboot the machine NOW.
 +
 +
Infinite loop, PC: 00100613 (BRB 100613)
 
sim> q
 
sim> q
 
Goodbye
 
Goodbye
 
</pre>
 
</pre>

Revision as of 06:53, 16 November 2010

Installation of NetBSD 1.2 on the MicroVAX II is a little shaky...

To keep things simple I'm going to stick with the examples...


Preparing the hard disk

the instructions need us to know the geometry of a disk, and all of it's parameters.. So for me it's a tad daunting, but they do give an RD54 as an example. Here is the disktab entry:

rd54|RD54|DEC RD54 on Microvax:\
        :ty=winchester:ns#17:nt#15:nc#1225:\
        :dt=MSCP:\
        :pa#15884:oa#0:ba#8192:fa#1024:\
        :pb#33440:ob#15884:bb#8192:fb#1024:tb=swap:\
        :pc#311200:oc#0:bc#8192:fc#1024:\
        :pd#15884:od#49324:bd#4096:fd#512:\
        :pe#55936:oe#65208:be#8192:fe#1024:\
        :pf#190485:of#121144:bf#8192:ff#1024:\
        :pg#261876:og#49324:bg#8192:fg#1024:\
        :b0=rdboot:

With this knowledge we can start the disk label.

running edisklabel

VAX simulator V3.8-1
Loading boot code from ka655x.bin

←[c
KA655-B V5.3, VMB 2.7
Performing normal system tests.
40..39..38..37..36..35..34..33..32..31..30..29..28..27..26..25..
24..23..22..21..20..19..18..17..16..15..14..13..12..11..10..09..
08..07..06..05..04..03..
Tests completed.
>>>b/3 mua0
(BOOT/R5:3 MUA0



  2..
-MUA0
  1..0..


howto 0x3, bdev 0x12, booting...
10556+552+33996 start 0x0

Nboot
: edlabel
12524+676+42280 start 0x0
With this program you can modify everything in the on-disk
disklabel. To do something useful you must know the exact
geometry of your disk, and have ideas about how you want
your partitions to be placed on disk. Some hints:
The a partition should be at least ~20000 blocks, the
b (swap) is depending on your use of the machine but it
should almost never be less than ~32000 blocks.

Disk geometry for most DEC disks can be found in the disktab
file, and disknames is listed in the installation notes.

Remember that disk names is given as disk(adapt, ctrl, disk, part)
when using the installation tools.

Label which disk? ra(0,0,0,0)
getdisklabel: no disk label
ra(0,0,0,0): no disk label
(E)dit, (S)how, (D)efaults, (W)rite, (Q)uit) : e

First set disk type. Valid types are:
0  unknown
1  SMD
2  MSCP
3  old DEC
4  SCSI
5  ESDI
6  ST506
7  HP-IB
8  HP-FL
9  type 9
10  floppy
11  ccd
12  vnd

Numeric disk type? [0] 2
Disk name? [] rd54
badsectoring? [n]
ecc? [n]
removable? [n]
Interleave? [0] 1
rpm? [0] 3600
trackskew? [0]
cylinderskew? [0]
headswitch? [0]
track-to-track? [0]
drivedata 0? [0]
drivedata 1? [0]
drivedata 2? [0]
drivedata 3? [0]
drivedata 4? [0]

bytes/sector? [0] 512
sectors/track? [0] 17
tracks/cylinder? [0] 15
sectors/cylinder? [0] 255
cylinders? [0] 1221
a partition: offset? [0]
             size? [0] 20000
b partition: offset? [0] 20000
             size? [0] 20000
c partition: offset? [0]
             size? [0] 311200
d partition: offset? [0]
             size? [0]
e partition: offset? [0] 40000
             size? [0] 271200
f partition: offset? [0]
             size? [0]
g partition: offset? [0]
             size? [0]
h partition: offset? [0]
             size? [0]
(E)dit, (S)how, (D)efaults, (W)rite, (Q)uit) : s


disk type 2 (MSCP),  rd54:
interleave 1, rpm 3600, trackskew 0, cylinderskew 0
headswitch 0, track-to-track 0, drivedata: 0 0 0 0 0

bytes/sector: 512
sectors/track: 17
tracks/cylinder: 15
sectors/cylinder: 255
cylinders: 1221

8 partitions:
     size   offset
a:   20000,    0
b:   20000,    20000
c:   311200,    0
d:   0,    0
e:   271200,    40000
f:   0,    0
g:   0,    0
h:   0,    0

(E)dit, (S)how, (D)efaults, (W)rite, (Q)uit) : w

This program does not (yet) write bootblocks, only disklabel.
Remember to write the bootblocks from the miniroot later with the
command "disklabel -B <diskname>".

(E)dit, (S)how, (D)efaults, (W)rite, (Q)uit) : q
Label which disk? q
q: no disk label
(E)dit, (S)how, (D)efaults, (W)rite, (Q)uit) : q
Label which disk?
Simulation stopped, PC: 00103083 (BEQL 10307C)
sim> q
Goodbye

Running copy

Loading boot code from ka655x.bin

←[c
KA655-B V5.3, VMB 2.7
Performing normal system tests.
40..39..38..37..36..35..34..33..32..31..30..29..28..27..26..25..
24..23..22..21..20..19..18..17..16..15..14..13..12..11..10..09..
08..07..06..05..04..03..
Tests completed.
>>>b/3 mua0
(BOOT/R5:3 MUA0



  2..
-MUA0
  1..0..


howto 0x3, bdev 0x12, booting...
10556+552+33996 start 0x0

Nboot
: copy
11248+564+33948 start 0x0

copy:
This program will read miniroot from tape/floppy/disk
and install this miniroot onto disk.


Specify the device to read from as xx(N,?), where
xx is the device-name, ? is file/partition number
and N is the unit-number, e.g.
"tms(0,1)" for the first TMSCP-tape (TK50),
"ra(2,0)" for the third MSCP-disk/floppy (RX33/RX50)

device to read from ? tms(0,1)

Specify number of blocks to transfer. Usually this is
sizeof(miniroot) / 512.
It's safe to transfer more blocks than just the miniroot.

number of blocks ? 4096

If your miniroot is split into volumes, then you must
specify the number of blocks per volume.
(e.g. 800 blocks per RX50, 2400 blocks per RX33)

number of blocks per volume ? [4096]

Make sure unit tms(0,1) is online and holds the proper volume.
Then type 'g' to Go or 'a' to Abort.

OK to go on ? [g/a] g
Reading ... Reading of miniroot done. (4096 blocks read)


Now specify the device to write miniroot to as xx(N,1)
where xx is the drive type and N is the drive number.
For example: ra(0,1) refers to MSCP drive #0, b partition

Root disk ? : ra(0,0,1)
Initializing partition ... done.
(4096 blocks written.)

Halt the machine and reboot from distribution media,
giving second partition as part to mount as root. Ex:
: ra(0,1) for ra disk 0, hp(2,1) for massbuss disk 2

Halt/Reboot the machine NOW.

Infinite loop, PC: 00100613 (BRB 100613)
sim> q
Goodbye