Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Aug 1996 09:29:21 -0500 (CDT)
From:      Joe Greco <jgreco@brasil.moneng.mei.com>
To:        joerg_wunsch@uriah.heep.sax.de
Cc:        freebsd-hackers@freebsd.org, dennis@etinc.com
Subject:   Re: Making Bootable Disks
Message-ID:  <199608201429.JAA20513@brasil.moneng.mei.com>
In-Reply-To: <199608200321.FAA15332@uriah.heep.sax.de> from "J Wunsch" at Aug 20, 96 05:21:55 am

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608201429.JAA20513>