30.2.3. 配置 Power Systems 服务器
- 如果还没有安装 tftp-server,请运行
yum install tftp-server。 - In the tftp-server config file at
/etc/xinetd.d/tftp, change thedisabledparameter fromyestono. - Configure your DHCP server to use the boot images packaged with yaboot. (If you do not have a DHCP server installed, refer to the DHCP Servers chapter in the Red Hat Enterprise Linux Deployment Guide.)
/etc/dhcp/dhcpd.conf中的示例配置如下:host bonn { filename "yaboot"; next-server 10.32.5.1; hardware ethernet 00:0e:91:51:6a:26; fixed-address 10.32.5.144; } - 现在需要 ISO 映像文件中
yaboot软件包中的yaboot二进制文件。要访问该文件,请作为 root 运行以下命令:mkdir /publicly_available_directory/yaboot-unpack mount -t iso9660 /path_to_image/name_of_image.iso /mount_point -o loop,ro cp -pr /mount_point/Packages/yaboot-version.ppc.rpm /publicly_available_directory/yaboot-unpack提取软件包:cd /publicly_available_directory/yaboot-unpack rpm2cpio yaboot-version.ppc.rpm | cpio -dimv - 在
tftpboot中生成yaboot目录,并将yaboot二进制文件复制到该目录中:mkdir /var/lib/tftpboot/yaboot cp publicly_available_directory/yaboot-unpack/usr/lib/yaboot/yaboot /var/lib/tftpboot/yaboot - 在这个目录中添加名为
yaboot.conf的配置文件。示例配置文件如下:init-message = "\nWelcome to the Red Hat Enterprise Linux 6 installer!\n\n" timeout=60 default=rhel6 image=/rhel6/vmlinuz-RHEL6 label=linux alias=rhel6 initrd=/rhel6/initrd-RHEL6.img append="repo=http://10.32.5.1/mnt/archive/redhat/released/RHEL-6/6.x/Server/ppc64/os/" read-only关于如何指定安装源的步骤,请参考 第 7.1.3 节 “其他引导选项”。 - 从提取的 ISO 中将引导映像复制到
tftp根目录:cp /mount_point/images/ppc/ppc64/vmlinuz /var/lib/tftpboot/yaboot/rhel6/vmlinuz-RHEL6 cp /mount_point/images/ppc/ppc64/initrd.img /var/lib/tftpboot/yaboot/rhel6/initrd-RHEL6.img - 删除
yaboot-unpack目录并卸载 iSO 进行清理:rm -rf /publicly_available_directory/yaboot-unpack umount /mount_point - Boot the client system, and select the network device as your boot device when prompted.