How to install RHEL 6 on IBM Power Blades p601/701 through kickstart:

The problem was discovered on a p601 while installing RHEL 6 via Kickstart. The p601 could not Kickstart over the network via netboot (ppc64.img) as it could with RHEL 5. During the tftpboot sequence, the image starts to load but then fails.

The determination was to boot the host from yaboot and not the netboot. Create a yaboot structure on the kickstart server to install vmlinuz and ramdisk, then boot from those installed images.

1. Create following directory structure under “tftpboot” directory

mkdir /var/lib/tftpboot/ppc
mkdir /var/lib/tftpboot/etc

2. Mount power Linux media and copy following files

cp -r /media/RED_HAT/ppc/ppc64/vmlinuz /var/lib/tftpboot/ppc
cp -r /media/RED_HAT/ppc/ppc64/initrd.img /var/lib/tftpboot/ppc
cp -r /media/RED_HAT/ppc/chrp/yaboot /var/lib/tftpboot/

3. Create following file under /var/lib/tftpboot/etc directory

vi /var/lib/tftpboot/etc

append="ramdisk_size=8192 console=hvc0 rhgb quiet ks=nfs: ksdevice=eth1"


4. Create kickstart directory under /export and share with NFS

mkdir /export/kickstart

vi /export/kickstart/anaconda-ks.cfg

nfs --server= --dir=/media/RED_HAT
lang en_US.UTF-8
keyboard us
network --onboot no --device eth0 --bootproto dhcp --noipv6
network --onboot yes --device eth1 --bootproto dhcp --noipv6
rootpw --iscrypted $6$f3/IsblKw1qH9dS8$MMFKqXq1APM.FhAwOogdR3V.cvNajlqmfVUN9ZqxUX6XTCdp0E4ZYiHxbj57xajCd/q6PyiVnbiVnzWn8Edq2/
firewall --disabled
authconfig --enableshadow --passalgo=sha512
selinux --disabled
timezone --utc Asia/Karachi
bootloader --location=partition --driveorder=sda --append="crashkernel=auto console=hvc0 rhgb quiet"

clearpart --none

part prepboot --fstype=prepboot --size=10
part /boot --fstype=ext4 --size=100
part /opt --fstype=ext4 --size=31200
part swap --size=12288
part / --fstype=ext4 --grow --size=200



5. Now share following directories with NFS

vi /etc/exports

/media/RED_HAT/ *(ro,insecure,no_root_squash)
/export/kickstart *(ro,insecure,no_root_squash)


6. Configure dhcp services as stated below

vi /etc/dhcp/dhcpd.conf

always-reply-rfc1048 true;
allow bootp;
deny unknown-clients;
not authoritative;
default-lease-time 600;
max-lease-time 7200;
ddns-update-style none;
subnet netmask {

host client1 {
hardware ethernet aa:d7:3d:3c:df:5;
filename "yaboot";


7. You must copy /var/lib/tftpboot/etc/yaboot.conf file to 01-mac-address-of-client-machine

cp -p /var/lib/tftpboot/etc/yaboot.conf 01-aa-d7-3d-3c-df-5

8. Start NFS and DHCP Service

chkconfig dhcpd on
chkconfig nfs on

service dhcpd start
service nfs start

9. Boot IBM blade from network to start installation

From the SMS menu, set server to perform network boot over ethernet and install host via Kickstart script. If something goes wrong then you must revisit this document and your entire kickstart configuration.
Powered by Blogger.