From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 10 16:11:07 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 489AB16A422 for ; Fri, 10 Jun 2005 16:11:07 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from mail27.sea5.speakeasy.net (mail27.sea5.speakeasy.net [69.17.117.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0279443D49 for ; Fri, 10 Jun 2005 16:11:06 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 10943 invoked from network); 10 Jun 2005 16:11:06 -0000 Received: from server.baldwin.cx ([216.27.160.63]) (envelope-sender ) by mail27.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 10 Jun 2005 16:11:06 -0000 Received: from [10.4.255.72] ([206.13.39.129]) (authenticated bits=0) by server.baldwin.cx (8.13.1/8.13.1) with ESMTP id j5AGAicv073579; Fri, 10 Jun 2005 12:10:56 -0400 (EDT) (envelope-from jhb@FreeBSD.org) In-Reply-To: <86ll5kdokw.fsf@xps.des.no> References: <20050608235221.GA71575@ranger.acns.ab.ca> <86ll5kdokw.fsf@xps.des.no> Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Message-Id: <5aa5b3269b31db56aea70fcd38ccbd1a@FreeBSD.org> Content-Transfer-Encoding: quoted-printable From: John Baldwin Date: Fri, 10 Jun 2005 07:48:40 -0700 To: des@des.no (=?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?=) X-Mailer: Apple Mail (2.622) X-Spam-Status: No, score=-2.8 required=4.2 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on server.baldwin.cx 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: Fri, 10 Jun 2005 16:11:07 -0000 On Jun 8, 2005, at 11:35 PM, Dag-Erling Sm=F8rgrav 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=20 >> 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=20 >> forgotten >> again. > > # cd /usr/src > # make buildworld buildkernel > # mkdir /tmp/cdrom > # make installworld installkernel DESTDIR=3D/tmp/cdrom > # cd /usr/src/etc > # make distribution DESTDIR=3D/tmp/cdrom > # mkisofs -o /tmp/cdrom.iso -r -no-emul-boot -b /tmp/cdrom/boot/cdboot=20= > /tmp/cdrom > # burncd -s max data /tmp/cdrom.iso fixate eject > > did I leave anything out? I think you need to use -b boot/cdboot (i.e. I think it's a relative=20 path to the root of the image) or it won't work and it's --no-emul-boot=20= I believe. -J can be handy for Windoze systems as well. :-P --=20 John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" =3D http://www.FreeBSD.org=