Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have an ISO image and I want to create an new iso image by taking some of the components in my original iso image.

I would like to know how can i do that in ubuntu.

Is it possible to untar the original iso and tar it again with my selected folders.

Thanks.

share|improve this question
add comment

3 Answers

up vote 1 down vote accepted
  1. Mount the ISO:

    sudo mount -o loop /path/to/iso /mnt/xxx

  2. Copy the whole lot to a directory (say ~/yyy), using -p to preserve ownership and permissions for the files:

    sudo cp -rp /mnt/xxx ~/yyy

  3. Make your changes to the directory of files.

  4. Create a new ISO from the directory:

    mkisofs -o xyz.iso ~/xxx

share|improve this answer
add comment

You can, you just need to use mkisofs.

Copy your content in a folder ' l'ets say FOO ), change things, and just run mkisofs FOO

You can choose the name of the file with -o, like mkisofs -o foo.iso FOO

Depending on the iso, you may need to add a bootloader, etc, if this to create a bootable cd.

share|improve this answer
add comment

ISO Master is the way to go

You can use it to:

  1. Add files to an image

  2. Extract files fro an image

  3. Delete files from an image

You can install it by

Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command below.

sudo apt-get install isomaster

or

From USC

Source: wikipedia

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.