Centos 6 - How to upgrade module located inside initramfs?
        Posted  
        
            by 
                anonymous-one
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by anonymous-one
        
        
        
        Published on 2012-06-17T18:20:37Z
        Indexed on 
            2012/06/17
            21:18 UTC
        
        
        Read the original article
        Hit count: 302
        
We have recently upgraded our e1000e (intel ethernet) module on one of our centos 6.0 boxes.
Even tho the module compile and installed fine, the old version is still being used.
We have tracked this down to the fact that the e1000e.ko module is located inside the initamfs file for the booting kernel and thus, even tho the module located in /lib/modules/.... was being updated, the old one is still being loaded from inside the initramfs file.
After some research, we have found that creating a new initamfs file in centos should be as simple as:
/sbin/dracut <initramfs> <kernel-version>
Can someone confirm that this is a safe way to basically recreate the initamfs file?
This is a non-locally hosted (1000's of km away...) box, and getting support to resolve this if a reboot is unsuccessful will lead to quite a bit of down time.
Thanks.
© Server Fault or respective owner