Hi,

Thanks for your help.

I tried your command:

mkinitramfs-kpkg -o /boot/initrd.img-2.6.27.4 2.6.27.4

An error occured:
cp: operand of the target file missing after `/tmp/tmp.XXXXmDVe5B/sbin/'

I really don't know how to solve the problem.


Then I tried to use the image of the previous kernel 2.6.26.2 to launch 2.6.27.4. There is no more Kernel panic but an error saying the lib/modules/2.6.27.4/ directory doesn't exist. I don't understand this error at all cause I checked and this directory actually exists.

Eric

2009/5/12 Bjoern Heller <mailinglists@hellercom.de>
Hi,

that should fix it ;)

If anything is wrong in the tutorial tell me please.
For me everything worked on both etch and lenny.
I used standard netinstall...

Björn

Am 11.05.2009 um 17:26 schrieb Marcel Klein:

Eric Cathelinaud wrote:
[...] In /boot directory, I have initdr files only for 2.6.26.2 and
2.6.26.1.

Sorry I am quite weak concerning the kernel. Can anyone help me?

Then just use mkinitramfs-kpkg to build a new initrd for your build.

ex: $ mkinitramfs-kpkg -o /boot/initrd.img-2.6.27.4 2.6.27.4

title           Debian GNU/Linux, kernel X
root            (hd0,0)
kernel          /vmlinuz-X
initrd          /initrd.img-X

and so on...


     kenny_


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Björn Heller