[arch] (multiple kernels on grub) kernel panic with mkinitcpio -k generated images

brocchini at netseven.it brocchini at netseven.it
Sun Apr 15 15:05:28 EDT 2007


Hi to everybody,

I'm trying to create new kernel26.img specifying which /lib/modules/X
dir to use in order to create a new entry for grub and to be able to
choose which kernel to load at boot time (similar to what happens when
you upgrade your kernel in other distros).

This is what I've done:
cp -a /lib/modules/2.6.20-ARCH to /lib/modules/2.6.20.4-1
depmod 2.6.20.4-1
mkinitcpio -k 2.6.20.4-1 -g /boot/kernel26.img-2.6.20.4-1

edit menu.lst to add an entry for the new image.

All I obtain is a kernel panic as described in my forum topic:
http://bbs.archlinux.org/viewtopic.php?id=31754

Thanks in advance for your help.

Massimiliano Brocchini - Net7







More information about the arch mailing list