Compiling kernel: Kernel panic...

Markus Kolb ubuntu-ml at tower-net.de
Sun Dec 26 17:51:33 UTC 2004


On 26.12.2004 17:51, pjd schrieb:
> Ok, I've now fixed my problem, the wiki that I was following doesn;t
> mention that you need to do mkinitrd - $image_name $kernel_version and
> then add an initrd line to menu.lst. Even though the wiki uses
> make-kpkg this doesn't seem to do initrd stuff for you (or I'm just
> missing something at the moment) whereas other wikis that cover kernel
> compiling use dpkg-buildpackage which seems to setup initrd
> automagically.
> 
> I shall attempt to update the wiki that I followed later.

There is a switch for make-kpkg:

--initrd  Create a image package suitable for initrd  for kernel
           sources that have been patched with the cramfs patch.

If I remember right the rules file when using dpkg-buildpackage uses 
that switch when calling make-kpkg.

Markus




More information about the ubuntu-users mailing list