I would like to have a CD with a custom Linux installation, When this linux was booted the
hard disk formate and create partitions(tree ex3 and one swap) and copy one image to parition
hard disk.
How to add one program(for example python program) and add some file to live cd?
tanks.
Answer
Starting on boot you should look at /etc/rc.local
. To add files to a live-cd you’ll have to look up the docs for the various live-cd build tools, as for many of them you can’t just add a file to ISO, it has to be in a compressed image inside it.
Attribution
Source : Link , Question Author : M.Rezaei , Answer Author : LapTop006