Saturday, October 15, 2011

Kickstart Installation


                  Kickstart  is a program used to install Red hat linux

automatically.Using kickstart configuration files, Redhat Linux can be installed. 

These files are used to perform installations.Red hat linux generate anakonda-

ks.cfg file while installing Red Hat Linux under root directory. this anakonda-

ks.cfg can be created as per installations.



Mount RHEL DVD

                    Automatically DVD can be mounted under /mnt or /media directory.

      for ex: /media/DVD_LABEL 



Create Linux Tree Structure:
              
                     Create a directory under root directory for ex:

root@RHELSystem]# mkdir   /kickstart


copy RHEL files to /kickstart folder.


 root@RHELSystem]# cp  -pr   /media/DVD_LABEL/*    /kickstart/


Copy kickstart file (anakonda-ks.cfg)

      root@RHELSystem]# cp   /root/anakonda-ks.cfg   /kickstart/ks.cfg

Make Bootble ISO image
      root@RHELSystem]# mkisofs -J -r -o  /path/RHEL_64bit.iso   /kickstart/

        where /path/       ---> where to create file (location)

             RHEL_64bit.iso  ---> image_filename this should be .iso format.
      
            /kickstart/  ---> which to be make isoimage (folder)

            this will possible fedora and CentOS linux also.