Re: Linux and Initrd used to access disk : how does it work ?

From: Brian Gerst
Date: Tue May 24 2005 - 10:21:50 EST


Paul Rolland wrote:
Hello,

I've been fighting for a few days with binary modules from some manufacturer
for hardware support of disk controler, and I'm at a point where I need
some more understanding.

1 - My machine contains an Adaptec SATA Raid based on Marvel 88SX60xx
so I need to used the aar81xxx binary module,

2 - This module is presented as required to access the disk (when installing a RH kernel, it says that no disk is present unless the
module is loaded),

3 - When booting the kernel from disk after installation, the module is loaded so the machine can access the disk...

... BUT ... how can the machine /
- boot the kernel,
- access the initrd image and uncompress it,
- read the binary module inside and load it
BEFORE loading the module itself, if it is mandatory to access the disk.

And if it is not, then how can I do the installation ?

I suspect this should be fairly trivial, but I've been thinking about
for long, and it looks like chicken and egg to me...

Any help ?

The kernel and initrd images are loaded by the bootloader (grub, lilo, etc.), which uses the BIOS to read from the disk. So as long as your controller has BIOS support you should be ok.

--
Brian Gerst
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/