Initial commit of 2.11BSD disk image and instructions.
[pdp11-211bsd-simh] / README.md
CommitLineData
14f53c49
AT
1# Overview #
2
3The `211bsd_simh` directory contains a working 2.11BSD disk image that can be
4booted using the included SIMH config file. Simply execute `simh system.conf`
5from within the `211bsd_simh` directory. Don't forget to `gunzip` the disk
6image file before use.
7
8If you need help installing/configuring SIMH, see my notes on installing SIMH
9located at
10<https://subgeniuskitty.com/development/pdp11/software_development/modern_unix>.
11
12If your console looks like the contents of the files in `7bit-encoding`, make
13sure the line `set tto 7b` is not commented out in `211bsd_simh/system.conf`.
14
15The files in `211bsd_install_tape` are a BSD install tape image and a PDF
16describing how to use it.
17
18
19# Status #
20
21Tested and working. This image runs regularly in SIMH and a real PDP-11.
22
23
24# Instructions #
25
26Clone the repository and un-gzip the disk image.
27
28 git clone git://git.subgeniuskitty.com/pdp11-211bsd-simh
29 cd pdp11-211bsd-simh/211bsd_simh
30 gunzip disk0_ra90_211bsd.dsk.gz
31
32From within the same directory, execute `pdp11 system.conf` to begin the
33simulation using SIMH.
34
35 PDP-11 simulator V3.9-0
36 Disabling CR
37 Disabling RK
38 Disabling HK
39 Disabling TM
40
41 73Boot from ra(0,0,0) at 0172150
42 :
43
44This bootloader was loaded from block `0` of the first MSCP compatible disc
45device, which, per `system.conf`, is the file `disk0_ra90_211bsd.dsk`. This
46bootloader is sophisticated enough to load the UNIX kernel, but we have to tell
47it what device and file to load. Type `ra(0,0,0)unix` and press Enter to
48proceed.
49
50 : ra(0,0,0)unix
51 Boot: bootdev=02400 bootcsr=0172150
52
53 2.11 BSD UNIX #1: Sat Aug 11 20:38:20 PDT 2018
54 root@curly.2bsd.com:/usr/src/sys/KRYTEN-NONET
55
56 ra0: Ver 3 mod 3
57 ra0: RA90 size=2376153
58
59 phys mem = 4186112
60 avail mem = 3990464
61 user mem = 307200
62
63 August 12 00:01:47 init: configure system
64
65 ra 0 csr 172150 vector 154 vectorset attached
66 cn 1 csr 176500 vector 300 skipped: No CSR.
67 cn 2 csr 176510 vector 310 skipped: No CSR.
68 cn 3 csr 176520 vector 320 skipped: No CSR.
69 cn 4 csr 176530 vector 330 skipped: No CSR.
70 erase, kill ^U, intr ^C
71 #
72
73The computer has now booted up to single-user mode and you are logged in as
74root. Unless you need to perform an operation in single-user mode, press
75`Ctrl-D` here to logout and let startup continue.
76
77 # Fast boot ... skipping disk checks
78 checking quotas: done.
79 Assuming non-networking system ...
80 checking for core dump...
81 preserving editor files
82 clearing /tmp
83 standard daemons: update cron accounting.
84 starting lpd
85 starting local daemons: sendmail.
86 Sun Aug 12 00:01:53 PDT 2018
87
88
89 2.11 BSD UNIX (curly.2bsd.com) (console)
90
91 login:
92
932.11BSD is now booted into multi-user mode. Login with username `root` and
94password `temppass` to get started.
95
96To shut down, as `root`, type `sync; sync; halt` to flush any buffers and halt
97the PDP-11 simulation. Then, type `quit` at the `sim>` prompt to exit SIMH.
98
99 login: root
100 Password:
101 erase, kill ^U, intr ^C
102 # sync; sync; halt
103 syncing disks... done
104 halting
105
106 HALT instruction, PC: 000014 (MOV #1,10544)
107 sim> quit
108 Goodbye
109
110Note that you can always halt the simulation and return control to SIMH by
111pressing `Ctrl-e` at any time. This drops to the `sim>` prompt. Entering `go`
112will resume simulation where it paused.