LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mkinitrd no modules available for kernel - rhel5 (https://www.linuxquestions.org/questions/linux-newbie-8/mkinitrd-no-modules-available-for-kernel-rhel5-906259/)

trinityforce 10-03-2011 06:15 PM

mkinitrd no modules available for kernel - rhel5
 
I am trying to run mkinitrd on RHEL5. If I use this command mkinitrd -v -f /boot/newinitrd.img $(uname -r) it works, if I use mkinitrd -v -f /boot/newinitrd.img 2.6.18-262.e15 it returns no modules available for kernel???? why can't I use the 2.6.18-262.e15 to get it to work?

details below
uname -r returns 2.6.18-262.e15
ls -l /lib/modules/ returns 2.6.18-262.e15

trinityforce 10-03-2011 09:26 PM

fixed it
 
fix it by using 2.6.18-262.el5 the difference being .el5 (the letter l not the number one in .el5)


All times are GMT -5. The time now is 09:00 PM.