Results 1 to 3 of 3
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-27-2012 #1Just Joined!
- Join Date
- Dec 2012
- Posts
- 5
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.
Regards
Pratik Patel
Moderator's Note :: Do not add your personal details here.Last edited by devils casper; 12-27-2012 at 01:43 PM.
- 12-27-2012 #2Trusted Penguin
- Join Date
- May 2011
- Posts
- 3,664
Hi,
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.:
read up on mkisofs to see the many, many options you can pass to it.Code:# 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
- 12-27-2012 #3
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


1Likes
Reply With Quote
