Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 1347  / 2 Years ago, fri, april 15, 2022, 11:11:24

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.


More From » iso

 Answers
7

  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



[#37798] Sunday, April 17, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
itteast

Total Points: 291
Total Questions: 123
Total Answers: 104

Location: Tuvalu
Member since Wed, Mar 29, 2023
1 Year ago
;