openSUSE Forums > Archives > SF Archives > ARCHIVES - Tips, Tricks & Tweaks » Cd-writing Using Command Line...

Go Back   openSUSE Forums > Archives > SF Archives > ARCHIVES - Tips, Tricks & Tweaks
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Tips, Tricks & Tweaks Tips and Solutions for SUSE Linux
(Please do not post questions here)

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-Jun-2004, 13:45
samersarhan
Guest
 
Posts: n/a
Default

Hi all,
I would like to appreciate SuSE for its robustness and professional weaving of the complex Linux system...
Well for My first post on this FORUM, My first tip is that SuSE is an acrynom of the German phrase: Software Und System Entwicklung which means Software and System Development.

well, about CD writing... I have collected some info that I consider useful (at least for me):
--------------------------------------------------------------------------------------------------------------
The operation involves 2 steps:
1. Creating an iso9660 image of the source medium, e.g. existing CD-ROM, a directory.
2. Burning an iso image on a recordable medium.
-----------------------------------------------------------------------------------------
To make an iso from an existing CD: firstly, be sure that cdrom is not mounted
> umount /dev/cdrom #to umount
> dd if=/dev/cdrom of=cd.iso
------------------------------------------------------------------------------------
to create an iso image from a directory:
> mkisofs -r -o cd_image src-directory/
-r to make all files readable by al users(enable for RockRidge extensions).
-J to enable MS Joliet extensions.
-R to enable RockRidge protocol to further describe the files on the iso9660 filesystem.
To create a Windows-friendly filesystem use 'mkhybrid' command.
-------------------------------------------------------------------------------------
to burn the iso(this steps need root permissions)
> cdrecord -pad -dao -v speed=24 -eject driveropts=burnproof dev=0,0,0 /path/to/file.iso
-------------------------------------------------------------------------------------
To copy a CD-ROM on the fly form a CD-ROM drive (say, /dev/scd0):
> cdrecord -v dev=0,6,0 speed=24 -isosize /dev/scd0
-------------------------------------------------------------------------------------
to check for the cdwriters:
> cdrecord -scanbus
-------------------------------------------------------------------------------------
to mount an iso image on the /cdrom directory:
> mount -t iso9660 -o ro,loop=/dev/loop0 cd_image /cdrom
-------------------------------------------------------------------------------------
To create a multi-session CD, we must:
1. At first session we must brun the CD-R with cdrecord using -multi option .
2. Mkisofs must know where the free space on the CD-R begins(new track pos.)
> NEXTTRACK =`cdrecord -msinfo dev=0,6,0`
3. Generate an IS09660 filesystem with RockRidge-extensions starting atlast session:
> mkisofs -R -o cd_image2 -C $NEXT_TRACK -M /dev/scd5 src-directory/
-M: specifies path of an image of the original cd.
-C: supplies last session info form the cdrecord -msinfo command.
  #2 (permalink)  
Old 08-Jun-2004, 14:03
69_rs_ss
Guest
 
Posts: n/a
Default

Very nice tip. I like to see that some people still like to use the command line.
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2