Can't find initrd... After compiling & using (Yaird)

Discussion in 'Kernel Questions' started by joelee, Feb 3, 2007.

  1. joelee

    joelee New Member

    I am trying to compile a new kernel (2.6.19-2) from (2.6.8-2) as per this how-to:
    http://how2forge.org/kernel_compilation_debian_p2

    All seems to go well until I try to follow instructions to create ramdisk.

    My last successful step was:
    cd /tmp
    wget http://downloads.howtoforge.com/files/yaird_0.0.12-8bpo1_i386.deb
    * dpkg -i yaird_0.0.12-8bpo1_i386.deb

    After the above command * and according to how-to I should find the new
    initrd.img for the new kernel under /boot... created But, I do not see the new initrd.img - which should be: initrd.img-2.6.19-2-386...

    I tryed to do a find (find / |grep initrd) to see if this file was placed somewhere else and none to be found...

    Some output if it helps:
    /boot# ls -la
    total 8471
    drwxr-xr-x 4 root root 1024 2007-02-02 12:33 .
    drwxr-xr-x 21 root root 1024 2007-02-02 01:45 ..
    -rw-r--r-- 1 root root 68424 2007-02-02 12:37 config-2.6.19.2-default1
    -rw-r--r-- 1 root root 55809 2005-08-16 08:41 config-2.6.8-2-386
    drwxr-xr-x 2 root root 1024 2007-02-02 01:46 grub
    -rw-r--r-- 1 root root 4509696 2007-02-02 01:45 initrd.img-2.6.8-2-386 (Old initrd.img)
    drwxr-xr-x 2 root root 12288 2007-02-02 01:42 lost+found
    -rw-r--r-- 1 root root 766954 2007-02-02 12:28 System.map-2.6.19.2-default1
    -rw-r--r-- 1 root root 865767 2005-08-16 11:14 System.map-2.6.8-2-386
    -rw-r--r-- 1 root root 1249637 2007-02-02 12:28 vmlinuz-2.6.19.2-default1
    -rw-r--r-- 1 root root 1097554 2005-08-16 11:14 vmlinuz-2.6.8-2-386

    Any thouhgts? Thanks in advance for your help!

    Joe
     
    Last edited: Feb 3, 2007
  2. falko

    falko Super Moderator Howtoforge Staff

    It doesn't say you should find the new initrd in /boot, it says you should find the new kernel configuration file in /boot. The initrd has still to be created.
    Please read that section again.
     
  3. joelee

    joelee New Member

    Falko, thanks got it working. Mis-understood the intructions - Joe
     

Share This Page