#iso #poweriso #cd #isoimage #genisoimage
### **Example Usage of `genisoimage` to Create an ISO File**
#### **1. Mount the ISO File to a Temporary Directory**
`mkdir /tmp/iso sudo mount -o loop file.iso /tmp/iso`
#### **2. Copy the Contents to a New Directory**
`mkdir /tmp/iso-edit cp -r /tmp/iso/* /tmp/iso-edit/`
#### **3. Modify or Add Files**
- You can now **edit** files or **add new ones** inside `/tmp/iso-edit/`.
#### **4. Create a New ISO Image**
`genisoimage -o new_file.iso -R -J /tmp/iso-edit`
[[Writing an ISO to a USB Drive in Linux]]
[[Mount ISO file in Linux Ubuntu]]