Quick steps to setup JumpStart ( KickStart ) for RHEL on Solaris
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~


Setting up JetRedhat :


1. Install SUNWjet package [https://jet.uk.sun.com/downloads].


2. Download and install the JetRedHat module from https://jet.uk.sun.com/downloads/

# pkgadd -d JetRedHat.pkg

3. Extract and copy the OS image.


#lofiadm -a /var/tmp/RHEL5.1-Server-20071017.0-x86_64-DVD.iso
#mount -F hsfs /dev/lofi/1 /mnt
#cp -r /mnt/* /export/install/media/rhel/rhel5u1/amd/


4. Add redhat location.
# add_redhat_location --help
Usage: /opt/SUNWjet/bin/add_redhat_location
version: The OS version i.e. SunLinux5, RedHat8, etc


mediaurl:
The location of the RedHat image. This can be in
one of the following formats:
_____ "http://server/path/to/distribution"
_____"ftp://server/path/to/distribution"
nfs://server/path/to/distribution
kernelpath:
The path to the kernel to be used during network
boots relative to the distribution's root directory.
Example: images/pxeboot/vmlinuz
initrdpath:
The path to the initrd image to be used during network
boots relative to the distribution's root directory.
Example: images/pxeboot/initrd.img

~~~~~adding image~~~~~


#add_redhat_location RHEL5.1 nfs:///export/install/media/rhel/rhel5u1/amd images/pxeboot/vmlinuz images/pxeboot/initrd.img

# list_redhat_locations
Version Location
------- --------
RHEL5.1 nfs://Jumpstartserver/export/install/media/rhel/rhel5u1/amd

5. Create Template [ /opt/SUNWjet/Templates ]


a. Make_Template (When you are making template first time)

#make_template -o redhat test-redhat
or #make_template -f -A i86pc -o redhat -O RHEL5.1 -E 00:01:22:33:44:FF myhost base_config

b. Copy if you have already existing redhat template (make_template -T test-redhat new-redhat)

6. Edit config file to add IP, Mac and other details. (if you have copied the template you can only change the IP, Mac, Hostname, ClientOS)


#vi test-redhat
(You can search and modify the following details according to your requirement)
base_config_ClientArch=i86pc
base_config_ClientEther=00:09:3d:11:19:21
base_config_ClientOSName="redhat"
base_config_ClientOS=RHEL5.1

base_config_products=" custom"

base_config_client_allocation="dhcp"

base_config_bootproto=
base_config_network_interface=eth0
base_config_ip=192.168.1.1
base_config_hostname=test-redhat
base_config_netmask=255.255.255.0
base_config_gateway=192.168.1.1
base_config_nameservers=192.168.1.100

base_config_root_password_encrypted=yes
base_config_root_password=

base_config_timezone=Asia/Calcutta

You can also modify the "# Pre-partitioning disk information" section, according to your need.

base_config_clusters="Everything"

base_config_installation_number="xxxxxxxxxxx" (You can specify the media Installation number here save the file)


7. Configure/Setup a client

#make_client test-redhat
Gathering network information..
Client: 192.168.1.1 (10.12.161.0/255.255.255.0)
Server: 192.168.1.100 (192.168.1.0/255.255.255.0, SunOS)
RedHat: client_prevalidate
RedHat: client_build
RedHat: patch_template
RedHat: generate_kickstart_file
RedHat: pxeboot_setup
/tftpboot/vmlinuz.RHEL5.1
/tftpboot/initrd.RHEL5.1
Usage: /opt/SUNWjet/Utils/lib/JS_hostlookup
RedHat: Configure PXE/DHCP build
Configuring test-redhat macro
Using local dhcp server
PXE/DHCP configuration complete
Running '/opt/SUNWjet/bin/check_client test-redhat'
Client: 192.168.1.1 (10.12.161.0/255.255.255.0)
Server: 192.168.1.100 (192.168.1.0/255.255.255.0, SunOS)
Product base_config/redhat does not support 'check_client'
Checking product custom
--------------------------------------------------------------
Check of client test-redhat
-> Passed....
#


~~~!! Now Everything is setup and ready for network Install !!~~~

Note: To add new client for RedHat installation repeat the steps from 5.b to 7




More...