ok, got me a new kernel and some modules ... now what?

Robert P. J. Day rpjday at crashcourse.ca
Tue May 11 14:33:02 UTC 2010


On Tue, 11 May 2010, Tom H wrote:

> On Tue, May 11, 2010 at 9:03 AM, Robert P. J. Day <rpjday at crashcourse.ca> wrote:
> >
> >  i'm guessing what i'm about to ask is grub2-related.  after
> > configuring my kernel source tree (2.6.34-rc7), the resulting "make"
> > ran to completion, so i have a new kernel image and about a kajillion
> > module files ready to go.
> >
> >  from my fedora days, all i'd do then is just:
> >
> >  # make modules_install
> >  # make install
> >  # reboot
> >
> > which would install the kernel in /boot, the modules under
> > /lib/modules, and would update the grub config file.  however, this is
> > grub2, so i have no idea what the proper incantation is or whether the
> > kernel tree supports grub2 and the appropriate grub2 config file
> > updates.
>
> Run
> update-grub
> after
> make install

  um ... i checked and there was no initrd image for my new kernel, so
i think the earlier poster was correct in that i need to explicitly
run "update-initramfs" after the install to create that initrd image.

  are you suggesting that running "update-grub" alone would do that
automatically when it saw a new kernel image?

rday
--

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

            Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================


More information about the ubuntu-users mailing list