LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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-16-2010, 11:42 PM   #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 01:58 AM.
 
Old 09-16-2010, 11:49 PM   #2
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
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-16-2010 at 11:51 PM.
 
Old 09-17-2010, 12: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, 12:54 AM   #4
mcs_o8_01
Member
 
Registered: Jul 2010
Posts: 42

Rep: Reputation: 1
mkinitrd

what distro are using??
 
Old 09-17-2010, 01:05 AM   #5
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
Thumbs up

Install below rpm if you using centos or fedora

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

Rep: Reputation: 113Reputation: 113
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, 02:58 AM   #7
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 113Reputation: 113
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 02:59 AM. Reason: typo
 
Old 09-17-2010, 07:35 AM   #8
CincinnatiKid
Member
 
Registered: Jul 2010
Posts: 454

Rep: Reputation: 47
@ 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, 07:43 AM   #9
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,912

Rep: Reputation: 5032Reputation: 5032Reputation: 5032Reputation: 5032Reputation: 5032Reputation: 5032Reputation: 5032Reputation: 5032Reputation: 5032Reputation: 5032Reputation: 5032
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 07:45 AM.
 
Old 09-17-2010, 10:45 PM   #10
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
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 10:50 PM.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:21 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
Open Source Consulting | Domain Registration