From 6f3d4ec84d392c351926b7a02bfcd2001e78d4a2 Mon Sep 17 00:00:00 2001 From: Allan Jude Date: Mon, 4 Dec 2017 02:42:00 +0000 Subject: [PATCH] increase maximum size of zfsboot Previous to the switch from sys/boot to stand/ zfsboot (used for MBR) did not support GELI. Now that it is compiled with GELI, it is running out of space. zfsldr (which loads zfsboot) was modified to load 256kb in r304321 --- stand/i386/zfsboot/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stand/i386/zfsboot/Makefile b/stand/i386/zfsboot/Makefile index f0523dfa2612..27296531e445 100644 --- a/stand/i386/zfsboot/Makefile +++ b/stand/i386/zfsboot/Makefile @@ -62,10 +62,10 @@ zfsldr.out: zfsldr.o CLEANFILES+= zfsboot2 zfsboot.ld zfsboot.ldr zfsboot.bin zfsboot.out \ zfsboot.o zfsboot.s zfsboot.s.tmp sio.o cons.o drv.o -# We currently allow 128k bytes for zfsboot - in practice it could be +# We currently allow 256k bytes for zfsboot - in practice it could be # any size up to 3.5Mb but keeping it fixed size simplifies zfsldr. # -BOOT2SIZE= 131072 +BOOT2SIZE= 262144 zfsboot2: zfsboot.ld @set -- `ls -l ${.ALLSRC}`; x=$$((${BOOT2SIZE}-$$5)); \