Subject: Re: Making Boot floppies
To: Rose, Brian <Brian.Rose@icn.siemens.com>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: netbsd-users
Date: 06/28/2002 18:16:59
On Thu, Jun 27, 2002 at 05:09:45PM -0400, Rose, Brian wrote:
> 
> My question is what else do I need to do to get to the prompt? Single user
> mode is acceptable. I understand that singel user mode requires a lot less
> of the OS - important when cramming onto a single floppy. I figure I need to
> do something to the kernel to make it aware of the root filesystem and add
> some critical files that the init process needs. I'm still reading, but
> could use a little direction.

A bit extra on last answer... If you want to make things smaller and smaller,
either start removing things from distrib/i386/floppies/ramdisk-big/list
then when you have the smallest list that does the trick for you, you could
try just copying them on to the disk and see if they fit without building
them into a ramdisk first.

Little request from me (Luke, are you there? :-) )


--- /usr/src/distrib/i386/floppies/common/Makefile.ramdisk	Mon May  6 16:06:36 2002
+++ Makefile.ramdisk	Thu May 30 17:52:00 2002
@@ -11,8 +11,8 @@
 DBG=		-Os
 
 CRUNCHBIN=	ramdiskbin
-LISTS=		${.CURDIR}/list ${I386COMMON}/list.ramdisk
-MTREECONF=	${DISTRIBDIR}/common/mtree.common
+LISTS?=		${.CURDIR}/list ${I386COMMON}/list.ramdisk
+MTREECONF?=	${DISTRIBDIR}/common/mtree.common
 IMAGEENDIAN=	le
 IMAGEDEPENDS+= 	${CRUNCHBIN} \
 		dot.profile termcap.mini \





would make overriding lists a little easier (not including default files you
may not want)

cheers,

Patrick