From owner-freebsd-stable Sat Feb 17 14:50: 4 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mass.dis.org (user-uinjtfm.biz.mindspring.com [165.121.245.246]) by hub.freebsd.org (Postfix) with ESMTP id C63D237B401 for ; Sat, 17 Feb 2001 14:49:58 -0800 (PST) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.1/8.11.1) with ESMTP id f1HMok901832; Sat, 17 Feb 2001 14:50:47 -0800 (PST) (envelope-from msmith@mass.dis.org) Message-Id: <200102172250.f1HMok901832@mass.dis.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: clefevre@poboxes.com Cc: Kris Kennaway , Frederic Nguyen , freebsd-stable@FreeBSD.ORG Subject: Re: compress bootdisk In-reply-to: Your message of "17 Feb 2001 17:55:01 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 17 Feb 2001 14:50:46 -0800 From: Mike Smith Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Kris Kennaway 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