Home > World Of ICT > How to burn ISO image on FreeBSD

How to burn ISO image on FreeBSD


cdrecord can be used  to do it..

To find your device:

root#cdrecord -scanbus

  • My console output
  • root# cdrecord -scanbus
    Cdrecord-Clone 2.01 (amd64-unknown-freebsd8.0) Copyright (C) 1995-2004 Jrg Schilling
    Using libscg version ‘schily-0.8’.
    scsibus0:
    0,0,0      0) ‘COMPAQ  ‘ ‘RAID 0  VOLUME  ‘ ‘OK  ‘ Disk
    0,1,0      1) *
    0,2,0      2) *
    0,3,0      3) *
    0,4,0      4) *
    0,5,0      5) *
    0,6,0      6) *
    0,7,0      7) *
    scsibus2:
    2,0,0    200) ‘MATSHITA’ ‘DVD RAM UJ862A  ‘ ‘1.10’ Removable CD-ROM
    2,1,0    201) *
    2,2,0    202) *
    2,3,0    203) *
    2,4,0    204) *
    2,5,0    205) *
    2,6,0    206) *
    2,7,0    207) *
    proxy#

To get some information about your drive, note here we get the “driver flags” and “supported modes”:

root#cdrecord dev=2,0,0 -checkdrive

  • root# cdrecord dev=2,0,0 -checkdrive
    Cdrecord-Clone 2.01 (amd64-unknown-freebsd8.0) Copyright (C) 1995-2004 J�rg Schilling
    scsidev: ‘2,0,0’
    scsibus: 2 target: 0 lun: 0
    Using libscg version ‘schily-0.8’.
    Device type    : Removable CD-ROM
    Version        : 0
    Response Format: 2
    Capabilities   :
    Vendor_info    : ‘MATSHITA’
    Identifikation : ‘DVD RAM UJ862A  ‘
    Revision       : ‘1.10’
    Device seems to be: Generic mmc2 DVD-R/DVD-RW.
    cdrecord: Cannot load media with this drive!
    cdrecord: Try to load media by hand.
    cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support code.
    cdrecord: If you need DVD-R/DVD-RW support, ask the Author for cdrecord-ProDVD.
    cdrecord: Free test versions and free keys for personal use are at ftp://ftp.berlios.de/pub/cdrecord/ProDVD/
    Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
    Driver flags   : MMC-3 SWABAUDIO BURNFREE
    Supported modes: TAO PACKET SAO
    proxy#

Burning iso image:

root#cdrecord dev=2,1,0 -v -eject speed=40 /path/to/your.iso

Make  iso:

root#mkisofs -J -r -V VolName -o out.iso path_to_burn

Make  iso not from  blok 0:

root#mkisofs -J -r -C 0,XXX -V VolName -o out.iso /path/to/be/burned

Make  iso not form  0 get from another device:

root#mkisofs -J -f -C 0,XXX -M 0,1,0 -o out.iso /path/to/be/burned

Eject or closing cd use cdcontrol,

see cdcontrol(1). cdcontrol close cdcontrol eject

Kernel Configuration t oactivated  scsi cdrw:

device atapicam

device ata

device scbus

device cd

device pass

Mounting iso image:

mdconfig -a -t vnode -f /path/to/file.iso -u 0 mount -t cd9660 /dev/md0 /iso

Releasing md device:

mdconfig -d -t vnode -u 0

Materials: – cdrecord

(1), mkisofs(8),

mdconfig(8) – http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html#ATAPICAM

Categories: World Of ICT
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: