You have to make an initimg or compile the driver into the kernel.
To make an initimg, go to /boot/.
Then type:
Code:
# mkinitrd /boot/initrd-2.6.12.5.img 2.6.12.5
It should automagically put the sata drivers in the image. Then you need to edit your bootloader. I run grub so here's what your kernel entry should look like:
Code:
title sohmc brew (2.6.12.2)
root (hd0,0)
kernel /boot/vmlinuz-2.6.12.2-sohmc ro root=/dev/sda1
initrd /boot/initrd-2.6.12.2-sohmc.img
for the curious: an initimg will preload needed modules to mount the root directory. I'm not exactly sure how initimg works, but it will load the necessary modules into an image that the preloader mounts to get the modules. Once the modules are loaded, the image is unloaded and the system continues to load the kernel as normal.
I usually suggest people to compile the drivers to reach the root directory into the kernel, but some may not want to do this because it significantly increases the size of the kernel. I perfer the compiled-in method, only because it's a bit faster, and I'm not running linux off a floppy.