Date: Wed, 5 Sep 2007 18:08:48 +0200 From: Roland Smith <rsmith@xs4all.nl> To: luizbcampos@gmail.com Cc: freebsd-questions@freebsd.org Subject: Re: bootable CDs on FreeBSD-6.1-R amd64 Message-ID: <20070905160848.GA20668@slackbox.xs4all.nl> In-Reply-To: <d534d2fe0709041650x69b325f7j71c69bd5e99baaab@mail.gmail.com> References: <d534d2fe0709041650x69b325f7j71c69bd5e99baaab@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070905160848.GA20668>