Thursday, August 20, 2009

Custom Linux os cd using kickstart + anaconda

yep follow the steps

* yum install anaconda-runtime createrepo yum-utils anaconda anaconda-help busybox-anaconda mkisofs .

* Mount Centos original cd+dvd copy contents to folder. select the rpms along with dependencies .
Please Refer :

Next to make iso ready :
Here is that shell script .

#! /bin/bash
cd /myos/
discinfo=`head -1 .discinfo`
createrepo -u “media://$discinfo” -g repodata/comps.xml /myos
mkisofs -r -R -J -T -v \
-no-emul-boot -boot-load-size 4 -boot-info-table \
-V “SimpleWall″ -p “myos-0.1” \
-A “myos″ \
-b isolinux/isolinux.bin -c isolinux/ \
-x “lost+found” -o $isofilename /myos
/usr/lib/anaconda-runtime/implantisomd5 $isofilename

Burn it , its rocks .

Note : kickstart configuration file plays important role in automated installer

No comments: