From owner-freebsd-stable Sat Sep 15 16:56:14 2001 Delivered-To: freebsd-stable@freebsd.org Received: from horsey.gshapiro.net (horsey.gshapiro.net [209.220.147.178]) by hub.freebsd.org (Postfix) with ESMTP id 954B837B40A for ; Sat, 15 Sep 2001 16:56:08 -0700 (PDT) Received: from horsey.gshapiro.net (gshapiro@localhost [IPv6:::1]) by horsey.gshapiro.net (8.12.0/8.12.0) with ESMTP id f8FNu7I8054736 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Sat, 15 Sep 2001 16:56:07 -0700 (PDT) Received: (from gshapiro@localhost) by horsey.gshapiro.net (8.12.0/8.12.0/Submit) id f8FNu7Xf054733; Sat, 15 Sep 2001 16:56:07 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15267.60055.202740.574585@horsey.gshapiro.net> Date: Sat, 15 Sep 2001 16:56:07 -0700 From: Gregory Neil Shapiro To: freebsd-stable@FreeBSD.ORG Subject: Re: Making a bootable disk2 from a make release? In-Reply-To: <20010915195149.B6535@pir.net> References: <20010915214842.F1466-100000@sanctuary.magill.unisa.edu.au> <20010915115221N.jkh@freebsd.org> <20010915134955.A18734@freeway.dcfinc.com> <20010915163220X.jkh@freebsd.org> <20010915195149.B6535@pir.net> X-Mailer: VM 6.96 under 21.5 (beta1) "anise" XEmacs Lucid Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >> There's nothing like that, either in docs or tools. Contributions >> always accepted. :) >> From: "Chad R. Larson" >> > Is there a write up or a cookbook on creating custom, bootable CDs? Dno't know if it will help, but here is the script I use to make FreeBSD bootable installation CD's: #!/bin/sh ### makecd --- Create a bootable FreeBSD install CD ## Author: Gregory Neil Shapiro # Other useful commands: # # Make a release: # # make release CHROOTDIR=/src/FreeBSD/release \ # BUILDNAME=4.2-STABLE-2001-02-24 \ # CVSROOT=/src/FreeBSD/cvsrepo RELEASETAG=RELENG_4 \ # NODOC=YES NOPORTS=YES ALLLANG=no NOPORTREADMES=YES NOSRC=YES # # To mount/umount the ISO image: # vnconfig /dev/vn0c /extra/gshapiro/FreeBSD.iso # mount -r -t cd9660 /dev/vn0c /mnt # ... # umount /mnt # vnconfig -u /dev/vn0c # # To burn the ISO file to a CD: # cdrecord dev=0,5,0 speed=8 /extra/gshapiro/FreeBSD.iso # Error exit EX_UNAVAILABLE=69 # FreeBSD release area rel=/src/FreeBSD/release/R # Boot blocks boot=floppies/boot.flp # CD-ROM root dir=cdrom/disc1 # Move into the area cd ${rel} || exit ${EX_UNAVAILABLE} # Read CD_VERSION from cdrom.inf if [ ! -f ${dir}/cdrom.inf ] then echo "$0: ${dir}/cdrom.inf missing" exit ${EX_UNAVAILABLE} fi read version < ${dir}/cdrom.inf cd_version=${version##CD_VERSION = } if [ "${cd_version}" = "" ] then echo "$0: cd_version not defined" exit ${EX_UNAVAILABLE} fi # CD Parameters appid="FreeBSD ${cd_version}" pubid="Gregory Neil Shapiro " # Where to save the backup iso=/extra/gshapiro/FreeBSD.iso # Create the ISO file /usr/local/bin/mkisofs -A "${appid}" -P "${pubid}" -p "${pubid}" \ -o ${iso} -b ${boot} -R -J ${dir} To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message