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.
Mount the ISO:
sudo mount -o loop /path/to/iso /mnt/xxx
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
Make your changes to the directory of files.
Create a new ISO from the directory:
mkisofs -o xyz.iso ~/xxx
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.
ISO Master is the way to go
You can use it to:
Add files to an image
Extract files fro an image
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.
or
From USC
Source: wikipedia