Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Feb 2001 14:50:46 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        clefevre@poboxes.com
Cc:        Kris Kennaway <kris@obsecurity.org>, Frederic Nguyen <chainess@worldnet.net>, freebsd-stable@FreeBSD.ORG
Subject:   Re: compress bootdisk 
Message-ID:  <200102172250.f1HMok901832@mass.dis.org>
In-Reply-To: Your message of "17 Feb 2001 17:55:01 %2B0100." <zofluu56.fsf@gits.dyndns.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Kris Kennaway <kris@obsecurity.org> writes:
> 
> > On Sat, Feb 17, 2001 at 05:23:30AM +0100, Frederic Nguyen wrote:
> > > Does anybody know if there is any possibility to create a bootdisk with a 
> > > compress kernel image? (just like Linux with bzlmage)
> > > I need asr raid drivers and kernel size gets huge because of it!
> > 
> > Yes; this is what's done with the install floppies. Just gzip the
> > kernel and it should work.
> 
> kgzip is more efficient that gzip :
> 
> # l kernel*
> -r-xr-xr-x  1 root  wheel  2316502 Jan 23 07:34 kernel
> -r-xr-xr-x  1 root  wheel  1031486 Feb 17 17:50 kernel.gz
> -rwxr-xr-x  1 root  wheel   919906 Feb 17 17:51 kernel.kgz
> 
> and this may count on a floppy :)

kgzip uses 'gzip -9'.  

However, this is all rather immaterial, as the 'asr' driver can be built 
as a module.  Put it on a floppy, stick it in, say 'load asr.ko' at the 
loader prompt.  No kernel rebuilding, compressing, or any of that crap.

Also relevant is that the 'asr' driver is *already* in GENERIC.

-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
           V I C T O R Y   N O T   V E N G E A N C E




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




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