From owner-freebsd-hackers Wed Feb 23 17:31:51 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp02.teb1.iconnet.net (smtp02.teb1.iconnet.net [209.3.218.43]) by hub.freebsd.org (Postfix) with ESMTP id 1D5E037BA7E for ; Wed, 23 Feb 2000 17:31:40 -0800 (PST) (envelope-from babkin@bellatlantic.net) Received: from bellatlantic.net (client-151-198-135-26.bellatlantic.net [151.198.135.26]) by smtp02.teb1.iconnet.net (8.9.1/8.9.1) with ESMTP id UAA21583; Wed, 23 Feb 2000 20:31:14 -0500 (EST) Message-ID: <38B48BBD.2DBBDCBA@bellatlantic.net> Date: Wed, 23 Feb 2000 20:39:09 -0500 From: Sergey Babkin X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-19990626-CURRENT i386) X-Accept-Language: ru, en MIME-Version: 1.0 To: Martin Cracauer Cc: Christoph Kukulies , hackers@FreeBSD.ORG Subject: Re: FreeBSD as high speed router References: <200002220935.KAA14202@gil.physik.rwth-aachen.de> <20000223114214.A45619@cons.org> <20000223115722.A23927@gil.physik.rwth-aachen.de> <20000223134113.A5723@cons.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Martin Cracauer wrote: > > In <20000223115722.A23927@gil.physik.rwth-aachen.de>, Christoph Kukulies wrote: > > Would be interesting to tell how you managed to produce a bootable floppy > > with the subsequent scripting that starts the OS and all that. > > The trick I used is that I have a custom `init` binary, which looks at > getpid() and argv[0] and depending on that bahaves like: Now as the CD-ROM drives are quite cheap (I've got a 24x IDE drive for $30 about half a year ago) and the CD-writers are commonplace (and the writable/ re-witable CDs are also cheap) a bootable CD-ROM may be a simpler and more extensible solution. The bootable CD-ROMs can be created with mkhybrid: just create a floppy image that will mount cdrom as it root FS and give it to mkhybrid. You can still use floppy for such things as configuration files. The only caveat is to make sure that your BIOS is able to boot from CDROM. -SB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message