From owner-freebsd-hackers Mon Jan 18 17:44:45 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA19525 for freebsd-hackers-outgoing; Mon, 18 Jan 1999 17:44:45 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from spinner.netplex.com.au (spinner.netplex.com.au [202.12.86.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA19518 for ; Mon, 18 Jan 1999 17:44:42 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from spinner.netplex.com.au (localhost [127.0.0.1]) by spinner.netplex.com.au (8.9.2/8.9.2/Netplex) with ESMTP id JAA13063; Tue, 19 Jan 1999 09:44:24 +0800 (WST) (envelope-from peter@spinner.netplex.com.au) Message-Id: <199901190144.JAA13063@spinner.netplex.com.au> X-Mailer: exmh version 2.0.2 2/24/98 To: Matthew Dillon cc: hackers@FreeBSD.ORG Subject: Re: Anyone know how to put a gzip'd kernel on the floppy? In-reply-to: Your message of "Mon, 18 Jan 1999 17:34:46 PST." <199901190134.RAA84965@apollo.backplane.com> Date: Tue, 19 Jan 1999 09:44:23 +0800 From: Peter Wemm Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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". Cheers, -Peter -- Peter Wemm Netplex Consulting "No coffee, No workee!" :-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message