I usually mount the ISO, then copy the contents out with something like:
mkdir ~/mynewcd mount -o loop ~/crappyoldcd.iso /mnt/iso cd /mnt/iso tar cf - . | (cd ~/mynewcd; tar xvfp -)
then unmount the ISO, change the files in ~/mynewcd and run mkisofs with something like:
cd ~/mynewcd
mkisofs -J -R -v -T -o ../mynewcd.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table .
That's assuming you have a bootable CD using ISOLINUX. Also, running something like:
isodebug ~/crappyoldcd.iso
might give you a good starting point command line for mkisofs...
Hope this helps... Martin
Chadley Wilson wrote:
On Fri, 2004-04-30 at 11:02, Ow Mun Heng wrote:
Hi Guys,
Need some help. I downloaded an ISO (ultimatebootcd) but some of the items there are either not working or outdated. I've Dl'ed some of the updates (img files) and I want to substitute those with the ones currently in the ISO and then burn them into a new CD.
Is this possible??
mount -t loop /path/to/iso /mnt/iso
You can mount the iso, but you can't change its contents, check the archives I have asked the same question before and it seems that its not possible. Sorry man, Unless someone else has found away since?