3
# boot-alpha v 1.13 (c) Steve McIntyre <stevem@chiark.greenend.org.uk>
4
# and Loic Prylli <Loic.Prylli@ens-lyon.fr>
5
# Released under GPL 31 Mar 1999
6
# See the file COPYING for license details
7
# Released as part of the slink_cd package, not much use standalone
9
# Do install stuff for alpha, including making bootable CDs
17
# Only disc 1 bootable
20
echo "-J" > $N.mkisofs_opts
24
# Hack for bootable disks
27
echo -n "-J boot1" > 1.mkisofs_opts
29
echo "extract aboot(bootlx) from sable set"
30
echo dump srmbootcode boot1/boot/bootlx |\
31
debugfs $CDDIR/dists/$CODENAME/main/disks-$ARCH/current/sable/resc1440.bin
32
for subarch in avanti avanti-s xl xlt cabriolet eb66 eb66p eb64p eb164 pc164 \
33
lx164 sx164 jensen noname takara mikasa mikasa-p noritake noritake-p alcor miata \
34
sable sable-g book1 ruffian; do
35
mkdir boot1/boot/$subarch
36
echo "drive m: file=\"$CDDIR/dists/stable/main/disks-$ARCH/current/$subarch/resc1440.bin\"" > mtoolsrc.tmp
37
echo "extracting stuff for $subarch"
39
jensen|noritake*|mikasa-p|sable*|book1|miata-s|avanti-s|generic)
40
echo dump linux boot1/boot/$subarch/linux |\
41
debugfs $CDDIR/dists/$CODENAME/main/disks-$ARCH/current/$subarch/resc1440.bin
44
MTOOLSRC=$CDDIR/../mtoolsrc.tmp mcopy m:linux m:milo m:ldmilo.exe boot1/boot/$subarch/.
47
MTOOLSRC=$CDDIR/../mtoolsrc.tmp mcopy m:linux m:milo m:linload.exe boot1/boot/$subarch/.
52
mkdir $CDDIR/tools/rawrite1
53
(cd $CDDIR/tools/rawrite1; \
54
unzip -Lq $MIRROR/tools/rawrite1.zip )
56
mkdir $CDDIR/tools/rawrite2
57
(cd $CDDIR/tools/rawrite2; \
58
unzip -Lq $MIRROR/tools/rawrite2.zip; \
61
(echo "Tools for DOS :" ; \
62
echo "rawrite1/ rawrite 1.3 : create disks from disk images (*.bin)"; \
63
echo "rawrite2/ rawrite 2.0 : create disks from disk images (*.bin)"; \
64
echo " rawrite 2.0 is much faster, but it locks up on some machines";\
65
) |todos > $CDDIR/tools/README.tools
67
cp $CDDIR/tools/rawrite1/rawrite3.com $CDDIR/install/rw1_3.com
68
cp $CDDIR/tools/rawrite2/rawrite2.exe $CDDIR/install/rw2_0.exe