From owner-freebsd-stable Wed Feb 21 8:23:20 2001 Delivered-To: freebsd-stable@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 5462537B699 for ; Wed, 21 Feb 2001 08:23:13 -0800 (PST) (envelope-from iedowse@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 21 Feb 2001 16:23:12 +0000 (GMT) To: Andrew Hesford Cc: Ian Dowse , Sean Kelly , freebsd-stable@FreeBSD.ORG, iedowse@maths.tcd.ie Subject: Re: compress bootdisk In-Reply-To: Your message of "Wed, 21 Feb 2001 09:54:05 CST." <20010221095405.A42156@cec.wustl.edu> Date: Wed, 21 Feb 2001 16:23:11 +0000 From: Ian Dowse Message-ID: <200102211623.aa66094@salmon.maths.tcd.ie> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20010221095405.A42156@cec.wustl.edu>, Andrew Hesford writes: >kgzip sounds promising, though. What do I need to do, just `disklabel >-Brw` the diskette, newfs it, and dump a kernel.gz in the root >directory? Yes, sorry, I missed the disklabel step: disklabel -Brw /dev/fd0 fd1440 newfs /dev/fd0 mount /dev/fd0 /mnt cp kernel.kgz /mnt/kernel umount /mnt It is also possible to increase slightly the amount of space available by reducing the number of inodes. Newfs defaults to allocating one inode for every 2k of disk space on the floppy, but this can be changed with the -i option. For a boot floppy containing just a few files, one inode per 100k of data would be more than enough: newfs -i 100000 /dev/fd0 This gives you another 50k or so of space for the kernel. Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message