Chris Linton-Ford <[EMAIL PROTECTED]> wrote:

> ISOs can't be mounted read-write. You need to mount, copy the files out,
> edit them then recreate the ISO with mkisofs. I did this with the HP
> CPQary driver disk - be warned, it can be fiddly.
>
> For my example CPQary3.iso file:
>
> # mkdir /mnt/ddisk
> # mount -F hsfs -o ro `lofiadm -a /var/tmp/CPQary3.iso` /mnt/ddisk
> # mkdir /var/tmp/ddisk
> # find /mnt/ddisk -depth -print | cpio -pvd /var/tmp/ddisk
> # umount /mnt/ddisk
> # lofiadm -d /var/tmp/CPQary3.iso

Warning:
======> Never use cpio to do this kind of work! <============

cpio has a bug with hard link handling that will cause real problems
if you use the outdated mkisofs that currently comes with Solaris.


> do your changes, then
>
> # mkisofs -iso-level 4 -U -v -sysid Solaris -V CPQARY3A171 -o 
> /var/tmp/CPQary3_new.iso /var/tmp/ddisk/mnt/ddisk/

If you do not use Rock Ridge, you will loose a lot of meta data information.


> Find the sysid and volume id with labelit(1M)

The official program to print the related information is "isoinfo"

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to