OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
option MINIROOTSIZE=? in kernel

From: abelteya.com (abelteya.com)
Date: Fri Dec 17 2004 - 07:21:22 CST


Hi all,

I know the only accepted kernel is the GENERIC but I need a
ramdisk kernel. I have edited
/usr/src/sys/arch/i386/conf/RAMDISK which has:

option MINIROOTSIZE=3560

and changed it to:

option MINIROOTSIZE=23000

I have done it because I need a root filesystem for my ramdisk
of about 11mb, but I have been compiling ramdisk kernels with
different values and I can see that "bsd" file size is always
something very similar to the value of "option MINIROOTSIZE=?"

So, I cannot add any files or directories to my ramdisk
partition because "bsd" must be in it and there is no more space.

If I add more files and try to boot the machine I can see the
message: "panic: root filesystem has size 0"

So, what number have I to put in "option MINIROOTSIZE="? Or
this is not the problem?

Thanks a lot