[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Booting from newly installed Kernel package?



On Wed, 24 Mar 2010 18:51:25 -0400 (EDT), Jen wrote:
> 
> Hello,
> 
> I have the latest version of the Kernel package installed, and have grub2.
> 
> Can you please tell me what I need to modify in order to get my machine to 
> boot from the 2.6.32-4-i686?
> 
> Thanks,
> Jen.

I'm not sure what you're saying, and I'm not sure what you're asking.
When you say "I have the latest version of the Kernel package installed",
are you saying that you have the latest stock kernel image installed,
which would be linux-image-2.6.32-4-686, I presume, or do you mean
that you have a package called kernel-package installed, which is used
to compile custom kernels?  I'm guessing the former.

Second, when you say "please tell me what I need to modify in order to get
my machine to boot from the 2.6.32-4-i686?"  Do you mean that you can't
get a custom kernel that you compiled yourself (with kernel-package) to boot?
Or do you simply mean that you want the latest stock kernel to boot by
default?  I assume the latter.

The simplest way is to purge the silly "trunk" kernel.  For example,

   aptitude purge linux-image-2.6.32-trunk-686

The latest stock kernel image should then boot by default.  However, before
you do this, you must first boot something else by doing a manual
override boot.  In other words, you don't want to be running the
2.6.32-trunk kernel while you are trying to purge the 2.6.32-trunk kernel!
You don't *ever* want to try to purge a running kernel!
Manually select the 2.6.32-4-686 kernel from the grub boot menu to boot it.
Make sure that's what you're running by issuing the

   uname -r

command.  Then, once you're sure that you're not running the 2.6.32-trunk
kernel, issue the "aptitude purge" command above.  Then shutdown and
reboot.  The 2.6.32-4 kernel should then boot by default from then on.

-- 
  .''`.     Stephen Powell    <zlinuxman@wowway.com>
 : :'  :
 `. `'`
   `-


Reply to: