Different kernels on my servers?

Knute Johnson ubuntu at knutejohnson.com
Wed Jun 10 15:06:13 UTC 2015


On 6/10/2015 08:00, Robert Heller wrote:
> At Wed, 10 Jun 2015 07:43:54 -0700 "Ubuntu user technical support,  not for general discussions" <ubuntu-users at lists.ubuntu.com> wrote:
>
>> So I was getting another server up and running in case my old one died
>> and found they have different kernels.
>>
>> Old: Linux knutejohnson 3.2.0-30-generic #48-Ubuntu SMP Fri Aug 24
>> 16:52:48 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
>>
>> New: Linux knute3 3.16.0-38-generic #52~14.04.1-Ubuntu SMP Fri May 8
>> 09:43:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
>>
>> Both are 14.04.2LTS.  The new one had a kernel held back when I did my
>> update and upgrade so I did a dist-upgrade but it was still a 3.16
>> kernel before that.  The old computer was upgraded from an earlier
>> version of server but that shouldn't stop kernel upgrades? Do I have
>> something set somewhere to prevent my old server from upgrading the kernel?
> Did you reboot after doing the dist-upgrade (I know this is probably a silly
> question, but...).
>
> It is *possible* that grub.cfg just did not get updated properly.
>
> What does 'dpgk-query -l linux-generic\*' display?  If it shows the new kernal
> as installed, but rebooting does not boot to the new kernal, then grub.cfg was
> not updated, or at least the grub is not booting the newest kernel by default.
>
> I've had that sort of problem happen on a machine which I 'upgraded' from an
> older Ubuntu to CentOS 5, installing CentOS 5 on a different partition, and
> 'sharing' /boot (I set things up to dual boot, incase things were not fully
> setup right with the newer system -- I could boot back to the 'working' Ubuntu
> server to maintain production) -- CentOS kernel updates were not updating
> grub's configure file to boot the newest kernel, probably because the grub
> config file did not exactly 'match' the update script, becuase of my 'manual'
> hacking. You might have a similar weirdness going on, and you may have to
> manually tweak grub's config files.
>

I've rebooted a couple times now :-0

knute at knutejohnson:/boot$ dpkg-query -l linux-generic\c
dpkg-query: no packages found matching linux-genericc

Thanks,

-- 

Knute Johnson




More information about the ubuntu-users mailing list