Re: Changing files in a bootable ISO

From: Martin Stone (martin.stone_at_db.com)
Date: 04/30/04

  • Next message: Ian Wallace: "Re: Network Card SMC2635W (ADM8211 Chipset) Setup"
    Date: Fri, 30 Apr 2004 11:26:29 -0400
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    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?
    >
    >>

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Ian Wallace: "Re: Network Card SMC2635W (ADM8211 Chipset) Setup"

    Relevant Pages

    • Re: How to create .iso file image of cdrom (atapi)?
      ... > can mount it he may be able to use mkisofs to make an ISO of the data. ... A very intelligent turtle ...
      (freebsd-questions)
    • Re: Hard kill a process?
      ... does not die. ... It's a loop back process from a failed mount iso ... What happen is I was trying to mount an iso CD image. ...
      (alt.os.linux)
    • Re: Im new to SUSE/Linux, here are some questions (long)
      ... I know nothing about Alcohol 120%, but the linux os allows ISO's to be ... There are 2 commands that you ... mount and umount. ... lets say you downloaded the iso image of the first CD of suse ...
      (alt.os.linux.suse)
    • Re: mounting and creating iso files
      ... How do i create iso files in linux and how do i mount them? ... Run 'man mkisofs' for a description. ... Say that I had a directory called "foo" that I wanted to add an iso ... To mount the iso I just created to a directory called "mountpoint" I ...
      (Ubuntu)
    • [SLE] Converting 9.3 CD ISOs to a DVD ISO
      ... I attach the script I got from a friend for converting the five ... downloadable CD ISO images to a single DVD ISO image. ... mount SUSE-9.3-Prof-i386-CD2.iso CD2 -o loop ...
      (SuSE)