Subject: Re: building an embedded NetBSD
To: Paul Dokas <>
From: Wojciech Puchar <>
List: current-users
Date: 05/06/2003 21:12:50
> I know that I have to build a kernel with something like this:
> options         MEMORY_DISK_HOOKS
> options         MEMORY_DISK_IS_ROOT     # force root on memory disk
> options         MEMORY_DISK_SERVER=0    # no userspace memory disk support
> options         MEMORY_DISK_ROOT_SIZE=4600      # size of memory disk, in blocks
> but how to actually populate this space is beyond me.  I've dug through
> /usr/src/distrib/, but it's like the maze in adventure (Twisty little
> passages, all look the same...)  What happens in there to actually create
> the boot floppies is not clear.  Can anyone please shed a little light on
> how the i386 boot floppies are actually created?  I'd like to do something
> similar, probably by hand, to get NetBSD onto this device.
i have cut down NetBSD for small disk 40MB, all takes about 20MB but it's
really easy to get down to 10MB with a little work. it's 1.5.2 binaries.

just do minimal install and manually delete unneeded things..