Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Sep 2007 14:04:42 -0300
From:      luizbcampos@gmail.com
To:        luizbcampos@gmail.com, freebsd-questions@freebsd.org
Subject:   Re: bootable CDs on FreeBSD-6.1-R amd64
Message-ID:  <d534d2fe0709061004k715a43a8we8ecdf98754dbfbe@mail.gmail.com>
In-Reply-To: <20070905160848.GA20668@slackbox.xs4all.nl>
References:  <d534d2fe0709041650x69b325f7j71c69bd5e99baaab@mail.gmail.com> <20070905160848.GA20668@slackbox.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
>> I followed your instruction...one more disk to the trash! Thanks

On 9/5/07, Roland Smith <rsmith@xs4all.nl> wrote:
>
> On Tue, Sep 04, 2007 at 08:50:21PM -0300, luizbcampos@gmail.com wrote:
> >        Dear Sirs
> >
> >
> >        Burning CDs is becoming a coastier task to me on FBSD-6.1-Ramd64=
.
> > I've lost five of them...and the question is how to make bootable CDs b=
y
> > using cdrecord? I've already read "man cdrecord" but the question is no=
t
> > 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)
> 1995-2006 J=F6rg Schilling
> Using libscg version 'schily-0.8'.
> scsibus1:
>         1,0,0   100) 'HL-DT-ST' 'DVD-ROM GDR8163B' '0L23' Removable CD-RO=
M
>         1,1,0   101) 'PLEXTOR ' 'DVDR   PX-716A  ' '1.08' Removable CD-RO=
M
>
> 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
>
> HTH,
>
> Roland
> --
> 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)
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d534d2fe0709061004k715a43a8we8ecdf98754dbfbe>