diff -urN flashboot.old/build-largekernel.sh flashboot.largekernel/build-largekernel.sh
--- flashboot.old/build-largekernel.sh	Thu Jan  1 01:00:00 1970
+++ flashboot.largekernel/build-largekernel.sh	Thu Aug 31 12:46:18 2006
@@ -0,0 +1,51 @@
+#!/bin/sh
+#
+# $Id: build-kernel.sh,v 1.1 2006/08/26 17:52:44 jakob Exp $
+# Builds a 25MB kernel
+
+BASE=`pwd`
+SRCDIR=${BSDSRCDIR:-/usr/src}
+DESTDIR=${DESTDIR:-${BASE}/flash-dist}
+SUDO=sudo
+
+export SRCDIR DESTDIR SUDO
+
+# Don't start without a kernel as a parameter
+if [ "$1" = "" ]; then
+  echo "usage: $0 kernel"
+  exit 1
+fi
+
+# Does the kernel exist at all
+if [ ! -r $1 ]; then
+  echo "ERROR! $1 does not exist or is not readable."
+  exit 1
+fi
+
+# Create dir if not there
+mkdir -p obj
+
+# Create a templist 
+cat list list.largekernel > list.temp
+
+# Which kernel to use?
+export KERNEL=$1.LARGE
+
+# Create the kernelfile
+grep -v MINIROOTSIZE $1 > $KERNEL
+echo "option          MINIROOTSIZE=51200" >> $KERNEL
+
+# Cleanup just in case the previous build failed
+${SUDO} umount /mnt/ 
+${SUDO} vnconfig -u vnd0
+make KCONF=${KERNEL} clean
+
+# Make kernel
+make KCONF=${KERNEL} LIST=${BASE}/list.temp NBLKS=51200 DISKPROTO=${BASE}/disktabs/disktab.25mb $2 $3 $4
+
+# Cleanup
+rm -f list.temp
+rm -f $KERNEL
+
+# Done
+echo "Your kernel is stored here ${BASE}/obj/"
diff -urN flashboot.old/disktabs/disktab.20mb flashboot.largekernel/disktabs/disktab.20mb
--- flashboot.old/disktabs/disktab.20mb	Thu Jan  1 01:00:00 1970
+++ flashboot.largekernel/disktabs/disktab.20mb	Thu Aug 31 12:46:59 2006
@@ -0,0 +1,23 @@
+# /dev/rsvnd0c:
+type: unknown
+disk: rdroot8
+label: 
+flags:
+bytes/sector: 512
+sectors/track: 40
+tracks/cylinder: 1
+sectors/cylinder: 40
+cylinders: 1024
+total sectors: 40960
+rpm: 3600
+interleave: 1
+trackskew: 0
+cylinderskew: 0
+headswitch: 0		# microseconds
+track-to-track seek: 0	# microseconds
+drivedata: 0 
+
+2 partitions:
+#        size   offset    fstype   [fsize bsize   cpg]
+  a:    40960        0    4.2BSD     1024  4096    20 	# (Cyl.    0 - 1023)
+  c:    40960        0    unused        0     0       	# (Cyl.    0 - 1023)
diff -urN flashboot.old/disktabs/disktab.25mb flashboot.largekernel/disktabs/disktab.25mb
--- flashboot.old/disktabs/disktab.25mb	Thu Jan  1 01:00:00 1970
+++ flashboot.largekernel/disktabs/disktab.25mb	Thu Aug 31 12:46:59 2006
@@ -0,0 +1,23 @@
+# /dev/rsvnd0c:
+type: unknown
+disk: rdroot8
+label: 
+flags:
+bytes/sector: 512
+sectors/track: 50
+tracks/cylinder: 1
+sectors/cylinder: 50
+cylinders: 1024
+total sectors: 51200
+rpm: 3600
+interleave: 1
+trackskew: 0
+cylinderskew: 0
+headswitch: 0		# microseconds
+track-to-track seek: 0	# microseconds
+drivedata: 0 
+
+2 partitions:
+#        size   offset    fstype   [fsize bsize   cpg]
+  a:    51200        0    4.2BSD     1024  4096    20 	# (Cyl.    0 - 1023)
+  c:    51200        0    unused        0     0       	# (Cyl.    0 - 1023)
diff -urN flashboot.old/list.largekernel flashboot.largekernel/list.largekernel
--- flashboot.old/list.largekernel	Thu Jan  1 01:00:00 1970
+++ flashboot.largekernel/list.largekernel	Thu Aug 31 12:52:47 2006
@@ -0,0 +1,19 @@
+# This list is added on top of the existing list for the megakernel
+
+COPY	${DESTDIR}/var/named/etc/named.conf	var/named/etc/named.conf
+COPY	/dev/null				var/named/etc/rndc.key
+COPY	${DESTDIR}/var/named/standard/localhost var/named/standard/localhost
+COPY	${DESTDIR}/var/named/standard/loopback	var/named/standard/loopback
+COPY	${DESTDIR}/var/named/standard/loopback6.arpa var/named/standard/loopback6.arpa
+COPY	${DESTDIR}/var/named/standard/root.hint var/named/standard/root.hint
+COPY	${DESTDIR}/etc/mtree/4.4BSD.dist	etc/mtree/4.4BSD.dist
+
+COPY ${DESTDIR}/usr/sbin/mtree			usr/sbin/mtree
+COPY ${DESTDIR}/usr/sbin/named			usr/sbin/named
+COPY ${DESTDIR}/usr/sbin/dig			usr/sbin/dig
+COPY ${DESTDIR}/usr/sbin/portmap		usr/sbin/portmap
+COPY ${DESTDIR}/usr/sbin/rarpd			usr/sbin/rarpd
+COPY ${DESTDIR}/usr/sbin/rpc.bootparamd		usr/sbin/rpc.bootparamd
+
+# Extra libs needed
+COPY	${DESTDIR}/usr/lib/libssl.so.11.0	usr/lib/libssl.so.11.0

