I've been using this live boot distro, Finnix to do some installation work on several virtual machines.

I'd like to modify the ISO file to include a script I need to do installations. I've booted the virtual machine and gotten as far as copying the /dev/cdrom contents to a new Folder and modified it as needed.

Now I'd like to turn the plain folder back into a bootable ISO image and nc it back to my host machine for subsequent boots, modified with my additional content.

How can I turn the folder with the modified content back into a bootable ISO image?

  • 7 years question which has no good answer, If anyone still need this answer, I will spend time to write neat solution for this specifically based on Finnix.
    – ToiletGuy
    Apr 13, 2021 at 4:50

3 Answers 3


You need to use mkisofs to make the ISO

mkisofs -o youriso.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -J -R -V youriso-live ~/isodistro/iso

-o is the output file
-b is the boot image that it boots
-c is the boot catalog
and ~/isodistro/iso is the path of the files

You can find the details on the switches here - http://cdrecord.berlios.de/private/man/mkisofs-2.0.html


I've not attempted this myself but I would start with the advice given in this AskUbuntu Q&A titled: Using SquashFS to edit a Live CD?.

Specifically there is a Linux Journal article referenced in the Q&A, a 3 part Paranoid Penguin series titled: Customizing Linux Live CDs.

Also Ubuntu has some very good/detailed directions on doing this too:

Though these aren't Finnix specific, they should help in answering your questions on how to attempt to do this.

There is also this guide which is Fedora base, but is pretty straightforward and looks to be only a few steps to do what you want. The article is titled: Hacking a Fedora Live CD.

Using an ISO tool

You could also try using a tool such as mkisofs (command line), its replacement - genisoimage, or ISO Master (GUI).


isomaster ss

  • Thank you this is a very considerate answer. I will go over all the resources. Nov 14, 2013 at 1:53
  • @JamesAndino - you're quite welcome, let us know how you make out!
    – slm
    Nov 14, 2013 at 2:00
  • @JamesAndino - yes genisoimage is the new name. They're usually both available, but I've updated the A to include it.
    – slm
    Nov 14, 2013 at 2:49
  • Why Ubuntu? Finnix is based on Debian.
    – ToiletGuy
    Apr 16, 2021 at 9:07

7 years question but no appropriate answer for this which focuses on Finnix which OP is requested for. Now let's not talk about other distribution. Based on Finnix, taken from this post, you need to unpack filesystem.squashfs and modify your OS there then repack back filesystem.squashfs

Full working step is here:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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