3 # Here is a generic script that makes a Sun2 boot tape using
4 # the files in this directory. The tape layout is:
7 # segment 1: netbsd (RAMDISK)
8 # segment 3: miniroot image
10 # $NetBSD: MakeBootTape,v 1.3 2002/05/08 15:32:58 fredette Exp $
17 # Make sure we start at the beginning.
20 # Segment 1 is the tapeboot program.
21 dd if=tapeboot of
=$T obs
=8k conv
=sync
23 # Segment 2 is the Sun2 ramdisk kernel.
24 gzip -d -c ..
/..
/binary
/kernel
/netbsd-RAMDISK.gz |
25 dd of
=$T obs
=8k conv
=sync
27 # Segment 3 is the miniroot image, unzipped!
28 gzip -d -c ..
/miniroot
/miniroot.fs.gz |