From owner-freebsd-hackers Tue Aug 20 07:30:20 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA02455 for hackers-outgoing; Tue, 20 Aug 1996 07:30:20 -0700 (PDT) Received: from brasil.moneng.mei.com (brasil.moneng.mei.com [151.186.109.160]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id HAA02445 for ; Tue, 20 Aug 1996 07:30:16 -0700 (PDT) Received: (from jgreco@localhost) by brasil.moneng.mei.com (8.7.Beta.1/8.7.Beta.1) id JAA20513; Tue, 20 Aug 1996 09:29:21 -0500 From: Joe Greco Message-Id: <199608201429.JAA20513@brasil.moneng.mei.com> Subject: Re: Making Bootable Disks To: joerg_wunsch@uriah.heep.sax.de Date: Tue, 20 Aug 1996 09:29:21 -0500 (CDT) Cc: freebsd-hackers@freebsd.org, dennis@etinc.com In-Reply-To: <199608200321.FAA15332@uriah.heep.sax.de> from "J Wunsch" at Aug 20, 96 05:21:55 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > As Dennis wrote: > > > > Is it outlined/described anywhere how to make a bootable system floppy? > > disklabel -Brw fd0 > newfs ... /dev/rfd0a (look into /etc/disktab for the options) > mount /dev/fd0a /mnt > cp /kernel /mnt > umount /mnt With all due respect Joerg, that's nice but not very useful :-) The kernel alone will take 2/3 the floppy. I don't know of anywhere that documents it, unless you count the stuff in /usr/src/release. I did, at one point, take what's there and create a "router floppy" from it, using a compressed kernel and a built-in kernel MFS, the same way that boot.flp does. It was actually kinda slick... you can take arbitrary programs and stuff and create a single "crunched" binary from them (see man -k crunch). You then populate your /bin or /stand with that binary and a bunch of hard links... make your /dev and /etc trees and anything else you need... and go off on your merry way. I make it sound so easy. :-) It was a six hour hack job to make it buildable from a makefile.... not too hard just a little slow to do the "make"/"make floppy"/boot it/find problem/ etc cycle... ... JG