Remote installation of RHES4.2 64bit -
If that server is already having redhat version installed –
1. Copy kernel and initrd image in /boot directory (In my senario I already made RHES4u2.tar.gz gz file using /remoteinstall/Redhat4update2/images/pxeboot/* on my file server , you can use 1st CD of RHES4update2 top copy the kernel and initrd image)
172.30.0.62 - This is my file server
scp username@173.30.0.62:/remoteinstall/Redhat/RHES4u2.tar.gz
tar -xvzf RHES4.u2.tar.gz
cp pxeboot/* /boot/
2. Edit the /etc/grub.conf file. Go onto next line of splash image.
title rhes4
root (hd0,0)
kernel /vmlinuz vnc vncconnect=172.30.0.3 headless ip=172.30.0.127 netmask=255.255.255.0 gateway=172.30.0.1 dns=172.30.0.41 ks=http://172.30.0.131/ks4.cfg
initrd /initrd.img
Save the file and reboot the machine.
3. Now start you vncviewer into listen mode.
(Make following changes
1.Replace 172.30.0.3 ip with your desktop’s ip
2. Replace 172.30.0.127 with to the IP of the machine which you are installing.)
My kick start configuration file looks like this -
# Kickstart file automatically generated by anaconda.
install
nfs --server=172.30.0.62 --dir=/big2/Redhat/RHES4.u2_64
lang en_US.UTF-8
langsupport --default=en_US.UTF-8 en_US.UTF-8
keyboard us
rootpw --iscrypted $1$1zTBqKn5$lnZ052YwM6uILBON/khw0.
firewall --disabled
selinux --enforcing
authconfig --enableshadow --enablemd5
timezone --utc Asia/Calcutta
bootloader --location=mbr --append="rhgb quiet"
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
clearpart --all
part /boot --fstype ext3 --size=100
part /usr --fstype ext3 --size=15000
part / --fstype ext3 --size=5000
part /opt --fstype ext3 --size=2000
part /var --fstype ext3 --size=2000
part /tmp --fstype ext3 --size=2000
part swap --size=2000
%packages
@ compat-arch-development
@ admin-tools
@ system-tools
@ dialup
@ compat-arch-support
@ legacy-software-development
@ base-x
@ development-tools
e2fsprogs
kernel-devel
kernel
%post
Hope this will help somebody :)
Wednesday, August 30, 2006
Subscribe to:
Posts (Atom)