Mr Ian Primus wrote:
My attempts to boot the MicroVax continue:
...
And the drive whirred to life, shoeshining tape back
and forth,but actually making progress through the
media (it was accumulating on the take-up reel,
anyway). So I let it run. Eventually it failed with an
I/O error at a point where most of the tape was out of
the cartridge.
My notes for 2.10bsd say that tape 1 should look like this:
File RecSize #Recs Content
---- ------- ----- -------
0 512 41 tapeboot,tapeboot,boot
1 1024 28 mkfs
2 1024 27 restor
3 1024 26 icheck
4 10240 451 dump of root fs
5 10240 2277 tar of /usr without usr/src
6 10240 466 tar of /usr/src/{sys,include}
Which means one way to do this is to write a shell script
using the "non rewind device" (/dev/nst0) to write the proper
files, each with dd and the proper block size.
You can't just dd the entire thing in one go. And, if what
you have is a "tape image", you need to break it into files
first.
(or, use a utiltity which knows about the tape image and
will write the image back to the tape with the right block
size)
I'd start by just writing the boot file and see if that
works.
Here's the maketape.sh script from 2.11
#!/bin/sh
# File Blocksize Content
# 0 512 mtboot
# 512 mtboot
# 512 boot
# 1 1024 disklabel
# 2 1024 mkfs
# 3 1024 restor
# 4 1024 icheck
# 5 10240 root.dump
# 6 10240 file6.tar
# 7 10240 file7.tar
# 8 10240 file8.tar
TAPE=nrst0
cat mtboot mtboot boot | dd of=/dev/nrst0 obs=512
dd if=disklabel of=/dev/nrst0 obs=1024
dd if=mkfs of=/dev/nrst0 obs=1024
dd if=restor of=/dev/nrst0 obs=1024
dd if=icheck of=/dev/nrst0 obs=1024
dd if=root.dump of=/dev/nrst0 obs=10240
dd if=file6.tar of=/dev/nrst0 obs=10240
dd if=file7.tar of=/dev/nrst0 obs=10240
dd if=file8.tar of=/dev/nrst0 obs=10240
-brad