Commit | Line | Data |
---|---|---|
e6c5418d | 1 | #!/bin/sh - |
fff3e88c | 2 | # |
e6c5418d KB |
3 | # Copyright (c) 1988 Regents of the University of California. |
4 | # All rights reserved. | |
fff3e88c | 5 | # |
e6c5418d KB |
6 | # Redistribution and use in source and binary forms are permitted |
7 | # provided that the above copyright notice and this paragraph are | |
8 | # duplicated in all such forms and that any documentation, | |
9 | # advertising materials, and other materials related to such | |
10 | # distribution and use acknowledge that the software was developed | |
11 | # by the University of California, Berkeley. The name of the | |
12 | # University may not be used to endorse or promote products derived | |
13 | # from this software without specific prior written permission. | |
14 | # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR | |
15 | # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED | |
16 | # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. | |
17 | # | |
0615633d | 18 | # @(#)buildboot 1.5 (Berkeley) %G% |
fff3e88c | 19 | # |
13c04c3c | 20 | boot=dk2b |
ef13a482 KB |
21 | boottype=xfd |
22 | bootmnt=/tmp/mini | |
fff3e88c MK |
23 | DISTROOT=/nbsd |
24 | ||
25 | date | |
26 | umount /dev/${boot} | |
0615633d | 27 | newfs -s 1500 ${boot} ${boottype} |
fff3e88c | 28 | fsck /dev/r${boot} |
ef13a482 KB |
29 | mount /dev/${boot} ${bootmnt} |
30 | cp $DISTROOT/stand/copy ${bootmnt} | |
0615633d | 31 | cp $DISTROOT/stand/vdformat ${bootmnt} |
ef13a482 | 32 | cp $DISTROOT/boot ${bootmnt} |
0615633d KB |
33 | #cp $DISTROOT/wcs ${bootmnt} |
34 | #cp $DISTROOT/fppwcs ${bootmnt} | |
ef13a482 KB |
35 | #cp $DISTROOT/poc ${bootmnt} |
36 | #cp $DISTROOT/poc1 ${bootmnt} | |
37 | #cp $DISTROOT/poc2 ${bootmnt} | |
38 | #cp $DISTROOT/fppoc ${bootmnt} | |
fff3e88c MK |
39 | sync |
40 | umount /dev/${boot} | |
41 | fsck /dev/${boot} | |
42 | date |