troubleshooting Question

kernel .config changes are not being taken into the initrd file?

Avatar of doolyo
doolyoFlag for Switzerland asked on
LinuxSystem Programming
2 Comments1 Solution284 ViewsLast Modified:
I have a little question.
When I compile my kernel manually with some SATA drivers added as 'y' (built-in) in the .config file, the generated initrd-xx file does not contain these drivers. At least, I cannot boot from such an initrd on another mainboard (with the sata_via chipset).
However, if I add the driver as "alias scsi_hostadapter sata_via" in the /etc/modprobe.conf file, then when compiling or generating the initrd, the hard disk boots up fine on the other server.
Can anyone explain to me why this is the case? I would have expected the initrd-xx to contain the sata_via driver if it was chosen in the .config file, isnt' it the case?

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros