bootable CDs on FreeBSD-6.1-R amd64
Roland Smith
rsmith at xs4all.nl
Wed Sep 5 09:09:23 PDT 2007
On Tue, Sep 04, 2007 at 08:50:21PM -0300, luizbcampos at gmail.com 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 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ö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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070905/c4f702db/attachment.pgp
More information about the freebsd-questions
mailing list