LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 09-17-2010, 12:42 AM   #1
Abid Malik
LQ Newbie
 
Registered: Sep 2010
Posts: 25

Rep: Reputation: -1
mkinitrd


Hello Everyone!
I am using ubuntu 10.04 version.

# mkinitrd -o initrd.img-2.6.25 2.6.25

it give the result as

mkinitrd: commong not found.

what should i do now. I tried to install the package initrd-tools, but actually i could not. Please me to solve this problem.

Last edited by Abid Malik; 09-17-2010 at 02:58 AM.
 
Old 09-17-2010, 12:49 AM   #2
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 291Reputation: 291Reputation: 291
What distro are you using?
Most distros that need an initrd will automatically create one when you install them. For Slackware, you need to make your own initrd for booting the generic kernel as per the instructions in the /boot/README.initrd file.
So post back with what distro you are using, and why you need to make your own initrd???

And welcome to the LQ forums!

Last edited by tommcd; 09-17-2010 at 12:51 AM.
 
Old 09-17-2010, 01:50 AM   #3
Abid Malik
LQ Newbie
 
Registered: Sep 2010
Posts: 25

Original Poster
Rep: Reputation: -1
mkinitrd

I do not understan any thing. Please help me out how to install mkinitrd commond.

initrd-tools is also not installing.

thanks for reply
 
Old 09-17-2010, 01:54 AM   #4
mcs_o8_01
Member
 
Registered: Jul 2010
Posts: 42

Rep: Reputation: 1
mkinitrd

what distro are using??
 
Old 09-17-2010, 02:05 AM   #5
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
Thumbs up

Install below rpm if you using centos or fedora

rpm dracut-005-3.fc13.noarch
 
Old 09-17-2010, 03:55 AM   #6
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 111Reputation: 111
Quote:
Originally Posted by Abid Malik View Post
Hello Everyone!
I am using ubuntu 10.04 version.

# mkinitrd -o initrd.img-2.6.25 2.6.25

it give the result as

mkinitrd: commong not found.

what should i do now. I tried to install the package initrd-tools, but actually i could not. Please me to solve this problem.
In ubuntu mkinitramfs command is used instead of mkinitrd

Code:
sudo mkinitramfs -o initrd.img-2.6.25 2.6.25
Regards,
 
1 members found this post helpful.
Old 09-17-2010, 03:58 AM   #7
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 111Reputation: 111
Quote:
Originally Posted by prayag_pjs View Post
Install below rpm if you using centos or fedora

rpm dracut-005-3.fc13.noarch
What is does?

How OP install it on ubuntu? As OP's question realeated to Ubuntu.

Regards,

Last edited by sem007; 09-17-2010 at 03:59 AM. Reason: typo
 
Old 09-17-2010, 08:35 AM   #8
CincinnatiKid
Member
 
Registered: Jul 2010
Posts: 431

Rep: Reputation: 33
@ tommcd and mcs_08_01

Please read the OP's post, the OP clearly states what distro he is using:

Quote:
I am using ubuntu 10.04 version.
 
Old 09-17-2010, 08:43 AM   #9
GazL
Senior Member
 
Registered: May 2008
Posts: 4,087
Blog Entries: 1

Rep: Reputation: 1535Reputation: 1535Reputation: 1535Reputation: 1535Reputation: 1535Reputation: 1535Reputation: 1535Reputation: 1535Reputation: 1535Reputation: 1535Reputation: 1535
Quote:
Originally Posted by lewisforlife View Post
@ tommcd and mcs_08_01

Please read the OP's post, the OP clearly states what distro he is using:
Last edited by Abid Malik; Today at 07:58.

Tommcd posted at 5:49. Don't be so quick to criticise. You may not have all the facts.

Last edited by GazL; 09-17-2010 at 08:45 AM.
 
Old 09-17-2010, 11:45 PM   #10
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 291Reputation: 291Reputation: 291
Quote:
Originally Posted by lewisforlife View Post
@ tommcd and mcs_08_01

Please read the OP's post, the OP clearly states what distro he is using:
The OP did not list the distro he is using when I first replied to his post. Note that he edited his post after I responded to it.

Abid Malik,
Anyway, Sem007 listed the correct way to create an initrd in Ubuntu. You can also use
update-initramfs to create a new initrd. See this:
https://help.ubuntu.com/community/Up...0the%20Ramdisk

Last edited by tommcd; 09-17-2010 at 11:50 PM.
 
  


Reply


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 02:16 AM
mkinitrd mlpa Slackware 7 08-29-2009 08:16 AM
how do i get mkinitrd? lowbrow Ubuntu 4 11-09-2007 12:17 PM
Help with mkinitrd paddyjoy Linux - Newbie 2 07-02-2005 08:05 AM
mkinitrd vmniza Linux - General 1 03-10-2004 03:05 AM


All times are GMT -5. The time now is 03:12 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration