- Code: Select all
$ make bzImage && make modules
$ su -
# cd to my build directory
# make modules_install
# make install
This all seems to work. The /boot directory contains the new kernel and /boot/grub/menu.lst is updated with an entry to boot the new kernel. However, it can be seen the initrd image is 6 times as large as a standard initrd image at 36MB. When I attempt to boot the new kernel, there is a long delay perhaps 20 minutes of blank screen before the kernel continues to the end of the boot sequence. I guess that the kernel struggles to extract the initrd image into a tmpfs filesystem.
I have uncompressed the initrd image and compared it to the contents of a Mageia initrd and I determined that my initrd image contains non-compressed kernel modules .ko. In the Mageia initrd image, the kernel modules are .ko.xz.
Does anyone know how the kernel modules become compressed as .ko.xz. Is it something to do with dracut ?
I have successfully built the new kernel using Mandriva 2010.2 and the initrd image is about 6MB as expected. Therefore, I suspect there is an issue in my Mageia 2 environment. Perhaps I have not installed something ?
TIA.