what is initrd?
Guys,
Anybody could explain me what is initrd? Salu2! |
|
INITRD is initial ramdisk. Basically it is a chicken before the egg solution.
When you boot your computer and the bios starts to load the disk, it has to uncompress the kernel from disk and start to load drivers. Problem was, what if you needed drivers to access the disk? How would one read what is on disk, if you couldn't access the disk without the drivers. A good example is RAID. In certain raid setups, data is striped across multiple disks. Part of the data on one, part on the other. If you don't have the driver to tell the system how raid works, then it will try to access the disk like normal. When it does, it finds the disk is missing half of the striped data. So now with an initrd, we carve out a chunk of ram and make it into a filesystem, and INITRD puts what drivers we need to access the disks there. Using that info we can now access the drives and load the kernel. Phew. I hope I didn't cause more damage than good. See http://www.rt.com/man/initrd.4.html for more info, or just google INITRD. G/L ~ Druisgod |
All times are GMT -5. The time now is 10:33 AM. |