From: sengottuvelan.s@gmail.com (Sengottuvelan S)
To: kernelnewbies@lists.kernelnewbies.org
Subject: custom kernel install - query
Date: Tue, 21 Dec 2010 21:09:45 -0800 [thread overview]
Message-ID: <AANLkTim3F9y8E6zaUc-G4T8SYh6pp1ZZAE-WdnwRf-Va@mail.gmail.com> (raw)
In-Reply-To: <F5BA82141F7AA94885B9643C77EEA5F2477462@mail.esntechnologies.co.in>
Hi Srinivas,
Even doing update-grub command , I was not able to see new menu-entry
in /boot/grub/grub.cfg . Somehow , "update-grub" not catching "*
initrd-img-2.6.35.9-custom"* in the boot
Any help on this highly appreciated
root at ubuntu:/boot# ls
abi-2.6.32-24-generic memtest86+.bin
config-2.6.32-24-generic System.map-2.6.32-24-generic
config-2.6.35.9 System.map-2.6.35.9
grub vmcoreinfo-2.6.32-24-generic
initrd.img-2.6.32-24-generic vmlinuz-2.6.32-24-generic
*initrd-img-2.6.35.9-custom* vmlinuz-2.6.35.9
initrd-img-kernel-2.6.35.9
root at ubuntu:/boot# update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.35.9
Found linux image: /boot/vmlinuz-2.6.32-24-generic
*Found initrd image: /boot/initrd.img-2.6.32-24-generic
*Found Microsoft Windows XP Professional on /dev/sda2
done
root at ubuntu:/boot#
On Mon, Dec 20, 2010 at 8:33 PM, Srinivas G. <
srinivasg@esntechnologies.co.in> wrote:
> > > On Ubuntu 10.10, you need to update /etc/default/grub and then use
> > > 'sudo update-grub' to update your configuration.
> > >
> >
> > I see, thanks for the info on grub2 guys! If the files were copied to
> > /boot it sounds like the original poster just needs to update grub. I
> > still don't understand how the files got copied tho, I always have to
> > dpkg them myself (not done at the make-kpkg stage) and grub is taken
> > care of then.
>
> On Ubuntu systems, just follow the following steps for building the new
> kernel images.
>
> Note: I build the kernel image as a ROOT, here. So, I did not use the
> SUDO.
>
> 1) Download the required kernel version TAR ball from the www.kernel.org
> and extract it in the /usr/src directory.
> 2) Change into the newly created directory.
> 3) Build the kernel with the following set of commands from
> /usr/src/linux directory. Here the linux is a link to the newly created
> directory.
> 4) Then run the following commands.
> # make mrproper
> # make clean
> # make menuconfig - Just exit from the GUI menu by pressing YES.
> # make prepare
> # make menuconfig - Do the modifications, whatever you want.
> # make clean
> # make bzImage (capital L letter in bzImage)
> # make modules
> # make modules_install
> # make install
>
> Then, build the initrd file with the following command from anywhere,
> however you need to copy the build initrd file explicitly to the /boot
> directory.
> # mkinitramfs -o initrd-img-kernel-version kernel-version
>
> Finally, update the grub with the following command from /boot directory
> and restart the system. By default it boots into the newly build kernel
> image.
> # update-grub
>
> For more information on Grub follow the link
> https://help.ubuntu.com/community/Grub2
>
> Thanks and Regards,
> Srinivas G
>
>
--
Regards,
S. Sengottuvelan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20101221/1e08de89/attachment.html
next prev parent reply other threads:[~2010-12-22 5:09 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-20 1:23 custom kernel install - query Sengottuvelan S
2010-12-20 4:25 ` Mulyadi Santosa
2010-12-20 13:52 ` Dexter Haslem
2010-12-20 15:11 ` Daniel Case
2010-12-20 16:01 ` Harish G. Naik
2010-12-20 16:13 ` Dexter Haslem
2010-12-21 4:33 ` Srinivas G.
2010-12-22 5:09 ` Sengottuvelan S [this message]
2010-12-22 5:42 ` Srinivas G.
2010-12-22 16:15 ` Bharath H S
2010-12-22 19:08 ` Sengottuvelan S
2010-12-20 16:19 ` Javier Murcia Díaz
2010-12-20 10:25 ` Javier Murcia Díaz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTim3F9y8E6zaUc-G4T8SYh6pp1ZZAE-WdnwRf-Va@mail.gmail.com \
--to=sengottuvelan.s@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).