On Wed, Feb 27, 2002 at 06:23:31PM -0500, Clark C . Evans wrote: > > Hello. I was wondering if it is possible to make a read-only > boot partition (core kernel, static configuration, and /usr) > for a web-farm application.
I've put together a few scripts to help set this up. I've been happily using this setup for about a year or so. These are at: http://people.freebsd.org/~bsd/cdroot/ These scripts create an image that can be burned on to a CD and then booted from. I've also got hooks in there so that if you have a floppy disk present with a /etc on it, it will be used to override files in the system /etc. This allows one to use the same CD for many applications and have per-system customizations come off the floppy. For example, I've put together firewalls that use this and the hostname, firewall rules, etc, are copied from the floppy. Also, I've written a simple installer script that gets dropped at /etc/inst on the CD. If you build a FreeBSD release and copy disc1 of that release to /dist on the CD, the installer script can be used to install onto a new system. It's nowhere near a full sysinstall replacement, but it does what I want with minimal questions. There are a few minor issues that I need to fix, mainly that I have ksh installed in /bin/ksh and that is used by the scripts, which ends up biting people. I keep meaning to clean that up and use /bin/sh solely. However, I use ksh for its array handling and I need to convert those to the really hokey method of doing arrays in /bin/sh. -Brian -- Brian Dean [EMAIL PROTECTED] [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message