<div> </div>
<div>Hi Srinivas,</div>
<div> </div>
<div>Even doing update-grub command , I was not able to see new menu-entry in /boot/grub/grub.cfg . Somehow , "update-grub" not catching "<font color="#cc0000"><strong>initrd-img-2.6.35.9-custom"</strong> </font><font color="#000000">in the boot</font></div>
<div> </div>
<div><font color="#000000">Any help on this highly appreciated</font></div>
<div> </div>
<div><a href="mailto:root@ubuntu:/boot">root@ubuntu:/boot</a># ls<br>abi-2.6.32-24-generic memtest86+.bin<br>config-2.6.32-24-generic System.map-2.6.32-24-generic<br>config-2.6.35.9 System.map-2.6.35.9<br>
grub vmcoreinfo-2.6.32-24-generic<br>initrd.img-2.6.32-24-generic vmlinuz-2.6.32-24-generic<br><font color="#cc0000"><strong>initrd-img-2.6.35.9-custom</strong></font> vmlinuz-2.6.35.9<br>initrd-img-kernel-2.6.35.9<br>
<a href="mailto:root@ubuntu:/boot">root@ubuntu:/boot</a># update-grub<br>Generating grub.cfg ...<br>Found linux image: /boot/vmlinuz-2.6.35.9<br>Found linux image: /boot/vmlinuz-2.6.32-24-generic<br><strong><font color="#000099">Found initrd image: /boot/initrd.img-2.6.32-24-generic<br>
</font></strong>Found Microsoft Windows XP Professional on /dev/sda2<br>done<br><a href="mailto:root@ubuntu:/boot">root@ubuntu:/boot</a># </div>
<div><br><br> </div>
<div class="gmail_quote">On Mon, Dec 20, 2010 at 8:33 PM, Srinivas G. <span dir="ltr"><<a href="mailto:srinivasg@esntechnologies.co.in">srinivasg@esntechnologies.co.in</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="im">> > On Ubuntu 10.10, you need to update /etc/default/grub and then use<br>> > 'sudo update-grub' to update your configuration.<br>> ><br>><br>> I see, thanks for the info on grub2 guys! If the files were copied to<br>
> /boot it sounds like the original poster just needs to update grub. I<br>> still don't understand how the files got copied tho, I always have to<br>> dpkg them myself (not done at the make-kpkg stage) and grub is taken<br>
> care of then.<br><br></div>On Ubuntu systems, just follow the following steps for building the new<br>kernel images.<br><br>Note: I build the kernel image as a ROOT, here. So, I did not use the<br>SUDO.<br><br>1) Download the required kernel version TAR ball from the <a href="http://www.kernel.org/" target="_blank">www.kernel.org</a><br>
and extract it in the /usr/src directory.<br>2) Change into the newly created directory.<br>3) Build the kernel with the following set of commands from<br>/usr/src/linux directory. Here the linux is a link to the newly created<br>
directory.<br>4) Then run the following commands.<br># make mrproper<br># make clean<br># make menuconfig - Just exit from the GUI menu by pressing YES.<br># make prepare<br># make menuconfig - Do the modifications, whatever you want.<br>
# make clean<br># make bzImage (capital L letter in bzImage)<br># make modules<br># make modules_install<br># make install<br><br>Then, build the initrd file with the following command from anywhere,<br>however you need to copy the build initrd file explicitly to the /boot<br>
directory.<br># mkinitramfs -o initrd-img-kernel-version kernel-version<br><br>Finally, update the grub with the following command from /boot directory<br>and restart the system. By default it boots into the newly build kernel<br>
image.<br># update-grub<br><br>For more information on Grub follow the link<br>
<div class="im"><a href="https://help.ubuntu.com/community/Grub2" target="_blank">https://help.ubuntu.com/community/Grub2</a><br><br></div>Thanks and Regards,<br><font color="#888888">Srinivas G<br><br></font></blockquote>
</div><br><br clear="all"><br>-- <br>Regards,<br>S. Sengottuvelan.<br>