<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://gunkies.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Decuser</id>
		<title>Computer History Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://gunkies.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Decuser"/>
		<link rel="alternate" type="text/html" href="https://gunkies.org/wiki/Special:Contributions/Decuser"/>
		<updated>2026-06-06T13:39:41Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.30.1</generator>

	<entry>
		<id>https://gunkies.org/w/index.php?title=Installing_v7_on_SIMH&amp;diff=22491</id>
		<title>Installing v7 on SIMH</title>
		<link rel="alternate" type="text/html" href="https://gunkies.org/w/index.php?title=Installing_v7_on_SIMH&amp;diff=22491"/>
				<updated>2020-07-21T23:10:15Z</updated>
		
		<summary type="html">&lt;p&gt;Decuser: /* Additional Information */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the procedure I'm using to install [[Unix Seventh Edition|Research Unix v7]] on [[SIMH]]'s [[PDP-11]] emulator.&lt;br /&gt;
&lt;br /&gt;
I'm using the files from [[TUHS]] &amp;quot;/Archive/Distributions/Research/Keith_Bostic_v7/&amp;quot; directory.  I've also uploaded the resulting tape to [https://sourceforge.net/projects/bsd42/files/Install%20tapes/Research%20Unix/Unix-v7-Keith-Bostic.tap.bz2/download here].&lt;br /&gt;
&lt;br /&gt;
If you are going to build the tape then you'll need the [[Mkdisttap.pl#Research Unix v7|mkdisttap.pl]] script to output a v7.tap file.&lt;br /&gt;
&lt;br /&gt;
NOTE: Comments at the end of a line of the form:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[## Comment]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
are just to tell you what to do when there is ambiguity; please do not type them in literally!&lt;br /&gt;
&lt;br /&gt;
== Tape Install ==&lt;br /&gt;
&lt;br /&gt;
=== tapei.ini ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cat &amp;gt; tapei.ini &amp;lt;&amp;lt;EOF&lt;br /&gt;
set cpu 11/45&lt;br /&gt;
set cpu idle&lt;br /&gt;
set rp0 rp06&lt;br /&gt;
att rp0 rp06-0.disk&lt;br /&gt;
att tm0 v7.tap&lt;br /&gt;
boot tm0&lt;br /&gt;
EOF&lt;br /&gt;
boot tm0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with the config in hand, then let's install.&lt;br /&gt;
&lt;br /&gt;
=== installation ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pdp11 tapei.ini &lt;br /&gt;
&lt;br /&gt;
PDP-11 simulator V3.8-1&lt;br /&gt;
Disabling XQ&lt;br /&gt;
RP: creating new file&lt;br /&gt;
Overwrite last track? [N]	[## Just hit enter]&lt;br /&gt;
Boot&lt;br /&gt;
:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
I just hit enter to the &amp;quot;Overwrite last track&amp;quot; question, then the bootloader will appear.  We are going to load the 3rd program on the tape, mkfs and format the 'a' partition.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Boot&lt;br /&gt;
: tm(0,3)&lt;br /&gt;
file sys size: 5000&lt;br /&gt;
file system: hp(0,0)&lt;br /&gt;
isize = 1600&lt;br /&gt;
m/n = 3 500&lt;br /&gt;
Exit called&lt;br /&gt;
Boot&lt;br /&gt;
:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The block size comes out of pre-compiled disk sizes in the kernel.  Unix back then wasn't as dynamic as what we like in these modern times...  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Boot&lt;br /&gt;
: tm(0,4)&lt;br /&gt;
Tape? tm(0,5)&lt;br /&gt;
Disk? hp(0,0)&lt;br /&gt;
Last chance before scribbling on disk.	[## Just hit enter]&lt;br /&gt;
End of tape&lt;br /&gt;
Boot&lt;br /&gt;
:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Once the formatting is complete, then it'll drop back to the bootloader, and we are going to load the 4th program which is the restore program, and we'll restore the root partition.&lt;br /&gt;
&lt;br /&gt;
Now we can boot up UNIX from the hard disk, and setup the OS.  The console driver echoes everything in upper case letters, however all command are entered in lowercase. We'll set stty to lowercase and speed up carriage returns and linefeeds.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Boot&lt;br /&gt;
: hp(0,0)hptmunix&lt;br /&gt;
mem = 177344&lt;br /&gt;
# STTY -LCASE NL0 CR0&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy the kernel to unix and remove the extra versions.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# mv hptmunix unix&lt;br /&gt;
# rm hp*ix&lt;br /&gt;
# rm rp*ix&lt;br /&gt;
# ls *ix&lt;br /&gt;
unix&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create the RP06 devices in /dev.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cd /dev&lt;br /&gt;
# make rp06&lt;br /&gt;
/etc/mknod rp0 b 6 0&lt;br /&gt;
/etc/mknod swap b 6 1&lt;br /&gt;
/etc/mknod rp3 b 6 7&lt;br /&gt;
/etc/mknod rrp0 c 14 0&lt;br /&gt;
/etc/mknod rrp3 c 14 7&lt;br /&gt;
chmod go-w rp0 swap rp3 rrp0 rrp3&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create the TU10 devices in /dev.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# make tm&lt;br /&gt;
/etc/mknod mt0 b 3 0&lt;br /&gt;
/etc/mknod rmt0 c 12 0&lt;br /&gt;
/etc/mknod nrmt0 c 12 128&lt;br /&gt;
chmod go+w mt0 rmt0 nrmt0&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create an empty filesystem on the RP06 and check it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cd /&lt;br /&gt;
# /etc/mkfs /dev/rp3 322278&lt;br /&gt;
isize = 65496&lt;br /&gt;
m/n = 3 500&lt;br /&gt;
# icheck /dev/rp3&lt;br /&gt;
/dev/rp3:&lt;br /&gt;
files      2 (r=1,d=1,b=0,c=0)&lt;br /&gt;
used       1 (i=0,ii=0,iii=0,d=1)&lt;br /&gt;
free  314088&lt;br /&gt;
missing    0&lt;br /&gt;
# &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Fastforward the tape and restore the /usr filesystem to the RP06.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# dd if=/dev/r#nrmt0 of=/dev/null bs=20b files=6&lt;br /&gt;
202+80 records in&lt;br /&gt;
202+75 records out&lt;br /&gt;
# restor rf /dev/rmt0 /dev/rp3&lt;br /&gt;
Last chance before scribbling on /dev/rp3.	[## Just hit enter]&lt;br /&gt;
End of tape&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Mount /usr, copy the bootblock to the RP06, sync and exit the sim.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# /etc/mount /dev/rp3 /usr&lt;br /&gt;
# dd if=/usr/mdec/hpuboot of=/dev/rp0 count=1&lt;br /&gt;
0+1 records in&lt;br /&gt;
0+1 records out&lt;br /&gt;
# sync&lt;br /&gt;
# sync&lt;br /&gt;
# sync&lt;br /&gt;
# sync&lt;br /&gt;
#		                   [## Type CTRL-E (^E) here]&lt;br /&gt;
Simulation stopped, PC: 002306 (MOV (SP)+,177776)&lt;br /&gt;
sim&amp;gt; q&lt;br /&gt;
Goodbye&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Normal boot ==&lt;br /&gt;
Create a normal boot ini file for booting directly from the RP06. Note that SIMH will display Disabling XQ and wait for you to type boot to start the actual boot process on the RP06.&lt;br /&gt;
&lt;br /&gt;
=== nboot.ini ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
echo&lt;br /&gt;
echo After Disabling XQ is displayed type boot&lt;br /&gt;
echo and at the : prompt type hp(0,0)unix&lt;br /&gt;
echo&lt;br /&gt;
set cpu 11/70&lt;br /&gt;
set cpu 2M&lt;br /&gt;
set cpu idle&lt;br /&gt;
set rp0 rp06&lt;br /&gt;
att rp0 rp06-0.disk&lt;br /&gt;
boot rp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And let's boot up!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pdp11 nboot.ini &lt;br /&gt;
&lt;br /&gt;
PDP-11 simulator V3.8-1&lt;br /&gt;
&lt;br /&gt;
After Disabling XQ is displayed type boot&lt;br /&gt;
and at the : prompt type hp(0,0)unix&lt;br /&gt;
&lt;br /&gt;
Disabling XQ&lt;br /&gt;
boot	                           [## Type boot here to get the actual boot prompt]&lt;br /&gt;
Boot&lt;br /&gt;
: hp(0,0)unix&lt;br /&gt;
mem = 2020544&lt;br /&gt;
#		                   [## Type CTRL-D (^D) here to enter multi-user mode]&lt;br /&gt;
&lt;br /&gt;
RESTRICTED RIGHTS: USE, DUPLICATION, OR DISCLOSURE&lt;br /&gt;
IS SUBJECT TO RESTRICTIONS STATED IN YOUR CONTRACT WITH&lt;br /&gt;
WESTERN ELECTRIC COMPANY, INC.&lt;br /&gt;
WED DEC 31 19:03:27 EST 1969&lt;br /&gt;
&lt;br /&gt;
login: root&lt;br /&gt;
Password:&lt;br /&gt;
You have mail.&lt;br /&gt;
#		                   [## Type CTRL-E (^E) here]&lt;br /&gt;
&lt;br /&gt;
Simulation stopped, PC: 002306 (MOV (SP)+,177776)&lt;br /&gt;
sim&amp;gt; q&lt;br /&gt;
Goodbye&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The default root password is 'root'.&lt;br /&gt;
&lt;br /&gt;
== Additional Information ==&lt;br /&gt;
&lt;br /&gt;
A longer tutorial describing the installation and configuration process in additional detail is available online [https://decuser.blogspot.com/2015/12/installing-and-using-research-unix.html here] and as a printable PDF [https://drive.google.com/file/d/1Qqg41b2On-VpP9qjpXAEi8hV4RurgC92/view?usp=sharing here]. As of November, 4, 2017, version 1.6 of the tutorial covers the basic installation from tape to disk, booting from the disk, reconfiguring the system, rebuilding the kernel, logging in as root, and as dmr, sending and reading system mail, and enabling the V7 instance and SimH to allow multiple sessions from the host machine to the instance via Telnet.&lt;br /&gt;
&lt;br /&gt;
If you wish to use the backspace key when your terminal sends ^? (DEL) and Ctrl-C as interrupt character during login and everywhere else, apply [https://vpsland.superglobalmegacorp.com/backspace.diff this patch] to the kernel and rebuild the system.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [[Setting Up Unix - Seventh Edition]]&lt;br /&gt;
* [[Installing Unix Seventh Edition]]&lt;br /&gt;
&lt;br /&gt;
[[Category: SIMH Tutorials]]&lt;/div&gt;</summary>
		<author><name>Decuser</name></author>	</entry>

	<entry>
		<id>https://gunkies.org/w/index.php?title=Installing_v7_on_SIMH&amp;diff=14719</id>
		<title>Installing v7 on SIMH</title>
		<link rel="alternate" type="text/html" href="https://gunkies.org/w/index.php?title=Installing_v7_on_SIMH&amp;diff=14719"/>
				<updated>2017-11-04T22:52:14Z</updated>
		
		<summary type="html">&lt;p&gt;Decuser: Minor corrections and updated to boot directly from RP06&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the procedure I'm using to install [[Seventh Edition Unix|Research Unix v7]] on [[SIMH]]'s [[PDP-11]] emulator.&lt;br /&gt;
&lt;br /&gt;
I'm using the files from [[TUHS]] &amp;quot;/Archive/Distributions/Research/Keith_Bostic_v7/&amp;quot; directory.  I've also uploaded the resulting tape to [https://sourceforge.net/projects/bsd42/files/Install%20tapes/Research%20Unix/Unix-v7-Keith-Bostic.tap.bz2/download here].&lt;br /&gt;
&lt;br /&gt;
If you are going to build the tape then you'll need the [[Mkdisttap.pl#Research Unix v7|mkdisttap.pl]] script to output a v7.tap file.&lt;br /&gt;
&lt;br /&gt;
NOTE: Comments at the end of a line of the form:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[## Comment]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
are just to tell you what to do when there is ambiguity; please do not type them in literally!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tape Install ==&lt;br /&gt;
&lt;br /&gt;
=== tapei.ini ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cat &amp;gt; tapei.ini &amp;lt;&amp;lt;EOF&lt;br /&gt;
set cpu 11/45&lt;br /&gt;
set cpu idle&lt;br /&gt;
set rp0 rp06&lt;br /&gt;
att rp0 rp06-0.disk&lt;br /&gt;
att tm0 v7.tap&lt;br /&gt;
boot tm0&lt;br /&gt;
EOF&lt;br /&gt;
boot tm0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with the config in hand, then let's install.&lt;br /&gt;
&lt;br /&gt;
=== installation ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pdp11 tapei.ini &lt;br /&gt;
&lt;br /&gt;
PDP-11 simulator V3.8-1&lt;br /&gt;
Disabling XQ&lt;br /&gt;
RP: creating new file&lt;br /&gt;
Overwrite last track? [N]	[## Just hit enter]&lt;br /&gt;
Boot&lt;br /&gt;
:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
I just hit enter to the &amp;quot;Overwrite last track&amp;quot; question, then the bootloader will appear.  We are going to load the 3rd program on the tape, mkfs and format the 'a' partition.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Boot&lt;br /&gt;
: tm(0,3)&lt;br /&gt;
file sys size: 5000&lt;br /&gt;
file system: hp(0,0)&lt;br /&gt;
isize = 1600&lt;br /&gt;
m/n = 3 500&lt;br /&gt;
Exit called&lt;br /&gt;
Boot&lt;br /&gt;
:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The block size comes out of pre-compiled disk sizes in the kernel.  Unix back then wasn't as dynamic as what we like in these modern times...  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Boot&lt;br /&gt;
: tm(0,4)&lt;br /&gt;
Tape? tm(0,5)&lt;br /&gt;
Disk? hp(0,0)&lt;br /&gt;
Last chance before scribbling on disk.	[## Just hit enter]&lt;br /&gt;
End of tape&lt;br /&gt;
Boot&lt;br /&gt;
:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Once the formatting is complete, then it'll drop back to the bootloader, and we are going to load the 4th program which is the restore program, and we'll restore the root partition.&lt;br /&gt;
&lt;br /&gt;
Now we can boot up UNIX from the hard disk, and setup the OS.  The console driver echoes everything in upper case letters, however all command are entered in lowercase. We'll set stty to lowercase and speed up carriage returns and linefeeds.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Boot&lt;br /&gt;
: hp(0,0)hptmunix&lt;br /&gt;
mem = 177344&lt;br /&gt;
# STTY -LCASE NL0 CR0&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy the kernel to unix and remove the extra versions.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# mv hptmunix unix&lt;br /&gt;
# rm hp*ix&lt;br /&gt;
# rm rp*ix&lt;br /&gt;
# ls *ix&lt;br /&gt;
unix&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create the RP06 devices in /dev.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cd /dev&lt;br /&gt;
# make rp06&lt;br /&gt;
/etc/mknod rp0 b 6 0&lt;br /&gt;
/etc/mknod swap b 6 1&lt;br /&gt;
/etc/mknod rp3 b 6 7&lt;br /&gt;
/etc/mknod rrp0 c 14 0&lt;br /&gt;
/etc/mknod rrp3 c 14 7&lt;br /&gt;
chmod go-w rp0 swap rp3 rrp0 rrp3&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create the TU10 devices in /dev.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# make tm&lt;br /&gt;
/etc/mknod mt0 b 3 0&lt;br /&gt;
/etc/mknod rmt0 c 12 0&lt;br /&gt;
/etc/mknod nrmt0 c 12 128&lt;br /&gt;
chmod go+w mt0 rmt0 nrmt0&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create an empty filesystem on the RP06 and check it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cd /&lt;br /&gt;
# /etc/mkfs /dev/rp3 322278&lt;br /&gt;
isize = 65496&lt;br /&gt;
m/n = 3 500&lt;br /&gt;
# icheck /dev/rp3&lt;br /&gt;
/dev/rp3:&lt;br /&gt;
files      2 (r=1,d=1,b=0,c=0)&lt;br /&gt;
used       1 (i=0,ii=0,iii=0,d=1)&lt;br /&gt;
free  314088&lt;br /&gt;
missing    0&lt;br /&gt;
# &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Fastforward the tape and restore the /usr filesystem to the RP06.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# dd if=/dev/r#nrmt0 of=/dev/null bs=20b files=6&lt;br /&gt;
202+80 records in&lt;br /&gt;
202+75 records out&lt;br /&gt;
# restor rf /dev/rmt0 /dev/rp3&lt;br /&gt;
Last chance before scribbling on /dev/rp3.	[## Just hit enter]&lt;br /&gt;
End of tape&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Mount /usr, copy the bootblock to the RP06, sync and exit the sim.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# /etc/mount /dev/rp3 /usr&lt;br /&gt;
# dd if=/usr/mdec/hpuboot of=/dev/rp0 count=1&lt;br /&gt;
0+1 records in&lt;br /&gt;
0+1 records out&lt;br /&gt;
# sync&lt;br /&gt;
# sync&lt;br /&gt;
# sync&lt;br /&gt;
# sync&lt;br /&gt;
#		                   [## Type CTRL-E (^E) here]&lt;br /&gt;
Simulation stopped, PC: 002306 (MOV (SP)+,177776)&lt;br /&gt;
sim&amp;gt; q&lt;br /&gt;
Goodbye&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Normal boot ==&lt;br /&gt;
Create a normal boot ini file for booting directly from the RP06. Note that SIMH will display Disabling XQ and wait for you to type boot to start the actual boot process on the RP06.&lt;br /&gt;
&lt;br /&gt;
=== nboot.ini ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
echo&lt;br /&gt;
echo After Disabling XQ is displayed type boot&lt;br /&gt;
echo and at the : prompt type hp(0,0)unix&lt;br /&gt;
echo&lt;br /&gt;
set cpu 11/70&lt;br /&gt;
set cpu 2M&lt;br /&gt;
set cpu idle&lt;br /&gt;
set rp0 rp06&lt;br /&gt;
att rp0 rp06-0.disk&lt;br /&gt;
boot rp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And let's boot up!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pdp11 nboot.ini &lt;br /&gt;
&lt;br /&gt;
PDP-11 simulator V3.8-1&lt;br /&gt;
&lt;br /&gt;
After Disabling XQ is displayed type boot&lt;br /&gt;
and at the : prompt type hp(0,0)unix&lt;br /&gt;
&lt;br /&gt;
Disabling XQ&lt;br /&gt;
boot	                           [## Type boot here to get the actual boot prompt]&lt;br /&gt;
Boot&lt;br /&gt;
: hp(0,0)unix&lt;br /&gt;
mem = 2020544&lt;br /&gt;
#		                   [## Type CTRL-D (^D) here to enter multi-user mode]&lt;br /&gt;
&lt;br /&gt;
RESTRICTED RIGHTS: USE, DUPLICATION, OR DISCLOSURE&lt;br /&gt;
IS SUBJECT TO RESTRICTIONS STATED IN YOUR CONTRACT WITH&lt;br /&gt;
WESTERN ELECTRIC COMPANY, INC.&lt;br /&gt;
WED DEC 31 19:03:27 EST 1969&lt;br /&gt;
&lt;br /&gt;
login: root&lt;br /&gt;
Password:&lt;br /&gt;
You have mail.&lt;br /&gt;
#		                   [## Type CTRL-E (^E) here]&lt;br /&gt;
&lt;br /&gt;
Simulation stopped, PC: 002306 (MOV (SP)+,177776)&lt;br /&gt;
sim&amp;gt; q&lt;br /&gt;
Goodbye&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The default root password is 'root'.&lt;br /&gt;
&lt;br /&gt;
== Additional Information ==&lt;br /&gt;
A longer tutorial describing the installation and configuration process in additional detail is available online [https://decuser.blogspot.com/2015/12/installing-and-using-research-unix.html here] and as a printable PDF [https://drive.google.com/file/d/0B1_Jn6Hlzym-Zmx1TjR3TENDQTA/view?usp=sharing here]. As of October, 26, 2017, version 1.6 of the tutorial covers the basic installation from tape to disk, booting from the disk, reconfiguring the system, rebuilding the kernel, logging in as root, and as dmr, sending and reading system mail, and enabling the V7 instance and SimH to allow multiple sessions from the host machine to the instance via Telnet.&lt;br /&gt;
[[Category: SIMH Tutorials]]&lt;/div&gt;</summary>
		<author><name>Decuser</name></author>	</entry>

	<entry>
		<id>https://gunkies.org/w/index.php?title=Installing_v7_on_SIMH&amp;diff=14631</id>
		<title>Installing v7 on SIMH</title>
		<link rel="alternate" type="text/html" href="https://gunkies.org/w/index.php?title=Installing_v7_on_SIMH&amp;diff=14631"/>
				<updated>2017-10-27T02:23:37Z</updated>
		
		<summary type="html">&lt;p&gt;Decuser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the procedure I'm using to install [[Seventh Edition Unix|Research Unix v7]] on [[SIMH]]'s [[PDP-11]] emulator.&lt;br /&gt;
&lt;br /&gt;
I'm using the files from [[TUHS]] &amp;quot;/PDP-11/Distributions/research/Keith_Bostic_v7/&amp;quot; directory.  I've also uploaded the resulting tape to [https://sourceforge.net/projects/bsd42/files/Install%20tapes/Research%20Unix/Unix-v7-Keith-Bostic.tap.bz2/download here].&lt;br /&gt;
&lt;br /&gt;
If you are going to build the tape then you'll need the [[Mkdisttap.pl#Research Unix v7|mkdisttap.pl]] script to output a v7.tap file.&lt;br /&gt;
&lt;br /&gt;
NOTE: Comments at the end of a line of the form:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[## Comment]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
are just to tell you what to do when there is ambiguity; please do not type them in literally!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tape Install ==&lt;br /&gt;
&lt;br /&gt;
=== tapei.ini ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set cpu 11/45&lt;br /&gt;
set cpu idle&lt;br /&gt;
set rp0 rp06&lt;br /&gt;
att rp0 rp06-0.disk&lt;br /&gt;
att tm0 v7.tap&lt;br /&gt;
boot tm0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with the config in hand, then let's install.&lt;br /&gt;
&lt;br /&gt;
=== installation ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
c:\temp\v7&amp;gt;pdp11.exe tapei.ini&lt;br /&gt;
&lt;br /&gt;
PDP-11 simulator V3.8-1&lt;br /&gt;
Disabling XQ&lt;br /&gt;
Overwrite last track? [N]              [## Just hit enter]&lt;br /&gt;
Boot&lt;br /&gt;
: &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
I just hit enter to the &amp;quot;Overwrite last track&amp;quot; question, then the bootloader will appear.  We are going to load the 3rd program on the tape, mkfs and format the 'a' partition.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Boot&lt;br /&gt;
: tm(0,3)&lt;br /&gt;
file sys size: 5000&lt;br /&gt;
file system: hp(0,0)&lt;br /&gt;
isize = 1600&lt;br /&gt;
m/n = 3 500&lt;br /&gt;
Exit called&lt;br /&gt;
Boot&lt;br /&gt;
:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The block size comes out of pre-compiled disk sizes in the kernel.  Unix back then wasn't as dynamic as what we like in these modern times...  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Boot&lt;br /&gt;
: tm(0,4)&lt;br /&gt;
Tape? tm(0,5)&lt;br /&gt;
Disk? hp(0,0)&lt;br /&gt;
Last chance before scribbling on disk.   [## Just hit enter]&lt;br /&gt;
End of tape&lt;br /&gt;
Boot&lt;br /&gt;
:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Once the formatting is complete, then it'll drop back to the bootloader, and we are going to load the 4th program which is the restore program, and we'll restore the root partition.&lt;br /&gt;
&lt;br /&gt;
Now we can boot up UNIX from the hard disk, and setup the OS.  The console driver seems to get confused, and echo's everything back in uppercase, however all command are entered in lowercase.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Boot&lt;br /&gt;
: hp(0,0)hptmunix&lt;br /&gt;
mem = 177344&lt;br /&gt;
# MV HPTMUNIX UNIX&lt;br /&gt;
# RM HP*IX&lt;br /&gt;
# LS *IX&lt;br /&gt;
RPHTUNIX&lt;br /&gt;
RPTMUNIX&lt;br /&gt;
UNIX&lt;br /&gt;
# RM RP*IX&lt;br /&gt;
# CD /DEV&lt;br /&gt;
# MAKE RP06&lt;br /&gt;
/ETC/MKNOD RP0 B 6 0&lt;br /&gt;
/ETC/MKNOD SWAP B 6 1&lt;br /&gt;
/ETC/MKNOD RP3 B 6 7&lt;br /&gt;
/ETC/MKNOD RRP0 C 14 0&lt;br /&gt;
/ETC/MKNOD RRP3 C 14 7&lt;br /&gt;
CHMOD GO-W RP0 SWAP RP3 RRP0 RRP3&lt;br /&gt;
# MAKE TM&lt;br /&gt;
/ETC/MKNOD MT0 B 3 0&lt;br /&gt;
/ETC/MKNOD RMT0 C 12 0&lt;br /&gt;
/ETC/MKNOD NRMT0 C 12 128&lt;br /&gt;
CHMOD GO+W MT0 RMT0 NRMT0&lt;br /&gt;
# CD /&lt;br /&gt;
# /ETC/MKFS /DEV/RP3 322276&lt;br /&gt;
ISIZE = 65496&lt;br /&gt;
M/N = 3 500&lt;br /&gt;
# DD IF=/DEV/NRMT0 OF=/DEV/NULL BS=20B FILES=6&lt;br /&gt;
202+80 RECORDS IN&lt;br /&gt;
202+75 RECORDS OUT&lt;br /&gt;
# RESTOR RF /DEV/RMT0 /DEV/RP3&lt;br /&gt;
LAST CHANCE BEFORE SCRIBBLING ON /DEV/RP3.      [## Hit enter here, this will take some time before the next line is printed]&lt;br /&gt;
END OF TAPE&lt;br /&gt;
# /ETC/MOUNT /DEV/RP3 /USR&lt;br /&gt;
# DD IF=/USR/MDEC/HPUBOOT OF=/DEV/RP0 COUNT=1&lt;br /&gt;
0+1 RECORDS IN&lt;br /&gt;
0+1 RECORDS OUT&lt;br /&gt;
# SYNC&lt;br /&gt;
# SYNC&lt;br /&gt;
# SYNC&lt;br /&gt;
# SYNC&lt;br /&gt;
#                                               [## Type CTRL-E (^E) here]&lt;br /&gt;
Simulation stopped, PC: 002306 (MOV (SP)+,177776)&lt;br /&gt;
sim&amp;gt; q&lt;br /&gt;
Goodbye&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Tape boot ==&lt;br /&gt;
Sadly the rp06 doesn't seem to want to boot... I'll have to troubleshoot it more later, but for now I just boot from the tape, and execute the kernel from the hard disk.&lt;br /&gt;
&lt;br /&gt;
=== tboot.ini ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
echo&lt;br /&gt;
echo at the prompt type in&lt;br /&gt;
echo @ hp(0,0)unix&lt;br /&gt;
echo&lt;br /&gt;
set cpu 11/70&lt;br /&gt;
set cpu 2M&lt;br /&gt;
set cpu idle&lt;br /&gt;
set rp0 rp06&lt;br /&gt;
att rp0 rp06-0.disk&lt;br /&gt;
att tm0 xx.tap&lt;br /&gt;
boot tm0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And let's boot up!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
c:\temp\v7&amp;gt;pdp11.exe tboot.ini&lt;br /&gt;
&lt;br /&gt;
PDP-11 simulator V3.8-1&lt;br /&gt;
&lt;br /&gt;
at the prompt type in&lt;br /&gt;
@ hp(0,0)unix&lt;br /&gt;
&lt;br /&gt;
Disabling XQ&lt;br /&gt;
Boot&lt;br /&gt;
: hp(0,0)unix&lt;br /&gt;
mem = 2020544&lt;br /&gt;
#                                            [## Hit CTRL-D (^D) here]&lt;br /&gt;
RESTRICTED RIGHTS: USE, DUPLICATION, OR DISCLOSURE&lt;br /&gt;
IS SUBJECT TO RESTRICTIONS STATED IN YOUR CONTRACT WITH&lt;br /&gt;
WESTERN ELECTRIC COMPANY, INC.&lt;br /&gt;
WED DEC 31 19:02:48 EST 1969&lt;br /&gt;
&lt;br /&gt;
login: root&lt;br /&gt;
Password:&lt;br /&gt;
You have mail.&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The default root password is 'root'.&lt;br /&gt;
&lt;br /&gt;
== Additional Information ==&lt;br /&gt;
A longer tutorial describing the installation and configuration process in additional detail is available online [https://decuser.blogspot.com/2015/12/installing-and-using-research-unix.html here] and as a printable PDF [https://drive.google.com/file/d/0B1_Jn6Hlzym-Zmx1TjR3TENDQTA/view?usp=sharing here]. As of October, 26, 2017, version 1.6 of the tutorial covers the basic installation from tape to disk, booting from the disk, reconfiguring the system, rebuilding the kernel, logging in as root, and as dmr, sending and reading system mail, and enabling the V7 instance and SimH to allow multiple sessions from the host machine to the instance via Telnet.&lt;br /&gt;
[[Category: SIMH Tutorials]]&lt;/div&gt;</summary>
		<author><name>Decuser</name></author>	</entry>

	</feed>