Posted by: isaraffee | August 10, 2009

Creating ISO Image in Sabayon Linux

Creating an ISO image file using mkisofs

First copy the files you want to backup to a directory.

sabayonx86 script # mkdir backmeup

sabayonx86 script # cp -p *.mp3 backmeup/

In this example, I will backup my mp3 songs. Now type the following command to make an iso file:

sabayonx86 script # mkisofs -r -o mymp3.iso backmeup/

Unknown file type (unallocated) backmeup/.. – ignoring and continuing.

Total translation table size: 0

Total rockridge attributes bytes: 364

Total directory bytes: 530

Path table size(bytes): 10

Max brk space used 21000

2548 extents written (4 MB)

Now burn the iso image file by typing :

sabayonx86 script # cdrecord -v -eject dev=3,0,0 mymp3.iso

cdrecord: No write mode specified.

cdrecord: Asuming -tao mode.

cdrecord: Future versions of cdrecord may have different drive dependent defaults.

Cdrecord-ProDVD-Clone 2.01.01a11 (i686-pc-linux-gnu) Copyright (C) 1995-2006 Jörg Schilling

TOC Type: 1 = CD-ROM

scsidev: ‘3,0,0’

scsibus: 3 target: 0 lun: 0

Linux sg driver version: 3.5.34

Using libscg version ‘schily-0.8’.

SCSI buffer size: 64512

atapi: 1

Device type : Removable CD-ROM

Version : 5

Response Format: 2

Capabilities :

Vendor_info : ‘TEAC ‘

Identifikation : ‘DW-224E-A ‘

Revision : ‘A.2F’

Device seems to be: Generic mmc2 DVD-ROM.

Current: CD-RW

Profile: DVD-ROM

Profile: CD-RW (current)

Profile: CD-R

Profile: CD-ROM

Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).

Driver flags : MMC-2 SWABAUDIO BURNFREE

Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R

Drive buf size : 1421312 = 1388 KB

FIFO size : 4194304 = 4096 KB

Track 01: data 4 MB

Total size: 5 MB (00:34.00) = 2550 sectors

Lout start: 6 MB (00:36/00) = 2550 sectors

Current Secsize: 2048

ATIP info from disk:

Indicated writing power: 5

Reference speed: 2

Is not unrestricted

Is erasable

ATIP start of lead in: -11635 (97:26/65)

ATIP start of lead out: 337350 (75:00/00)

1T speed low: 0 (reserved val 0) 1T speed high: 4

2T speed low: 8 2T speed high: 0 (reserved val 10)

power mult factor: 4 6

recommended erase/write power: 3

A1 values: 02 4C B0

A2 values: 4A C8 36

Disk type: Phase change

Manuf. index: 3

Manufacturer: CMC Magnetics Corporation

Blocks total: 337350 Blocks current: 337350 Blocks remaining: 334800

Starting to write CD/DVD at speed 4 in real TAO mode for single session.

Last chance to quit, starting real write 0 seconds. Operation starts.

Waiting for reader process to fill input buffer … input buffer ready.

BURN-Free is ON.

Turning BURN-Free off

Performing OPC…

Starting new track at sector: 0

Track 01: 4 of 4 MB written (fifo 100%) [buf 99%] 4.1x.

Track 01: Total bytes read/written: 5218304/5218304 (2548 sectors).

Writing time: 17.942s

Average write speed 3.1x.

Min drive buffer fill was 99%

Fixating…

Fixating time: 62.614s

cdrecord: fifo had 83 puts and 83 gets.

cdrecord: fifo was 0 times empty and 5 times full, min fill was 92%.

Check that the files are copied to the disc. Mount the CD-RW by typing:

sabayonx86 script # mount -t iso9660 /dev/sr0 /media/cdrw

mount: block device /dev/sr0 is write-protected, mounting read-only

Look into the directory /media/cdrw

sabayonx86 script # cd /media/cdrw

sabayonx86 cdrw # ls

bonfire_lookofloveNR.mp3 whitelion_youallineedNR.mp3

Yes the files have been copied.

Note: To create an ISO file type:

dd if=/dev/cdrom of=/cdrom_image.iso

Advertisements

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

Categories

%d bloggers like this: