LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Challenge: bootable CD Linux (https://www.linuxquestions.org/questions/linux-newbie-8/challenge-bootable-cd-linux-4175524572/)

d4n4mp 11-06-2014 12:57 PM

Challenge: bootable CD Linux
 
Hello guys! I'm with an almost impossible challange again!!

I created a java program, and per several reasons I need put my SO (CentOS 6.0 with kernel 3.9.4) in a bootable CD/DVD (can't be pen drive) that will automatic run my java program when start up. At the begin don't matter how big will be the size, but how smaller the better is!

In other words, I need an image .ISO of my HD with the BASIC Linux date (to be a smaller .ISO), my program, and a script to run my program when the SO start up.


If someone can help me I will be forever greatful!

Thanks very much!

jefro 11-06-2014 04:03 PM

Knoppix made one of the first best live cd's maybe 10 years ago. The how-to for it is still around but advanced tools have improved them.

For a while Centos had some issue making a live cd. Think that is fixed.

Basically you create an install, make it boot to a live environment to include fuse/aufs or other memory plus drive image to fake a install. In your construction install you add in all apps and settings needed and any special drivers to boot from a cd. Generally one compresses the file system into a single file. Then you make it into either a hybrid iso or common iso.

One might look at any of the live cd's out there. Plenty of documentation how to build one.

Some ways to create your own exist. Some creators out there, one for fedora could be hacked or changed to Centos.

If you just want to be lazy you could use OpenSuse SuseStudio to create what you want.

I know that isn't a cook book but maybe some help.


All times are GMT -5. The time now is 03:59 PM.