mirror of
https://github.com/DoctorWkt/unix-jun72.git
synced 2026-01-19 09:37:57 +00:00
We may want to move the location of the various files at some point, but I wanted to make sure it got into the svn.
23 lines
577 B
Bash
Executable File
23 lines
577 B
Bash
Executable File
#!/bin/sh
|
|
|
|
RF0IMAGE=rf0.dsk
|
|
KERNEL=build/loadfile
|
|
BOS=boot/bos
|
|
|
|
if [ ! -f $KERNEL ]
|
|
then echo "You must build the kernel, $KERNEL, before you can install"
|
|
echo "the bootstrap."
|
|
exit 1
|
|
fi
|
|
|
|
# Install bos 32KW below the top of the rf0 image
|
|
#
|
|
dd if=$BOS of=$RF0IMAGE bs=512 seek=960
|
|
|
|
# Install Unix in the warm boot area, 31KW below the top of the
|
|
# rf0 image. Because the kernel is in simh load format, the first
|
|
# 6 bytes are skipped and the following 16K byte are copied onto
|
|
# the rf0 disk.
|
|
#
|
|
dd if=$KERNEL bs=1 skip=6 count=16384 | dd of=$RF0IMAGE bs=512 seek=964
|