Create ISO Image in Solaris & Burn to CD

To obtain this task, you can use mkisofs to create an ISO image and cdrecord to burn the ISO image into a CD.

1. As for example, to create an ISO image of a oracle directory, for example /oracle, type:

# mkisofs -l -L -r -o /local/oraclebackup.iso  /oracle

Additional note:
• This will take all the files in the /oracle directory and create an ISO image at /local/oraclebackup.iso.
-l Allow full 31 character filenames
-L This option will get POSIX.1-2001 semantics with mkisofs-2.02.(but you may use -allow-leading-dots)
-r This is like the -R option, but file ownership and modes are set to more useful values. The uid and gid are set to zero, because they are usually only useful on the author’s system, and not useful to the client
-o filename is the name of the file to which the iso9660 filesystem image should be written.

2. When creating the ISO image is done, insert a blank CD into the CD-ROM drive and type below command. This will copy the data image onto the blank CD.

# cdrecord -v /local/oraclebackup.iso

You May Also Like

Leave a Reply?