How do I create a new ISO after amending the copied contents?Hello
You can't mount an iso in R/W mode.
You need to mount the ISO, copy the contents to another folder, make changes, and then burn the new ISO.
# mdconfig -a -t vnode -f /home/user/my.iso -u 0
# mount -t cd9660 /dev/md0 /mnt
# mkdir /tmp/my_new_iso
# cp -R /mnt/* /tmp/my_new_iso/
# umount /mnt
# mdconfig -d -u 0
# mkisofs -J -R -no-emul-boot -V "MY_LABEL" -o /home/user/my_new_custom.iso /tmp/my_new_iso
mkisofs: Missing boot image name, use -eltorito-boot option.Something like this...
I haven't done this in a long time
1. Mount ISO
# mdconfig -a -t vnode -f /home/user/my.iso -u 0
# mount -t cd9660 /dev/md0 /mnt
2. Copy ISO files and modify
# mkdir /tmp/my_new_iso
# cp /mnt/ /tmp/my_new_iso/
# umount /mnt
# mdconfig -d -u 0
3. Create new iso
# mkisofs -J -R -no-emul-boot -V "MY_LABEL" -o /home/user/my_new_custom.iso /tmp/my_new_iso
sysutils/mkisofs
I'm just trying to add something to Hiren's BOOT CD.Please, can you tell me what kind of ISO you're doing? do you want it to be bootable?
# mdconfig -a -t vnode -f /home/user/hiren.iso -u 0
# mount -t cd9660 /dev/md0 /mnt
# mkdir /tmp/hiren_new
# cp -a /mnt/. /tmp/hiren_new/
# mkisofs \
-iso-level 3 \
-udf \
-J -R \
-V "HIREN_PE" \
-b boot/etfsboot.com \
-no-emul-boot \
-boot-load-size 8 \
-o /home/user/hiren_custom.iso \
/tmp/hiren_new