From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 9 15:44:28 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8CAC16A41C for ; Thu, 9 Jun 2005 15:44:28 +0000 (GMT) (envelope-from davidc@acns.ab.ca) Received: from mail.acns.ab.ca (mail.acns.ab.ca [142.179.151.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6838F43D1F for ; Thu, 9 Jun 2005 15:44:28 +0000 (GMT) (envelope-from davidc@acns.ab.ca) Received: from ranger.acns.ab.ca (localhost [127.0.0.1]) by mail.acns.ab.ca (8.13.1/8.12.2) with ESMTP id j59GAFkF079011; Thu, 9 Jun 2005 10:10:15 -0600 (MDT) (envelope-from davidc@ranger.acns.ab.ca) Received: (from davidc@localhost) by ranger.acns.ab.ca (8.13.1/8.12.9/Submit) id j59GAFrh079010; Thu, 9 Jun 2005 10:10:15 -0600 (MDT) (envelope-from davidc) Date: Thu, 9 Jun 2005 10:10:15 -0600 From: Chad David To: Dag-Erling Sm?rgrav Message-ID: <20050609161015.GA78763@ranger.acns.ab.ca> References: <20050608235221.GA71575@ranger.acns.ab.ca> <86ll5kdokw.fsf@xps.des.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86ll5kdokw.fsf@xps.des.no> User-Agent: Mutt/1.4.1i Cc: freebsd-hackers@freebsd.org Subject: Re: Bootable CDROM creation system X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jun 2005 15:44:28 -0000 On Thu, Jun 09, 2005 at 08:35:59AM +0200, Dag-Erling Sm?rgrav wrote: > Chad David writes: > > My company built a tool a few years back for creating a bootable cdrom > > based on a running host FreeBSD 3/4 system, which promptly got shelved and > > forgotten.I recently had to update it for FreeBSD 5 and thought that > > perhaps the community at large could make use it before it gets forgotten > > again. > > # cd /usr/src > # make buildworld buildkernel > # mkdir /tmp/cdrom > # make installworld installkernel DESTDIR=/tmp/cdrom > # cd /usr/src/etc > # make distribution DESTDIR=/tmp/cdrom > # mkisofs -o /tmp/cdrom.iso -r -no-emul-boot -b /tmp/cdrom/boot/cdboot /tmp/cdrom > # burncd -s max data /tmp/cdrom.iso fixate eject > > did I leave anything out? No, not if the intention is to build a FreeBSD distribution; however, the point of shimmer is to build something a little more custom. What I posted begins to break the various parts of the system down into packages, and only installs what is required to boot and be minimally useful. mktree allow us to package things into more complex groupings to build different custom 'distributions' from a single shimmer tree. I didn't clame it was going to change the world, only that I would like to see someone benefit from my work. Did you actually look at what was there? -- Chad David davidc@acns.ab.ca ACNS Inc. Calgary, Alberta Canada