LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   [HELP] depmod and mkinitrd command not found (http://www.linuxquestions.org/questions/linux-newbie-8/%5Bhelp%5D-depmod-and-mkinitrd-command-not-found-827612/)

aicrop 08-21-2010 05:10 AM

[HELP] depmod and mkinitrd command not found
 
Hello Guys!


I'm trying to recompile my linux kernel -2.6.32.5 version in Centos OS platform

and when I type these commands:

Quote:

depmod 2.6.30.5-fogonacaixadagua
Quote:

mkinitrd -v /boot/initrd-2.6.30.5-fogonacaixadagua.img 2.6.30.5-fogonacaixadagua
This is the link of the Guide that I'm trying to follow:
is there any packages in order for me use depmod and mkinitrd?or download it using yum?

~Esonz

smoker 08-21-2010 05:52 AM

Are you running as root ? Only root has those commands in it's path. Try /sbin/mkinitrd

aicrop 08-21-2010 05:56 AM

Quote:

Originally Posted by smoker (Post 4073193)
Are you running as root ? Only root has those commands in it's path. Try /sbin/mkinitrd

yes I'm working as a root.

smoker 08-21-2010 06:08 AM

Well there is this post, which may be relevant. Also this.

dklima 08-21-2010 07:28 PM

To install mkinitrd use the command:

Code:

yum install mkinitrd
To install depmod:

Code:

yum install module-init-tools
And you are good to go :)

aicrop 08-21-2010 09:33 PM

Quote:

Originally Posted by dklima (Post 4073672)
To install mkinitrd use the command:

Code:

yum install mkinitrd
To install depmod:

Code:

yum install module-init-tools
And you are good to go :)


are you fogonacaixadagua?? haha thats weird thanks again bro:)

dklima 08-21-2010 11:10 PM

:cool:


All times are GMT -5. The time now is 11:45 AM.