Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Dec 2001 17:49:29 -0500 (EST)
From:      Joe Clarke <marcus@marcuscom.com>
To:        Kenneth Wayne Culver <culverk@wam.umd.edu>
Cc:        Rohit Panda <prohit99@yahoo.com>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: can i have a compressed kernel kernel which uncompresses during bootup
Message-ID:  <20011217174213.O26838-100000@shumai.marcuscom.com>
In-Reply-To: <Pine.GSO.4.21.0112171737550.12582-100000@rac2.wam.umd.edu>

next in thread | previous in thread | raw e-mail | index | archive | help


On Mon, 17 Dec 2001, Kenneth Wayne Culver wrote:

> The FreeBSD kernel loader is capable of loading a gzipped kernel, although
> I'm not sure how to do it... However, this gains no advantages over the
> uncompressed kernel aside from being able to fit that kernel on a small
> disk

I believe you just gzip it with the new ELF kernels.  I also think the
loader can do bzip2 as well.  For old a.out kernels, you needed to use the
command boot_crunch for compressing the kernel.

Joe

>
> Ken
>
> On Mon, 17 Dec 2001, Rohit Panda wrote:
>
> > hi,
> > ia there any way to compress the FreeBSD kernel,so
> > that its size becomes small,and which can be
> > uncompressed before bootup,the way its done in
> > linux.Actually i want a kernel of smaller but its
> > being bigger than what i want,but comparitively the
> > linux kernel is nearly half the size(because its
> > compressed).does anybody have experience in this
> > field.if so the please help me out in this problem.
> >
> > but i was glad to know ,that if i keep the same
> > configuration in linux and freebsd,comparitively the
> > "uncompressed" kernel of FreeBSD is much smaller that
> > the "uncompressed" kernel of Linux.
> >
> > anyway if anybody has any idea please share it with
> > me.
> >
> > any help will be highly appreciated.
> >
> > thanks
> >
> > rohit
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Check out Yahoo! Shopping and Yahoo! Auctions for all of
> > your unique holiday gifts! Buy at http://shopping.yahoo.com
> > or bid at http://auctions.yahoo.com
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> >
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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