From owner-freebsd-questions@FreeBSD.ORG Wed Sep 5 16:09:23 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A27ED16A468 for ; Wed, 5 Sep 2007 16:09:23 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr3.xs4all.nl (smtp-vbr3.xs4all.nl [194.109.24.23]) by mx1.freebsd.org (Postfix) with ESMTP id 33E5313C467 for ; Wed, 5 Sep 2007 16:09:22 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr3.xs4all.nl (8.13.8/8.13.8) with ESMTP id l85G8moH091423; Wed, 5 Sep 2007 18:08:52 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 3A225B862; Wed, 5 Sep 2007 18:08:48 +0200 (CEST) Date: Wed, 5 Sep 2007 18:08:48 +0200 From: Roland Smith To: luizbcampos@gmail.com Message-ID: <20070905160848.GA20668@slackbox.xs4all.nl> Mail-Followup-To: luizbcampos@gmail.com, freebsd-questions@freebsd.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dDRMvlgZJXvWKvBx" Content-Disposition: inline In-Reply-To: X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.16 (2007-06-09) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: bootable CDs on FreeBSD-6.1-R amd64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2007 16:09:23 -0000 --dDRMvlgZJXvWKvBx Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 04, 2007 at 08:50:21PM -0300, luizbcampos@gmail.com wrote: > Dear Sirs >=20 >=20 > Burning CDs is becoming a coastier task to me on FBSD-6.1-R amd64. > I've lost five of them...and the question is how to make bootable CDs by > using cdrecord? I've already read "man cdrecord" but the question is not > clearer. Better not use 6.1. 6.2 has been out for some time now. The following works for me; 1) Make sure that the CD/DVD rewriter is controlled as a SCSI device instead of an ATAPI device. Build a kernel with the following devices: # ATA and ATAPI devices # Do _not_ include the atapicd driver! device ata device atadisk # ATA disk srives device ataraid # RAID drives # The atapicam device is not included in the GENERIC amd64 kernel! device atapicam # Emulate ATAPI devices as SCSI via CAM options ATA_STATIC_ID # Static device numbering # SCSI peripherals device scbus # SCSI bus (required for SCSI) device cd # Compact Disc device da # Direct Access (disks) device pass # Passthrough device (direct SCSI access) 2) Set the device permissions correctly # Give members of group cdrom access to the CD/DVD-ROM and DVD+RW via the # SCSI interface own xpt0 root:cdrom perm xpt0 0660 own cd0 root:cdrom perm cd0 0660 own cd1 root:cdrom perm cd1 0660 link cd1 cdrom link cd1 dvd My user-id is part of the cdrom group. 3) Use 'cdrecord -scanbus' to determine which device to use; Cdrecord-ProDVD-Clone 2.01.01a11 (amd64-unknown-freebsd6.2) Copyright (C) 1= 995-2006 J=F6rg Schilling Using libscg version 'schily-0.8'. scsibus1: 1,0,0 100) 'HL-DT-ST' 'DVD-ROM GDR8163B' '0L23' Removable CD-ROM 1,1,0 101) 'PLEXTOR ' 'DVDR PX-716A ' '1.08' Removable CD-ROM So I'm using 1,1,0. 4) Burn the image; cdrecord -v -eject -dao speed=3D32 driveropts=3Dburnfree dev=3D1,1,0 -pad \ -data 6.2-RELEASE-amd64-disc1.iso=20 HTH, Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --dDRMvlgZJXvWKvBx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFG3tSQEnfvsMMhpyURArVaAJ4jrADcxIhr/9mPpag+0Qe25Q0F5wCgno3f bpZNKiN3VUqwdSa63hVcoP8= =Ztjr -----END PGP SIGNATURE----- --dDRMvlgZJXvWKvBx--