On Sat, 9 Dec 2000, Ahbaid Gaffoor wrote:
> I have downloaded Oracle 8.1.7 for linux in a tar.gz file...
>
> I then extract the files via.
>
> tar -zxvf thefile
>
> I end up with the files and directory tree on disk...
>
> what I would like to do is get this onto a CD after it's been
> decompressed... Is there some way I can make this into an ISO image?
>
> I have CD writing set up already on RH 6.2, and I use cdrecord to burn
> CD's from iso images....
>
> thanks,
>
> Ahbaid.
If you want to do this in two steps; making an ISO image and then
burning it, then create the ISO image like this:
mkisofs -R -l -J -o /bigdisk/oracle.img /opt/oracle
Notice that the flags I used preserve ownership and permissions, and
make the CDROM readable on Windoze machines (not particularly useful in
this case, but doesn't hurt either). Then burn it as usual with
cdrecord.
The disadvantage to that method is that you need a large chunk of free
disk space. Most modern computers and disks are capable of running the
disks in DMA mode (set using hdparm), in which case you can likely write
the filesystem directly to the CDR without creating a file with the
intermediate ISO image. Use this instead:
mkisofs -R -l -J /opt/oracle | cdrecord -v speed=8 dev=0,0,0 -
Or yet another variation. You might at some point want to put multiple
things on the CDR, each in its own subdirectory. So try this (it is all
one long line):
mkisofs -R -l -J /oracle/=/opt/oracle/ /ahbaid/=/home/ahbaid/ | cdrecord
-v speed=8 dev=0,0,0 -
And you will have directories on the disk named oracle and ahbaid, each
with its respective directory trees.
And Mike Burger wrote:
> Isn't CDRecord capable of burning directly mounted as a filesystem?
>
> If so, mount the CD, and untar the file directly to the CD.
Unburned CDs cannot be mounted.
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list