Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Mounting iso file

    Dear all

    I have fenced one problem in mounting iso image.

    I will mount iso file but this is only read only file so i am not editing in iso image.
    mount command is below
    mount -o loop isofile.iso /mnt/ (isofile is my iso and /mnt is mount point)

    Please anybody help me how to mount iso image on read/write mode.

    Pratik Patel

    Moderator's Note :: Do not add your personal details here.
    Last edited by devils casper; 12-27-2012 at 01:43 PM.

  2. #2

    You can't mount an ISO read/write. Your best bet is to copy the contents of the mounted ISO directory to a new directory, then make an ISO image of that dir, e.g.:

    # mount ISO image
    mount -o loop /tmp/image.iso /mnt/iso
    # copy dir
    mkdir /mnt/iso2
    cp -a /mnt/iso /mnt/iso2
    # make the new iso image
    mkisofs -o /tmp/new-image.iso  /mnt/iso2
    read up on mkisofs to see the many, many options you can pass to it.

  3. #3
    SuperMod (Back again) devils casper's Avatar
    Join Date
    Jun 2006
    Chandigarh, India
    Its not possible to edit mounted .iso image. Extract .iso image, edit its contents and create .iso image again.

    Edit : atreyu beats me !
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts