mkinitrd

Discussion in 'Kernel Questions' started by linuxgizmo, Apr 9, 2010.

  1. linuxgizmo

    linuxgizmo New Member

    i successfully installed my rpm kernel as per instructions (Howtoforge,compile kernel the mandriva way) now im in the stage of creating a ramdisk for newly installed kernel, but when i excute the command mkinitrd /boot/initrd-2.6.31.5-default-1mnb.img 2.6.31.5-default, it gives a message saying "no modules available for kernel "2.6.31.5-default",

    im using Mandriva 2010, please help me im stuck, thanks in advance
     
  2. Mark_NL

    Mark_NL Member

    Whats the result of:
    Code:
    ls -al /lib/modules
     
  3. linuxgizmo

    linuxgizmo New Member

    ls -al /lib/modules

    these are the result,

    2.6.31.5-1mnbcustom-default/ 2.6.31.5-server-1mnb/

    Thanks for the reply:)
     
  4. Mark_NL

    Mark_NL Member

    Then your command should be

    mkinitrd /boot/initrd-2.6.31.5-default-1mnb.img 2.6.31.5-1mnbcustom-default

    or

    mkinitrd /boot/initrd-2.6.31.5-default-1mnb.img 2.6.31.5-server-1mnb
     
  5. linuxgizmo

    linuxgizmo New Member

    wow, that works, hehe, now i installed NVIDIA driver, and configured compiz, thank you very much:)
     

Share This Page