Results 1 to 8 of 8

Thread: Compiling kernel gave at end: "Please manually create an initrd image"

  1. #1
    Join Date
    Feb 2007
    Beans
    150

    Compiling kernel gave at end: "Please manually create an initrd image"

    Hello all,

    I have ubuntu 8.10 on AMD64, and an unsupported dvb-s card, and a patch for the card against 2.6.27.10.

    I downloaded the kernel >> applied patch >> configure >> compile.
    I followed the official documentation here

    finally, the deb packages are created ..

    * linux-xenu-2.6.27.10_2.6.27.10-10.00.Custom_amd64.deb
    * linux-headers-2.6.27.10_2.6.27.10-10.00.Custom_amd64.deb

    I installed the "linux-xenu".. succeeded but it gave me:
    "Please manually create an initrd image"

    then I installed the "linux-headers" .. successfully.


    Nothing was changed in my grub menulst, and of course , no initrd was created.

    I googled but knew that I need: mkinitrd, which is not found through apt-get ..

    Does any1 have a clue?

    Thanks in advance,
    Tarek

  2. #2
    Join Date
    Mar 2007
    Location
    Melbourne, FL
    Beans
    99
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Compiling kernel gave at end: "Please manually create an initrd image"

    I did find this by searching for initrd.img that may be of some use http://kerneltrap.org/node/7019

    I haven't done anything like this since I gave up on Mandrake... a long, long time ago. Beyond this I cannot offer any more help.
    Disclaimer: Aint nuthin right in my left brain and nuthin left in the right

  3. #3
    Join Date
    Feb 2007
    Beans
    150

    Re: Compiling kernel gave at end: "Please manually create an initrd image"

    Quote Originally Posted by raptor2552 View Post
    I did find this by searching for initrd.img that may be of some use http://kerneltrap.org/node/7019

    I haven't done anything like this since I gave up on Mandrake... a long, long time ago. Beyond this I cannot offer any more help.
    thanks ... I shall try this one, instead of mkinitrd

  4. #4
    Join Date
    Feb 2007
    Beans
    150

    Re: Compiling kernel gave at end: "Please manually create an initrd image"

    No, this did not do the trick !

  5. #5
    Join Date
    Jan 2007
    Location
    $here ? $here : $there
    Beans
    3,717
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Compiling kernel gave at end: "Please manually create an initrd image"

    Try:

    Code:
    sudo mkinitramfs -c whatever-you-called-the-kernel
    For example:

    Code:
    sudo mkinitramfs -c 2.6.27.10-custom
    Don't try to make something "fast" until you are able to quantify "slow".

  6. #6
    Join Date
    Jun 2009
    Beans
    9

    Re: Compiling kernel gave at end: "Please manually create an initrd image"

    Did this get solved? I have exactly the same problem. As I understand make-kpkg should make a binary that contains the initrd image, but mine doesn't seem to be doing this. I far as know, I've gone through all the kernel building steps carefully, but I'm stuck here as well.

    Any advice on how this got solved would be awesome.

    Thanks,

    Elliott

  7. #7
    Join Date
    Apr 2007
    Beans
    10

    Re: Compiling kernel gave at end: "Please manually create an initrd image"

    In fact you also need the -o option to specify where you want to write the initrd image to. So:

    Code:
    sudo mkinitramfs -o /boot/initrd.img-2.6.27.10-custom -c 2.6.27.10-custom
    You will also need to create a boot menu entry for it. Open /boot/grub/menu.lst and head to the bottom. You can use one of the existing entries as a template. If you make it the first entry immediately after ## ## End Default Options ## then it will get booted automatically. If you make a typo while creating the entry you will see

    Code:
    Error 15: File not found
    When the machine boots.

  8. #8
    Join Date
    Oct 2009
    Beans
    1

    Re: Compiling kernel gave at end: "Please manually create an initrd image"

    Get problem solved yet?

    Please update. Have quite the same problem.

Bookmarks

Posting Permissions

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