Web page hosting, cheap domain name & website promotion services
  

 Home

Red Hat Linux 7.2: The Official Red Hat Linux Customization Guide
PrevAppendix A. Building a Custom KernelNext

Making an initrd Image

An initrd image is needed for loading your SCSI module at boot time. If you do not need an initrd image, do not make one and do not edit lilo.conf or grub.conf to include this image.

The /sbin/mkinitrd shell script can build a proper initrd image for your machine if the following conditions are met:

  • The loopback block device is available.

  • The /etc/modules.conf file has a line for your SCSI adapter; for example:
    alias scsi_hostadapter BusLogic

To build the new initrd image, run /sbin/mkinitrd with parameters such as this:

/sbin/mkinitrd /boot/initrd-2.4.7-3-jul2001.img 2.4.7-3-jul2001

In the above example, /boot/initrd-2.4.7-3-jul2001.img is the filename of the new initrd image. 2.4.7-3-jul2001 is the kernel whose modules (from /lib/modules) should be used in the initrd image. This is not necessarily the same as the version number of the currently running kernel.


PrevHomeNext
Building a Custom KernelUpConfiguring the Boot Loader
 

 

 

 

Seosubmit.com: Web site promotion | Domain register and transfer | Buy cheap domain name 

Disclaimer: For authoritative source or latest update to this documentation, please refer to http://www.redhat.com/docs/manuals/linux/

 

 
Quotes: The spirit, the will to win, and the will to excel are the things that endure. These qualities are so much more important than the events that occur.