From owner-freebsd-stable Wed Feb 21 7:54:49 2001 Delivered-To: freebsd-stable@freebsd.org Received: from hecubus.mx (CC2-1326.charter-stl.com [24.217.117.56]) by hub.freebsd.org (Postfix) with ESMTP id ADB3137B69C for ; Wed, 21 Feb 2001 07:54:41 -0800 (PST) (envelope-from ajh3@hecubus.bsdonline.org) Received: (from ajh3@localhost) by hecubus.mx (8.11.2/8.11.1) id f1LFs5h42176; Wed, 21 Feb 2001 09:54:05 -0600 (CST) (envelope-from ajh3) Date: Wed, 21 Feb 2001 09:54:05 -0600 From: Andrew Hesford To: Ian Dowse Cc: Andrew Hesford , Sean Kelly , freebsd-stable@FreeBSD.ORG Subject: Re: compress bootdisk Message-ID: <20010221095405.A42156@cec.wustl.edu> References: <20010221020530.A41129@cec.wustl.edu> <200102211441.aa46025@salmon.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200102211441.aa46025@salmon.maths.tcd.ie>; from iedowse@maths.tcd.ie on Wed, Feb 21, 2001 at 02:41:19PM +0000 X-Loop: Andrew Hesford Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is interesting. I've been messing around with a diskless freebsd firewall, and I've always had tight constraints with loader and the kernel. I've all but given up due to lack of time and too many failures, and have resorted to using linux. kgzip sounds promising, though. What do I need to do, just `disklabel -Brw` the diskette, newfs it, and dump a kernel.gz in the root directory? On Wed, Feb 21, 2001 at 02:41:19PM +0000, Ian Dowse wrote: > In message <20010221020530.A41129@cec.wustl.edu>, Andrew Hesford writes: > >kzip and kgzip strip the kernel of its symbols, so that it is > >ultra-compact for rescue and install disks. > > More importantly, kgzip produces an ELF kernel image that can be > loaded directly by the bootblocks. To boot a kernel compressed with > gzip requires loader(8) which takes up 100-200k of disk space. -- Andrew Hesford - ajh3@chmod.ath.cx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message