1) configure and compile a kernel with options MEMORY_DISK_HOOKS, MEMORY_DISK_IS_ROOT and MINIROOTSIZE (and optionaly MEMORY_DISK_SERVER=0), see src/sys/arch/sandpoint/conf/RAMDISK 2) set up a directory to contain the files for the ramdisk and possibly an mtree-file and use makefs (8) to create an image-file of the directory (use "-s"-flag to set the size to the same as MINIROOTSIZE in step 1).
3) use mdsetimage (8) to copy the image-file into the kernel built in step 1 /Erik Boo Geum Jung wrote:
2M seems to be insufficient to execute standalone on RAM, I don't know the exact resean now. So I'd like to extent the size of floppyinstfs from 2M to 8M. What should I change? Should I change disktab? floppyinstfs|NetBSD floppy install filesystem:\ :ty=floppy:se#512:nt#1:rm#300:ns#64:nc#64:\ :pa#4096:oa#0:ba#4096:fa#512:ta=4.2BSD:\ :pc#4096:oc#0: