MakeBootTape revision 1.1
1#!/bin/sh 2# 3# Here is a generic script that makes a Sun3 boot tape using 4# the files in this directory. 5# 6# $NetBSD: MakeBootTape,v 1.1 1997/12/18 20:17:48 gwr Exp $ 7 8T=${1:-/dev/nrst0} 9 10# Entertain... 11set -x 12 13# Make sure we start at the beginning. 14mt -f $T rewind 15 16# Segment 1 is the tapeboot program. 17dd if=tapeboot of=$T obs=8k conv=sync 18 19# Segment 2 is the ramdisk kernel. 20gzip -d -c netbsd-rd.gz | dd of=$T obs=8k conv=sync 21 22# Segment 3 is the miniroot image, unzipped! 23gzip -d -c miniroot.gz | dd of=$T obs=16k 24 25# Done! 26mt -f $T rewind 27 28