LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-21-2010, 05:10 AM   #1
aicrop
LQ Newbie
 
Registered: Jul 2010
Location: Phlippines
Distribution: CentOS
Posts: 14

Rep: Reputation: 0
[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
 
Old 08-21-2010, 05:52 AM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

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

Last edited by smoker; 08-21-2010 at 05:54 AM.
 
Old 08-21-2010, 05:56 AM   #3
aicrop
LQ Newbie
 
Registered: Jul 2010
Location: Phlippines
Distribution: CentOS
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by smoker View Post
Are you running as root ? Only root has those commands in it's path. Try /sbin/mkinitrd
yes I'm working as a root.
 
Old 08-21-2010, 06:08 AM   #4
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 248Reputation: 248Reputation: 248
Well there is this post, which may be relevant. Also this.

Last edited by smoker; 08-21-2010 at 06:09 AM.
 
Old 08-21-2010, 07:28 PM   #5
dklima
LQ Newbie
 
Registered: Aug 2010
Location: Curitiba / PR / Brazil
Distribution: Red Hat
Posts: 2

Rep: Reputation: 1
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
 
Old 08-21-2010, 09:33 PM   #6
aicrop
LQ Newbie
 
Registered: Jul 2010
Location: Phlippines
Distribution: CentOS
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by dklima View Post
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
 
Old 08-21-2010, 11:10 PM   #7
dklima
LQ Newbie
 
Registered: Aug 2010
Location: Curitiba / PR / Brazil
Distribution: Red Hat
Posts: 2

Rep: Reputation: 1
 
  


Reply

Tags
centos, depmod, kernel, mkinitrd, redhat


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
sudo mkinitrd -o /boot/initrd.img-2.6.32.9 2.6.32.9 sudo: mkinitrd: command not foun vishwas181 Linux - Newbie 1 02-27-2010 01:16 AM
Version requires old depmod, but couldn't run /sbin/depmod.old: No such file or dir jiobo Linux - Software 0 12-04-2008 02:53 AM
bash: mkinitrd: command not found luckybtn Linux From Scratch 3 08-15-2008 09:26 AM
depmod -a :command not found. Sound problem Greenhorn Linux - Newbie 4 10-24-2002 10:32 PM
depmod -ae says "command not found" oliver24 Linux - General 5 02-23-2002 10:04 PM


All times are GMT -5. The time now is 08:19 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration