Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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?

share|improve this question

2 Answers 2

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

share|improve this answer

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).

Example

isomaster ss

share|improve this answer
    
Thank you this is a very considerate answer. I will go over all the resources. –  James Andino Nov 14 '13 at 1:53
    
@JamesAndino - you're quite welcome, let us know how you make out! –  slm Nov 14 '13 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 '13 at 2:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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