Find the answer to your Linux question:
Results 1 to 3 of 3
i have installed fedora 12 and kernel version is 2.6.31.XXx and also download a kernel 2.6.30 and made some changes wiht make menuconfig then make and make install. this creates ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2009
    Posts
    10

    why can't we use old initrd image file?


    i have installed fedora 12 and kernel version is 2.6.31.XXx and also download a kernel 2.6.30 and made some changes wiht make menuconfig
    then make
    and make install. this creates a vmlinuz file in /boot but no initrd file file will be created . so i manually edited menu.lst file and added new entry with my new vmlinz and initrd of currently running kernel i.e old initrd file.

    this gives a kernel panic message.. what is wrong with this?

  2. #2
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    1,168
    Your initrd image must match your kernel. To make a new one, you can use the mkinitrd command.
    "I'm just a little old lady; don't try to dazzle me with jargon!"

  3. #3
    Just Joined!
    Join Date
    Feb 2010
    Location
    Bangalore
    Posts
    2
    Hai rakesh,

    initrd image is nothing but a set of module image to be present in the memory during boot time. so that if anything goes wrong in kernel diagloue or initrd image file, you might get kernel panic error. i hope that you might ge the following error:

    error 15: file not found.
    For this kind of errors, you suppose to rebuild the initrd image as hazel said.

    Please kept it this the initrd version and the kernel version should similar. each kernel should have its appropriate initrd image.
    I hope that you may get clear idea.

    reply back if you need more info, and valuable suggestion from other members are also welcome.
    Thanking you

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •