from:
http://forums.fedoraforum.org/archive/index.php/t-16524.html
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
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment