-   Linux - Software (
-   -   mkinitrd command (

shanenin 02-23-2005 12:41 PM

mkinitrd what kernel version?
I was going to make a ram disk using the mkinitrd command. I am not sure about the kernel version info I need to include
here is my example
mkinitrd -o 2.6.8

or do I need to do

mkinitrd -o 2.6.8-0223

do I need to include my extraversion info(0223) from my kernel make file?

doublejoon 02-23-2005 12:53 PM

it really up to can name it what you want as long as you have .img at the end of the name

just make sure when you copy it to /boot and edit /boot/grub/menu.lst file the name is exactly as you named it

/bin/bash 03-06-2005 08:38 AM

It's true that you can name the image anything you want to call it but the kernel version should match the module tree. Look in /lib/modules and if your module tree is 2.6.8-0223 then that is what you have to use in mkinitrd. The module tree should match the output of the command uname -r so that is another way you could check.

All times are GMT -5. The time now is 12:22 PM.