#!/bin/sh # # This makes a bootkernel disk in /dev/fd0 from a kernel image. # # Run this in a directory containing the kernels you're gonna use, and a # subdirectory with a master image of the bootkernel disk. # # This is the command to use: # # makedisk kernel_image disk_size # ^^ ^^^^^^^^^ This is 1440 or 1200 # ^^^^^ This is the name (and maybe path to) the kernel you're going # to use, such as scsinet/scsinet. # makedisk bare/bare 1440 echo "cat /dev/fd0 | gzip -9c > /cdrom/bootdsks.144/bare.gz" cat /dev/fd0 | gzip -9c > /cdrom/bootdsks.144/bare.gz makedisk cdu31a/cdu31a 1440 echo "cat /dev/fd0 | gzip -9c > /cdrom/bootdsks.144/cdu31a.gz" cat /dev/fd0 | gzip -9c > /cdrom/bootdsks.144/cdu31a.gz makedisk mitsumi/mitsumi 1440 echo "cat /dev/fd0 | gzip -9c > /cdrom/bootdsks.144/mitsumi.gz" cat /dev/fd0 | gzip -9c > /cdrom/bootdsks.144/mitsumi.gz makedisk modern/modern 1440 echo "cat /dev/fd0 | gzip -9c > /cdrom/bootdsks.144/modern.gz" cat /dev/fd0 | gzip -9c > /cdrom/bootdsks.144/modern.gz makedisk ncr/ncr 1440 echo "cat /dev/fd0 | gzip -9c > /cdrom/bootdsks.144/ncr.gz" cat /dev/fd0 | gzip -9c > /cdrom/bootdsks.144/ncr.gz makedisk net/net 1440 echo "cat /dev/fd0 | gzip -9c > /cdrom/bootdsks.144/net.gz" cat /dev/fd0 | gzip -9c > /cdrom/bootdsks.144/net.gz makedisk sbpcd/sbpcd 1440 echo "cat /dev/fd0 | gzip -9c > /cdrom/bootdsks.144/sbpcd.gz" cat /dev/fd0 | gzip -9c > /cdrom/bootdsks.144/sbpcd.gz makedisk scsi/scsi 1440 echo "cat /dev/fd0 | gzip -9c > /cdrom/bootdsks.144/scsi.gz" cat /dev/fd0 | gzip -9c > /cdrom/bootdsks.144/scsi.gz makedisk scsinet/scsinet 1440 echo "cat /dev/fd0 | gzip -9c > /cdrom/bootdsks.144/scsinet.gz" cat /dev/fd0 | gzip -9c > /cdrom/bootdsks.144/scsinet.gz makedisk sony535/sony535 1440 echo "cat /dev/fd0 | gzip -9c > /cdrom/bootdsks.144/sony535.gz" cat /dev/fd0 | gzip -9c > /cdrom/bootdsks.144/sony535.gz makedisk xt/xt 1440 echo "cat /dev/fd0 | gzip -9c > /cdrom/bootdsks.144/xt.gz" cat /dev/fd0 | gzip -9c > /cdrom/bootdsks.144/xt.gz