Re: bootable CDs on FreeBSD-6.1-R amd64

2007-09-06 Thread luizbcampos
 I followed your instruction...one more disk to the trash! Thanks

On 9/5/07, Roland Smith [EMAIL PROTECTED] wrote:

 On Tue, Sep 04, 2007 at 08:50:21PM -0300, [EMAIL PROTECTED] 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 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 xpt0root:cdrom
 permxpt00660
 own cd0 root:cdrom
 permcd0 0660
 own cd1 root:cdrom
 permcd1 0660
 linkcd1 cdrom
 linkcd1 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örg 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=32 driveropts=burnfree dev=1,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)


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: bootable CDs on FreeBSD-6.1-R amd64

2007-09-06 Thread Mel
On Wednesday 05 September 2007 01:50:21 [EMAIL PROTECTED] wrote:

Burning CDs is becoming a coastier task to me on FBSD-6.1-R amd64.
 I've lost five of them...

How do you determine they're broken? Like which error messages you get with 
what command, that makes you decide to trash 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.

Cdrecord (or burncd for that matter) doesn't know what bootable cd-roms are. 
The iso file determines if they're bootable or not. Cdrecord/burncd just 
tells the cd writer what bytes to burn in which sectors.

man mkisofs should tell you about making an iso file bootable.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: bootable CDs on FreeBSD-6.1-R amd64

2007-09-05 Thread Roland Smith
On Tue, Sep 04, 2007 at 08:50:21PM -0300, [EMAIL PROTECTED] wrote:
Dear Sirs
 
 
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 xpt0root:cdrom
permxpt00660
own cd0 root:cdrom
permcd0 0660
own cd1 root:cdrom
permcd1 0660
linkcd1 cdrom
linkcd1 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örg 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=32 driveropts=burnfree dev=1,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)


pgpmTO8TMBER0.pgp
Description: PGP signature


bootable CDs on FreeBSD-6.1-R amd64

2007-09-04 Thread luizbcampos
   Dear Sirs


   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.


   Regards

   Luiz
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]