1) #CREATE REPO IF RPMS ARE ADDED
#Write the name of rpms in ks.cfg and in comps.xml
#CREATE REPO IF RPMS ARE CHANGED no need to write in files
#changed dir to inside folder get init int cd folder if cd has all teh material
createrepo --baseurl="media://1195929637.060433" -g repodata/comps.xml .
#media is wriiten .diskinfo [use media of centos CD]
#if images are changed
mkcramfs stage2/ stage2.img
this will create img file. change with th e existing.
2) changed dir to outside folder i.e cd is the folder where all the material is.
mkisofs -R -J -T -no-emul-boot -boot-load-size 4 -boot-info-table -V "Coralpbx 3.4" -A "Created on 05/03/2009" -P "Coral" -p "Coral" -b isolinux/isolinux.bin -c isolinux/boot.cat -x "lost+found" -o coralpbx.iso cd
-o path of the iso file
3) To write a dvd / right click on iso file and select on "write to disc"
#images path in the stage dir. Change the required images here.
/root/Desktop/stage2/usr/share/anaconda/pixmaps
No comments:
Post a Comment