Subject: Re: BSDi features (was: PAM & Re: BSD Authentication)
To: None <current-users@NetBSD.org>
From: Chuck Yerkes <chuck+nbsd@2003.snew.com>
List: current-users
Date: 09/08/2003 22:17:10
Quoting Peter Seebach (seebs@plethora.net):
> In message <20030908233518.B59F07B43@berkshire.research.att.com>, "Steven M. B
ellovin" writes:
...

> The boot.default stuff, well, it's a fair bit of work, but MAN is it useful.
> For those who have never seen it:
>       * The boot loader loads a file called /etc/boot.default
>       * It can also take commands entered by hand
>       * Commands may pass parameters to the rest of the boot loader or
>         the kernel

Is this similar to openbsd's /etc/boot.conf?

I've come to like that to boot over a serial port, all I have
to do is change /etc/boot.conf, not boot with special boot blocks
or anything fancy and huge.


> That's it, but consider the following /etc/boot.default lines:
> 	# suppress ultra2 probe on target 2 on aic0, because we happen
> 	# to know that the disk's firmware is dodgy
> 	-parm aic0 ultra2=all-t2
> 	# only probe up to 1GB of memory on dodgy old pentium board
> 	-extendend 1G
> 	# load ramdisk
> 	-ramdisksize 2048k
> 	-ramdiskfile filesys.gz
> 	# load kernel from one disk, put root on another
> 	-kernel sd(0,0):/netbsd.old
> 	-rootdev wd(0,0)
> 	# force disable of ehci driver on this machine
> 	-dev ehci* port=-1
> 
> You get the idea.  All *sorts* of cool stuff, and a standard interface
> for drivers to announce their parameters.
> 
> -s