UNIX/32V

The original distribution files come from TUHS but the /usr tarball has no file ownership and it's not quite in the format 32V expects (it will still work though). So I made a new usr.tar in 32V format and with correct file ownership (taken from V7), you can find everything here. Either build the tape with mkdisttap.pl or download the pre-built tape.

You should read the setup document.

Installing the root file system

To install the root file system create an install.ini:

set tto 7b
set rp0 rp06
att rp0 disk.hp
set tu0 te16
att tu0 dist.tape
D 30000 20009FDE
D 30004 D0512001
D 30008 3204A101
D 3000C C113C08F
D 30010 A1D40424
D 30014 008FD00C
D 30018 C1800000
D 3001C 8F320800
D 30020 10A1FE00
D 30024 00C139D0
D 30028 00000004
g 30000

Run simh and install the root file system according to the instructions:

% vax780 install.ini

VAX 11/780 simulator V4.0-0 Beta        git commit id: fc417114
RP0: creating new file
Overwrite last track? [N]

HALT instruction, PC: 0003002A (HALT)
sim> g 0
=tdcopy
tdcopy : TM03 tape-to-disk copy

tape MBA # : 1
tape unit # : 0
tape file offset : 1
tape block offset : 0

disk MBA # : 0
disk unit : 0
disk block offset : 0

no. of input blocks : 480
10240 = tape block size

normal termination
480 input blocks read
9600 output blocks written
=^E
Simulation stopped, PC: 00050180 (BBC #7,R0,5017D)
sim> q
Goodbye

Booting UNIX and installing the rest of the tape

Create install2.ini to do the part of the installation where we boot from disk:

set tto 7b
set rp0 rp06
att rp0 disk.hp
set tu0 te16
att tu0 dist.tape
D 30000 00009FDE
D 30004 D0512001
D 30008 D004A101
D 3000C 0400C113
D 30010 10008F32
D 30014 D40424C1
D 30018 8FD00CA1
D 3001C 80000000
D 30020 320800C1
D 30024 A1FE008F
D 30028 28C1D410
D 3002C 14C1D404
D 30030 C139D004
D 30034 00000400
g 30000
g 2

Run simh with this:

% vax780 install2.ini 

VAX 11/780 simulator V4.0-0 Beta        git commit id: fc417114

HALT instruction, PC: 00030037 (HALT)

file : unix

RESTRICTED RIGHTS
USE, DUPLICATION OR DISCLOSURE IS
SUBJECT TO RESTRICTION STATED IN YOUR
CONTRACT WITH WESTERN ELECTRIC COMPANY INC.

real mem  = 8323072
Warning: more page-frames than allocated in bit map
   Only 2048 of 16256 used. (Increase PHYSPAGES)   
avail mem = 939008                              
#

First we'll create /etc/group (using ed or cat) because it is missing for some reason:

other::1:
daemon::2:
sys::3:bin,sys
bin::4:bin,sys

I'm not quite sure this is correct, no other system seems to have a daemon group.

Now we can create the usr file system and extract the rest of the tape:

# /etc/mkfs /usr@ 
/etc/mkfs /dev/rp0h 322278
isize = 65496
m/n = 3 500
# /etc/mount /dev/rp0h /usr
# cd /usr
# cp /dev/rmt4 /dev/null
# cp /dev/rmt4 /dev/null
# tar xbf 20 /dev/rmt0
# sync
# sync
# sync
# ^E
Simulation stopped, PC: 80000798 (BLBC 8000B6FC,80000798)
sim> q
Goodbye

Booting into multi-user mode

To boot the system I use this boot.ini:

set tto 7b
set rp0 rp06
att rp0 disk.hp
D 30000 00009FDE
D 30004 D0512001
D 30008 D004A101
D 3000C 0400C113
D 30010 10008F32
D 30014 D40424C1
D 30018 8FD00CA1
D 3001C 80000000
D 30020 320800C1
D 30024 A1FE008F
D 30028 28C1D410
D 3002C 14C1D404
D 30030 C139D004
D 30034 00000400
g 30000
g 2

Boot the file unix and press ^D to go into multi-user mode:

% vax780 boot.ini 

VAX 11/780 simulator V4.0-0 Beta        git commit id: fc417114

HALT instruction, PC: 00030037 (HALT)

file : unix

RESTRICTED RIGHTS
USE, DUPLICATION OR DISCLOSURE IS
SUBJECT TO RESTRICTION STATED IN YOUR
CONTRACT WITH WESTERN ELECTRIC COMPANY INC.

real mem  = 8323072
Warning: more page-frames than allocated in bit map
   Only 2048 of 16256 used. (Increase PHYSPAGES)   
avail mem = 939008                              
# entering rc     
clearing mtab
clearing /tmp
mounting /usr on rp0h
starting update
starting cron
leaving rc

login: root
# sync
# sync
# sync
# 
Simulation stopped, PC: 80000798 (BLBC 8000B6FC,80000798)
sim> q
Goodbye

That's it!