1. For Checking which hosts are online use following command.
nmap -sP 192.168.0.0/24
2. For Network based installation :
3. Network based automated installation without user interaction [ This worked for me ]:
· Create installation directories and copy ISO images.
[root@LinuxServer tmp]# mkdir -p /network-install/ISO
[root@LinuxServer tmp]# cd /data/network-install/ISO
[root@LinuxServer ISO]# mount /mnt/cdrom
[root@LinuxServer ISO]# mkisofs -J -r -T -o rhl9.0-i386-disc1.iso /mnt/cdrom
[root@LinuxServer ISO]# eject cdrom
Repeat this step with each installation CDROM.
· Configure NFS server for network based installation.
[root@LinuxServer tmp]# cat /etc/exports
[root@LinuxServer tmp]#/usr/sbin/exportfs -a -v
· Create Boot Diskette.
[root@LinuxServer cdrom]# dd if=images/bootdisk.img of=/dev/fd0
Remove the boot diskette from your floppy drive.
· Create network driver diskette.
[root@LinuxServer cdrom]# dd if=images/drvnet.img of=/dev/fd0
Remove the network driver diskette from your floppy drive.
· Create a customized kickstart configuration file by using the ksconfig command from a GUI console. It will bring up a menu from which you can select all your installation options. When finished, save the configuration file as ks.cfg on boot diskette. We may want to then edit the configuration file and comment out certain parameters that may change from system to system with a "#". These could include things like the system's name and IP address. During the kickstart process you will be prompted for these unspecified values. Do not change the order of the entries in the kickstart configuration file. For NFS based automated installation first two lines of ks.cfg should looks like this.
[root@LinuxServer tmp]# cat ks.cfg
nfs --server=184.108.40.206 --dir=/data/network-install/ISO
· Connect your client Linux box to the network.
· Boot your system using the boot diskette.
· Enter the command "linux ks=floppy" at the boot: prompt
· If there is "No Driver Found" screen we should remove the boot diskette and replace it with the network driver diskette.
· Select the "Use a Driver Disk" option, choose the floppy device "fd0" as the source of the files and then proceed to the "Networking Device" menu. Select the Ethernet device to which the installation client is connected to the installation server network. This would most likely be interface "eth0".
· Rest of the installation will be automated. It will ask only for uncommented entries in our ks.cfg file.