13.07.2013 Views

The IBM eServer BladeCenter JS20 - IBM Redbooks

The IBM eServer BladeCenter JS20 - IBM Redbooks

The IBM eServer BladeCenter JS20 - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

5. After you compile the kernel, create the initial RAM disk. Both Red Hat and<br />

SuSE ship with a command called mkinitrd for this purpose. However, the<br />

syntax for each is slightly different, as shown in Example 6-5 and<br />

Example 6-6.<br />

Example 6-5 mkinitrd for Red Hat<br />

# cd arch/ppc64/boot<br />

# mkinitrd -f ramdisk.image 2.4.21-15.ELcustom<br />

# gzip ramdisk.image<br />

# cd /usr/src/linux-2.4<br />

# make zImage.initrd<br />

Example 6-6 mkinitrd for SuSE<br />

# make install<br />

# mkinitrd<br />

# cd arch/ppc64/boot/<br />

# cp /boot/initrd-2.6.5-7.39-pseries64 ramdisk.image<br />

# gzip ramdisk.image<br />

# cd /usr/src/linux<br />

# make zImage.initrd<br />

Attention: <strong>The</strong> file names referred to are all relative to the kernel version<br />

strings within the Makefile for the kernel. <strong>The</strong> files on your system may be<br />

different.<br />

After you complete these steps, you should have a bootable zImage.initrd file in<br />

/boot/ppc64/.<br />

6.2 Configuring BOOTP and TFTP<br />

<strong>The</strong>re are three steps to network booting a POWER/PowerPC-based server.<br />

1. Perform a Power On Self Test (POST) and then receive BOOTP information<br />

from BOOTP server, including the IP, Trivial File Transfer Protocol (TFTP)<br />

server IP, and zImage.initrd file name.<br />

2. TFTP server sends the zImage.initrd file.<br />

3. <strong>The</strong> server boots using the zImage.initrd file.<br />

Both RHEL and SLES ship with Dynamic Host Configuration Protocol (DHCP)<br />

and TFTP packages. Ensure that you have installed the appropriate RPMs.<br />

Chapter 6. Installing Linux 109

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!