Update in grub.cfg file for loading new kernel image in Ubuntu 11.04

Posted by user1627657 on Super User See other posts from Super User or by user1627657
Published on 2012-08-27T12:43:12Z Indexed on 2012/09/13 3:42 UTC
Read the original article Hit count: 252

Filed under:
|
|
|

I am new to Linux. I am compiling Linux kernel (ver: 2.6.34.12) 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:

  1. Make bzImage to create image file.
  2. Make modules_install && make install to install modules and then
  3. sudo mkinitramfs -o initramfs.img-2.6.34 2.6.34. Then
  4. sudo gedit grub.cfg. In that at the mementry I updated the version of vmlinuz and initrd from 2.6.38-8 to 2.6.34.12.

This is I have done.

© Super User or respective owner

Related posts about file

Related posts about linux-kernel