home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Boot_Images / 2.11_on_Simh / README.networked.211BSD < prev   
Encoding:
Text File  |  2002-12-07  |  3.5 KB  |  118 lines

  1.  
  2. This is my (Andru Luvisi's) setup for running 2.11BSD under SIMH.
  3.  
  4.  
  5. MANIFEST
  6.  
  7.   distro/*
  8.     The original files from the TUHS archive (http://www.tuhs.org/)
  9.     under PDP-11/Distributions/ucb/2.11BSD/
  10.  
  11.   docs/2.11bsd_setup.txt
  12.     The 2.11BSD install manual from the TUHS archive
  13.     under PDP-11/Documentation/
  14.  
  15.   media/211bsd.tap
  16.     A recreation of the distribution tape created using mkdisttap.pl
  17.  
  18.   media/root.dsk
  19.     A disk image that boots a kernel with networking and a ram disk.
  20.  
  21.   211bsd.simh
  22.     The command file for booting SIMH from the root.dsk image.
  23.     "pdp11 211bsd.simh" should boot you into the networked system.
  24.  
  25.   211bsd.simh.bootstrap
  26.     The command file for booting SIMH from the 211bsd.tap distribution
  27.     tape image.  To create a new system:
  28.       dd if=/dev/zero of=media/newsystem.dsk bs=1024k count=XXXX
  29.       pdp11 211bsd.simh.bootstrap
  30.     Then follow the instructions in docs/2.11bsd_setup.txt
  31.  
  32.   mkdisttap.pl
  33.     Perl script for generating the distribution tape from the distribution
  34.     files.  To create a distribution tape "./mkdisttap.pl > 211bsd.tap"
  35.  
  36.   tapadd.pl
  37.     Perl script for putting files into a tape image.  For example, to move
  38.     a folder named "foo" from the host into the emulator, you might:
  39.       (in the host)
  40.       tar cvf foo.tar foo
  41.       ./tapadd.pl foo.tar > foo.tap
  42.       (at the emulator's command prompt)
  43.       attach ts foo.tap
  44.       (inside 211BSD)
  45.       mt rewind
  46.       tar xvf /dev/rmt12
  47.   
  48.   tapcat.pl
  49.     Perl script for extracting files from a tape image.  For example, to move
  50.     a folder named "foo" from the emulator out to the host, you might:
  51.       (at the emulator's command prompt)
  52.       attach ts foo.tap
  53.       (in the emulator)
  54.       mt rewind
  55.       tar cvf /dev/rmt12 foo
  56.       (at the emulator's command prompt)
  57.       detach ts
  58.       (in the host)
  59.       ./tapcat.pl foo.tap 0 > foo.tar
  60.       tar xvf foo.tar
  61.  
  62.  
  63. CHANGES FROM THE DEFAULT IN media/root.dsk
  64.  
  65.   It has the ra boot block installed (as described in docs/2.11bsd_setup.txt).
  66.  
  67.   The /unix and /netnix files (the default kernel) were built from the 
  68.   configuration file /sys/conf/SYSTEM.  In particular,
  69.     Only ra disks are supported.
  70.     Only ts tapes are supported.
  71.     There is a 1 megabyte ramdisk.
  72.     Networking and the qe driver are enabled.
  73.     It supports a DZ11 with 8 ports.
  74.  
  75.   The distribution/generic kernel without networking is in /unixorg.  
  76.   This is the one you want to boot from if you botch up the main kernel.
  77.  
  78.   I have edited /etc/rc to:
  79.     Mount /tmp as a ramdisk and place fsck's temporary file there.
  80.     This stopped fsck from complaining about its temporary file being
  81.     on /.
  82.  
  83.     Start fewer network services.
  84.  
  85.   /dev/{mt,rmt}* are ts devices.
  86.  
  87.   /dev/tty0[0-7] are dz devices
  88.  
  89.   /etc/ttys starts getty on the 8 DZ11 ports.
  90.  
  91.   I modified syslogd so that it won't listen to the network.
  92.   See /usr/src/usr.sbin/syslogd/
  93.  
  94.  
  95. RUNNING
  96.  
  97.   Set up SIMH with networking (see the SIMH docs for how to do this).
  98.  
  99.   edit 211bsd.simh and modify the ethernet address to your liking.
  100.  
  101.   run: pdp11 211bsd.simh
  102.  
  103.   When the boot loader offers you a ":" prompt, press return.  It will
  104.   boot into single user mode.  Press ^D.
  105.  
  106.   Once it finishes booting into multiuser mode, you can log in on the 
  107.   console as root with a password of Hithere.
  108.  
  109.   For additional logins, "telnet localhost 4000".
  110.  
  111.  
  112. CONFIGURING NETWORKING
  113.  
  114.   In order to configure networking, you will need to edit the files
  115.   /etc/hosts and /etc/netstart.  In /etc/netstart look for "hostname="
  116.   (it's around line 26).
  117.  
  118.