[opensuse-kernel] mkinitrd script
Hallo, wenn i compile multiple different kernel versions on OpenSuSE_11.1 box and then call: mkinitrd -k bla.img -i bla.rd -m "blub1 blub2 blub3" -M /usr/src/linux-XXX/System.map , i become a monstrous initial RAM-disk file with modules for all kernel versions found in /lib/modules !!! I want just a handy initrd with only modules matching my kernel bla.img . I think there is a bug in mkinitrd-scripts. Best regards Sergei Kanevski -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
Sergei Kanevski napsal(a):
Hallo,
wenn i compile multiple different kernel versions on OpenSuSE_11.1 box and then call: mkinitrd -k bla.img -i bla.rd -m "blub1 blub2 blub3" -M /usr/src/linux-XXX/System.map, i become a monstrous initial RAM-disk file with modules for all kernel versions found in /lib/modules !!! I want just a handy initrd with only modules matching my kernel bla.img . I think there is a bug in mkinitrd-scripts.
When I run
# mkinitrd -k bla.img -i bla.rd -m "blub1 blub2 blub3" -M \
/usr/src/linux-XXX/System.map, it says
No kernel image /boot/bla.img found
:)
Can you post here the full command, its output and the output of
'lsinitrd' on the created image? As you said that it copies modules for
all kernel versions, it _could_ be (although quite unlikely) that
mkinitrd fails to detect the version of the kernel image. What does
# get_kernel_version /boot/
participants (2)
-
Michal Marek
-
Sergei Kanevski