MakeBootTape revision 1.3
11.1Sgwr#!/bin/sh 21.1Sgwr# 31.1Sgwr# Here is a generic script that makes a Sun3 boot tape using 41.1Sgwr# the files in this directory. 51.1Sgwr# 61.3Sgwr# $NetBSD: MakeBootTape,v 1.3 1997/12/20 02:52:49 gwr Exp $ 71.1Sgwr 81.1SgwrT=${1:-/dev/nrst0} 91.1Sgwr 101.1Sgwr# Entertain... 111.1Sgwrset -x 121.1Sgwr 131.1Sgwr# Make sure we start at the beginning. 141.1Sgwrmt -f $T rewind 151.1Sgwr 161.1Sgwr# Segment 1 is the tapeboot program. 171.1Sgwrdd if=tapeboot of=$T obs=8k conv=sync 181.1Sgwr 191.1Sgwr# Segment 2 is the ramdisk kernel. 201.3Sgwrgzip -d -c ../../binary/kernel/netbsd-rd.gz | 211.3Sgwr dd of=$T obs=8k conv=sync 221.1Sgwr 231.1Sgwr# Segment 3 is the miniroot image, unzipped! 241.3Sgwrgzip -d -c ../miniroot/miniroot.gz | 251.3Sgwr dd of=$T obs=8k 261.1Sgwr 271.1Sgwr# Done! 281.1Sgwrmt -f $T rewind 291.1Sgwr 30