I am new to Linux. I am compiling Linux kernel (ver: 220.127.116.11) in gcc in traditional manner in VMware machine in Ubuntu (kernel version - 2.6.38-8-generic) 11.04 version. I am unable to find, where to update about newly compiled kernel in the
grub.cfg file. I updated the newly created image version name in the existing image. Then VMware didn't able to load new kernel. I have searched in internet but I didn't find. So anyone can help me, to update in the
grub.cfg and to successfully load new kernel. Few things about what I have done:
- Make bzImage to create image file.
- Make modules_install && make install to install modules and then
sudo mkinitramfs -o initramfs.img-2.6.34 2.6.34. Then
sudo gedit grub.cfg. In that at the mementry I updated the version of vmlinuz and initrd from 2.6.38-8 to 18.104.22.168.
This is I have done.