3 # $NetBSD: installboot.sh,v 1.2 2000/06/01 14:33:43 soren Exp $
7 FW_KERNELS
="vmlinux.gz vmlinux_RAQ.gz vmlinux_raq-2800.gz"
9 mount |
grep -q " on ${EXT2_MOUNT} type ext2fs "
12 echo "WARNING: ${EXT2_MOUNT} is not an ext2 file system"
15 if [ ! -d ${EXT2_MOUNT}/boot
]; then
16 echo "ERROR: ${EXT2_MOUNT}/boot does not exist"
20 gzip -2 -c /${NETBSD_KERNEL} > ${EXT2_MOUNT}/boot
/netbsd.gz
22 for KERNEL
in ${FW_KERNELS}; do
23 rm -f ${EXT2_MOUNT}/boot
/${KERNEL}
24 ln ${EXT2_MOUNT}/boot/${NETBSD_KERNEL}.gz ${EXT2_MOUNT}/boot/${KERNEL}