LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to make a bootable cd > plus alot of extras (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-make-a-bootable-cd-plus-alot-of-extras-691215/)

CQ1ST 12-17-2008 07:51 AM

how to make a bootable cd > plus alot of extras
 
I'm just new and was wondering

How can I burn a live-cd (insert/dsl) .iso and fill the rest (600MB) of the cd with ordinary files? Would I have to pack the image+extras into one "new" iso beforehand? How would you do this?

Agrouf 12-17-2008 08:03 AM

1. mount the iso file to copy the data
Code:

mkdir /mnt/dsl
mount -o loop -t iso9660 dsl.iso /mnt/dsl

2. copy the files to a new read/write location
Code:

cp -r /mnt/dsl /tmp
3. Add your files to /tmp/dsl
4. Remake the iso with your new files:
Code:

mkisofs -o /tmp/newdsl.iso -b /tmp/dsl/isolinux/isolinux.bin -no-emul-boot /tmp/dsl
5. burn /tmp/newdsl.iso

EDIT:
I forgot you must test the iso on a virtual machine before you burn it.


All times are GMT -5. The time now is 01:49 PM.