Install kernel 2.6.11.12 in Ubuntu

overflow_ overflow_ at libero.it
Thu Mar 19 16:46:52 UTC 2009


I have downloaded yaird, because I didn't find mkinitrd for Ubuntu
now I don't have this error anymore

Could not find mkinitrd mkinitrd.yaird. at /var/lib/dpkg/tmp.ci/preinst line
238, <STDIN> line 9.

but I have this one
-----------------------------------------------
root at enrico-desktop:/usr/src/untitled folder# dpkg -i
linux-image-2.6.11.12-2.6.11.12-di-enrico_2.6.11.12-2.6.11.12-di-enrico-10.00.Custom_i386.deb
(Reading database ... 120568 files and directories currently installed.)
Preparing to replace linux-image-2.6.11.12-2.6.11.12-di-enrico
2.6.11.12-2.6.11.12-di-enrico-10.00.Custom (using
linux-image-2.6.11.12-2.6.11.12-di-enrico_2.6.11.12-2.6.11.12-di-enrico-10.00.Custom_i386.deb)
...
Done.
Unpacking replacement linux-image-2.6.11.12-2.6.11.12-di-enrico ...
Running postrm hook script /sbin/update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.27-7-generic
Found kernel: /boot/vmlinuz-2.6.11.12-2.6.11.12-di-enrico
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done

Setting up linux-image-2.6.11.12-2.6.11.12-di-enrico
(2.6.11.12-2.6.11.12-di-enrico-10.00.Custom) ...
Running depmod.
Finding valid ramdisk creators.
Using mkinitrd.yaird to build the ramdisk.
yaird error: bad device link in /sys/block/sda (fatal)
mkinitrd.yaird failed to create initrd image.
Failed to create initrd image.
dpkg: error processing linux-image-2.6.11.12-2.6.11.12-di-enrico
(--install):
 subprocess post-installation script returned error exit status 9
Errors were encountered while processing:
 linux-image-2.6.11.12-2.6.11.12-di-enrico
-----------------------------------------------

..in particular
yaird error: bad device link in /sys/block/sda (fatal)

How could I fix it?

Thanks,
Enrico




overflow_ wrote:
> 
> hello to everybody
> 
> I have compiled the kernel 2.6.11.12 downoaded from kernel.org.
> I have already added the patch patch
> http://www.kernel.org/pub/linux/devel/binutils/linux-2.6-seg-5.patch 
> then I compiled right 
> [quote]
> make-kpkg clean
> fakeroot make-kpkg -initrd --append-to-version=-2.6.11.12-di-enrico
> kernel_image kernel_headers
> [/quote]
> 
> And I got the .dev files (image and header)
> 
> Then I have tried to install them
> [quote]
> dpkg -i linux-image-2.6.18.1-custom_2.6.18.1-custom-10.00.Custom_i386.deb
> [/quote]
> 
> but I get this error
> [quote]
> root at enrico-desktop:/usr/src/untitled folder# dpkg -i
> linux-image-2.6.11.12-2.6.11.12-di-enrico_2.6.11.12-2.6.11.12-di-enrico-10.00.Custom_i386.deb
> (Reading database ... 120290 files and directories currently installed.)
> Preparing to replace linux-image-2.6.11.12-2.6.11.12-di-enrico
> 2.6.11.12-2.6.11.12-di-enrico-10.00.Custom (using
> linux-image-2.6.11.12-2.6.11.12-di-enrico_2.6.11.12-2.6.11.12-di-enrico-10.00.Custom_i386.deb)
> ...
> Could not find mkinitrd mkinitrd.yaird. at /var/lib/dpkg/tmp.ci/preinst
> line 238, <STDIN> line 9.
> Done.
> Unpacking replacement linux-image-2.6.11.12-2.6.11.12-di-enrico ...
> Running postrm hook script /sbin/update-grub.
> Searching for GRUB installation directory ... found: /boot/grub
> Searching for default file ... found: /boot/grub/default
> Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
> Searching for splash image ... none found, skipping ...
> Found kernel: /boot/vmlinuz-2.6.27-7-generic
> Found kernel: /boot/vmlinuz-2.6.11.12-2.6.11.12-di-enrico
> Found kernel: /boot/memtest86+.bin
> Updating /boot/grub/menu.lst ... done
> 
> Setting up linux-image-2.6.11.12-2.6.11.12-di-enrico
> (2.6.11.12-2.6.11.12-di-enrico-10.00.Custom) ...
> Running depmod.
> Finding valid ramdisk creators.
> Failed to find suitable ramdisk generation tool for kernel version
> 2.6.11.12-2.6.11.12-di-enrico on running kernel 2.6.27-7-generic in
> mkinitrd mkinitrd.yaird
> dpkg: error processing linux-image-2.6.11.12-2.6.11.12-di-enrico
> (--install):
>  subprocess post-installation script returned error exit status 9
> Errors were encountered while processing:
>  linux-image-2.6.11.12-2.6.11.12-di-enrico
> [/quote]
> 
> Is there someone that have an idea of what I wrong??
> do I have to install mkinitrd?
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Install-kernel-2.6.11.12-in-Ubuntu-tp22601375p22604122.html
Sent from the ubuntu-users mailing list archive at Nabble.com.





More information about the ubuntu-users mailing list