[Users] Update Kernel
SD :: Ventas
ventas at dedicados.com.mx
Tue Jan 19 21:26:40 EST 2010
Scott Dowdle escribió:
> Greetings,
>
> ----- "SD :: Ventas" <ventas at dedicados.com.mx> wrote:
>
>> Mike i do what you say:
>>
>> [root at ns ~]# yumdownloader ovzkernel
>> Loaded plugins: fastestmirror
>> Loading mirror speeds from cached hostfile
>> * addons: mirror.steadfast.net
>> * base: centos.mirrors.tds.net
>> * extras: mirrors.bigtennetwork.com
>> * openvz-kernel-rhel5: mirror.ubiquityservers.com
>> * openvz-utils: mirror.ubiquityservers.com
>> * updates: mirror.fdcservers.net
>> extras
>>
>> 325/325
>> openvz-kernel-rhel5 | 951 B
>> 00:00
>> openvz-kernel-rhel5/primary | 25 kB
>> 00:00
>> openvz-kernel-rhel5
>>
>> 14/14
>> openvz-utils | 951 B
>> 00:00
>> openvz-utils/primary | 5.8 kB
>> 00:00
>> openvz-utils
>>
>> 26/26
>> updates | 1.9 kB
>> 00:00
>> updates/primary_db | 416 kB
>> 00:00
>> ovzkernel-2.6.18-164.2.1.el5.028stab066.10.i686.rpm | 19 MB
>> 00:05
>>
>> then
>>
>> [root at ns ~]# rpm -ivh
>> ovzkernel-2.6.18-164.2.1.el5.028stab066.10.i686.rpm
>> Preparing...
>> ###########################################
>> [100%]
>> package ovzkernel-2.6.18-164.2.1.el5.028stab066.10.i686 is
>> already installed
>> [root at ns ~]#
>>
>> and if i chek on /boot/grub/grub.conf
>>
>>
>> [root at ns ~]# cat /boot/grub/grub.conf
>> # grub.conf generated by anaconda
>> #
>> # Note that you do not have to rerun grub after making changes to this
>> file
>> # NOTICE: You have a /boot partition. This means that
>> # all kernel and initrd paths are relative to /boot/, eg.
>> # root (hd0,0)
>> # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
>> # initrd /initrd-version.img
>> #boot=/dev/hda
>> default=0
>> timeout=5
>> splashimage=(hd0,0)/grub/splash.xpm.gz
>> hiddenmenu
>> title CentOS (2.6.18-164.10.1.el5PAE)
>> root (hd0,0)
>> kernel /vmlinuz-2.6.18-164.10.1.el5PAE ro
>> root=/dev/VolGroup00/LogVol00
>> initrd /initrd-2.6.18-164.10.1.el5PAE.img
>> title CentOS (2.6.18-164.2.1.el5.028stab066.10)
>> root (hd0,0)
>> kernel /vmlinuz-2.6.18-164.2.1.el5.028stab066.10 ro
>> root=/dev/VolGroup00/LogVol00
>> initrd /initrd-2.6.18-164.2.1.el5.028stab066.10.img
>> title CentOS (2.6.18-164.2.1.el5.028stab066.10PAE)
>> root (hd0,0)
>> kernel /vmlinuz-2.6.18-164.2.1.el5.028stab066.10PAE ro
>> root=/dev/VolGroup00/LogVol00
>> initrd /initrd-2.6.18-164.2.1.el5.028stab066.10PAE.img
>> title CentOS (2.6.18-92.1.18.el5.028stab060.8PAE)
>> root (hd0,0)
>> kernel /vmlinuz-2.6.18-92.1.18.el5.028stab060.8PAE ro
>> root=/dev/VolGroup00/LogVol00
>> initrd /initrd-2.6.18-92.1.18.el5.028stab060.8PAE.img
>> title OpenVz (2.6.18-92.1.18.el5.028stab060.2PAE)
>> root (hd0,0)
>> kernel /vmlinuz-2.6.18-92.1.18.el5.028stab060.2PAE ro
>> root=/dev/VolGroup00/LogVol00
>> initrd /initrd-2.6.18-92.1.18.el5.028stab060.2PAE.img
>> title OpenVzn (2.6.18-92.1.18.el5.028stab060.2)
>> root (hd0,0)
>> kernel /vmlinuz-2.6.18-92.1.18.el5.028stab060.2 ro
>> root=/dev/VolGroup00/LogVol00
>> initrd /initrd-2.6.18-92.1.18.el5.028stab060.2.img
>> title CentOS (2.6.18-92.el5PAE)
>> root (hd0,0)
>> kernel /vmlinuz-2.6.18-92.el5PAE ro
>> root=/dev/VolGroup00/LogVol00
>> initrd /initrd-2.6.18-92.el5PAE.img
>> [root at ns ~]#
>>
>
> Well that solves that. You have upgraded and upgraded... but not rebooted to switch kernels... or maybe you DID reboot but it still has the old kernel as the default.
>
> What I recommend you do is to remove any of the kernels you don't plan on using, and make sure your /etc/grub.conf is set to boot the kernel you want as default. I think the rpm package the OpenVZ project provides tries to update your grub.conf every time a new kernel is installed but it isn't always successful setting the new kernel to be default. SO... the lesson is, whenever you install a new kernel, make sure your /etc/grub.conf file is how you want it, then reboot if you want to switch kernels.
>
> TYL,
>
ok, im gonna do that, but isnt problem if the kernel dont say PAE, i
have 6gb ram on my server.
--
Ing. Alejandro M.
-----------------------
Hospedaje Web y Servidores Dedicados
http://www.dedicados.com.mx
-----------------------
ventas at dedicados.com.mx
-----------------------
__________ Información de ESET NOD32 Antivirus, versión de la base de firmas de virus 4787 (20100119) __________
ESET NOD32 Antivirus ha comprobado este mensaje.
http://www.eset.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openvz.org/pipermail/users/attachments/20100119/1dd0206b/attachment.html
More information about the Users
mailing list