Testing Initrd on Machine

It is very easy to test if the compiled and initrd images work on your computer by letting your bootloader (grub) try to load the kernel and initrd. First, move or copy the compiled kernel, vmlinuz-2.6.9-small, and the initrd image, initrd-small.img, both to the /boot/ directory. Then go to /boot/grub/grub.conf and edit it by adding another option:

title SLS
root (hd0,1)
kernel /vmlinuz-2.6.9-small
initrd /initrd-small.img

This addition assumes that your /boot directory is located on the hda1 partition. You can find out what it is in your case by the command "df". If everything goes as planned, your grub menu will have a new choice for SLS, and it should boot the filesystem found in the initrd image. Wonderful