Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jan 1999 08:43:31 +0100 (CET)
From:      Andrzej Bialecki <abial@nask.pl>
To:        Peter Wemm <peter@netplex.com.au>
Cc:        Matthew Dillon <dillon@apollo.backplane.com>, hackers@FreeBSD.ORG
Subject:   Re: Anyone know how to put a gzip'd kernel on the floppy? 
Message-ID:  <Pine.BSF.4.02A.9901190842230.25813-100000@korin.warman.org.pl>
In-Reply-To: <199901190144.JAA13063@spinner.netplex.com.au>

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

--------------------   ++-------++  -------------------------------------
 <abial@nask.pl>       ||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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.02A.9901190842230.25813-100000>