From owner-freebsd-hackers Mon Jan 18 23:39:14 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA29870 for freebsd-hackers-outgoing; Mon, 18 Jan 1999 23:39:14 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from korin.warman.org.pl (korin.nask.waw.pl [195.187.243.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA29850 for ; Mon, 18 Jan 1999 23:39:09 -0800 (PST) (envelope-from abial@nask.pl) Received: from localhost (abial@localhost) by korin.warman.org.pl (8.9.1/8.8.5) with SMTP id IAA28145; Tue, 19 Jan 1999 08:43:31 +0100 (CET) X-Authentication-Warning: korin.warman.org.pl: abial owned process doing -bs Date: Tue, 19 Jan 1999 08:43:31 +0100 (CET) From: Andrzej Bialecki X-Sender: abial@korin.warman.org.pl To: Peter Wemm cc: Matthew Dillon , hackers@FreeBSD.ORG Subject: Re: Anyone know how to put a gzip'd kernel on the floppy? In-Reply-To: <199901190144.JAA13063@spinner.netplex.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 19 Jan 1999, Peter Wemm wrote: > Matthew Dillon wrote: > > I can get the new multi-stage ELF loader thingy working with uncompressed > > kernels, but I can't get it to work with gzip'd kernels. I've tried > > stripping the symbols prior to gzip'ing ... no luck, the loader doesn't > > recognize the gzip'd kernel. > > > > Has anyone figured out how to do this? I need to fit a workstation > > kernel ( i.e. that is inclusive of sound drivers) onto a floppy and > > not having much luck. It would fit fine if I could compress it. > > Just: gzip kernel; cp kernel.gz /floppy > > The key is that the file is called kernel.gz on the floppy, and you ask it > to load "kernel" and not "kernel.gz". If you're really tight on space, you may also consider using kzip on /boot/loader - you get ca. 50kB more then. Andrzej Bialecki -------------------- ++-------++ ------------------------------------- ||PicoBSD|| FreeBSD in your pocket? Go and see: Research & Academic |+-------+| "Small & Embedded FreeBSD" Network in Poland | |TT~~~| | http://www.freebsd.org/~picobsd/ -------------------- ~-+==---+-+ ------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message