Create or download a zImage with NFS support

You must create or download a zImage with an initial RAM disk (initrd) that supports booting from NFS and install it.

For Fedora 7, you can download the zImage from the BSC Web site. The full URL is: http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.0/zImage.initrd-2.6.22-5.20070920bsc.

For Red Hat Enterprise Linux (RHEL) 5.1, you need to create a zImage using the following procedure. This procedure can also be used for Fedora 7 but is not necessary.
  1. Boot the newly-installed Linux® image on your POWER-based system.
  2. If you do not know it, find the kernel version. Type:
    # uname -r
  3. Make sure that BOOTPROTO=dhcp is defined in /etc/sysconfig/network-scripts/ifcfg-eth0 so that the correct boot configuration is stored in the zImage.
  4. Create an initrd in your home directory by typing the following command:
    # mkinitrd --with=tg3 --rootfs=nfs --net-dev=eth0 \ 
      --rootdev=<nfs server>:/<path to nfsroot> ~/initrd-<kernel-version>.img \
      <kernel-version>
    This initrd must be created using the Red Hat Enterprise Linux (RHEL) 5.1 kernel.
  5. Create a zImage that includes the new initial RAM disk (initrd) by issuing a command of this form:
    # mkzimage /boot/vmlinuz-<kernel-version> /boot/config-<kernel-version> \
      /boot/System.map-<kernel-version> <initrd> \
      /usr/share/ppc64-utils/zImage.stub <zImage>
    In the command:
    <kernel-version>
    is the version of your Linux kernel.
    <initrd>
    is the initrd you created in the previous step.
    <zImage>
    is the path and name of the zImage to be created.
    For example, to use an initial RAM disk /boot/initrd-2.6.18-28.el5.img to create a zImage /boot/zImage.initrd-2.6.18-28.el5, type:
    # mkzimage /boot/vmlinuz-2.6.18-28.el5 /boot/config-2.6.18-28.el5 \
      /boot/System.map-2.6.18-28.el5 /boot/initrd-2.6.18-28.el5.img \
      /usr/share/ppc64-utils/zImage.stub /boot/zImage.initrd-2.6.18-28.el5