Subject: Re: Extending config(8) to allow different root fs types
To: None <martin@rumolt.teuto.de>
From: Gordon W. Ross <gwr@mc.com>
List: tech-kern
Date: 11/02/1996 10:41:23
> From: Martin Husemann <martin@rumolt.teuto.de>
> Date: Sat, 2 Nov 1996 14:52:05 +0100 (MET)
> 
> I'm trying to build a NetBSD/i386 CDROM for emergency and installation
> uses. This CDROM should be bootable (either directly on newer machines
> or via a boot disk generated from an image on the CD).
> 
> The i386 port has no way to specify boot and swap via PROM, so its root
> and swap configuration is hardcoded into the kernel via config(8). We have
> the famous option "GENERIC", which will cause the kernel to runtime-configure
> its root and swap device.
> 
> But all this are parts of a puzzle which won't fit into the overall picture.
> What I would realy like to have is:
> 
>  (a) a way to specify boot, root and swap devices from firmware
>      (no way on the i386) and let everything happen automatically

The normal thing is to do something like this:
	boot> sd(...)netbsd -a

(which turns on the "ask me" flag) so the kernel will prompt for
the root and swap device specifiers.  Is the boot program capable
of passing boot flags to the kernel?  (I thought it was...)

Gordon