LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mkinitrd (https://www.linuxquestions.org/questions/linux-newbie-8/mkinitrd-832727/)

Abid Malik 09-16-2010 11:42 PM

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.

tommcd 09-16-2010 11:49 PM

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!

Abid Malik 09-17-2010 12:50 AM

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

mcs_o8_01 09-17-2010 12:54 AM

mkinitrd
 
what distro are using??

prayag_pjs 09-17-2010 01:05 AM

Install below rpm if you using centos or fedora

rpm dracut-005-3.fc13.noarch

sem007 09-17-2010 02:55 AM

Quote:

Originally Posted by Abid Malik (Post 4100116)
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,

sem007 09-17-2010 02:58 AM

Quote:

Originally Posted by prayag_pjs (Post 4100187)
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,

CincinnatiKid 09-17-2010 07:35 AM

@ 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.

GazL 09-17-2010 07:43 AM

Quote:

Originally Posted by lewisforlife (Post 4100539)
@ 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.

tommcd 09-17-2010 10:45 PM

Quote:

Originally Posted by lewisforlife (Post 4100539)
@ 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


All times are GMT -5. The time now is 06:56 AM.