
11th June 2012, 03:20
|
|
Junior Member
|
|
Join Date: Apr 2012
Posts: 27
Thanks: 1
Thanked 1 Time in 1 Post
|
|
Centos 6.2 kernel
hello I decided revert kernel in centos 6.2
uname -r
2.6.35.4
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/sda3
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.32-71.el6.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.32-71.el6.x86_64 ro root=UUID=251a0082-888f-4fc0-971$
initrd /initramfs-2.6.32-71.el6.x86_64.img
rpm -qa | grep kernel
kernel-2.6.32-220.17.1.el6.x86_64
dracut-kernel-004-256.el6_2.1.noarch
kernel-devel-2.6.32-220.13.1.el6.x86_64
kernel-2.6.32-71.29.1.el6.x86_64
kernel-firmware-2.6.32-220.17.1.el6.noarch
kernel-2.6.32-220.7.1.el6.x86_64
kernel-devel-2.6.32-220.7.1.el6.x86_64
kernel-headers-2.6.32-220.17.1.el6.x86_64
kernel-2.6.32-220.2.1.el6.x86_64
libreport-plugin-kerneloops-2.0.5-20.el6.x86_64
kernel-2.6.32-220.13.1.el6.x86_64
kernel-devel-2.6.32-220.17.1.el6.x86_64
abrt-addon-kerneloops-2.0.4-14.el6.centos.x86_64
ls -la /boot
dr-xr-xr-x 5 root root 4096 May 22 22:03 .
drwxr-xr-x 25 root root 4096 Jun 11 00:12 ..
-rw-r--r-- 1 root root 100948 Apr 18 00:17 config-2.6.32-220.13.1.el6.x86_64
-rw-r--r-- 1 root root 100948 May 16 00:22 config-2.6.32-220.17.1.el6.x86_64
-rw-r--r-- 1 root root 100947 Dec 23 09:14 config-2.6.32-220.2.1.el6.x86_64
-rw-r--r-- 1 root root 100947 Mar 7 01:40 config-2.6.32-220.7.1.el6.x86_64
-rw-r--r-- 1 root root 97911 Jun 27 2011 config-2.6.32-71.29.1.el6.x86_64
drwxr-xr-x 3 root root 4096 Oct 21 2011 efi
drwxr-xr-x 2 root root 4096 May 22 22:04 grub
-rw-r--r-- 1 root root 15471565 Apr 21 15:47 initramfs-2.6.32-220.13.1.el6.x86_64.img
-rw-r--r-- 1 root root 15476665 May 22 22:04 initramfs-2.6.32-220.17.1.el6.x86_64.img
-rw-r--r-- 1 root root 15418866 Dec 28 15:16 initramfs-2.6.32-220.2.1.el6.x86_64.img
-rw-r--r-- 1 root root 15423040 Mar 22 20:19 initramfs-2.6.32-220.7.1.el6.x86_64.img
-rw-r--r-- 1 root root 13440574 Oct 21 2011 initramfs-2.6.32-71.29.1.el6.x86_64.img
drwx------ 2 root root 4096 Oct 21 2011 lost+found
-rw-r--r-- 1 root root 171224 Apr 18 00:20 symvers-2.6.32-220.13.1.el6.x86_64.gz
-rw-r--r-- 1 root root 171224 May 16 00:25 symvers-2.6.32-220.17.1.el6.x86_64.gz
-rw-r--r-- 1 root root 171175 Dec 23 09:17 symvers-2.6.32-220.2.1.el6.x86_64.gz
-rw-r--r-- 1 root root 171216 Mar 7 01:41 symvers-2.6.32-220.7.1.el6.x86_64.gz
-rw-r--r-- 1 root root 160602 Jun 27 2011 symvers-2.6.32-71.29.1.el6.x86_64.gz
-rw-r--r-- 1 root root 2314413 Apr 18 00:17 System.map-2.6.32-220.13.1.el6.x86_64
-rw-r--r-- 1 root root 2314660 May 16 00:22 System.map-2.6.32-220.17.1.el6.x86_64
-rw-r--r-- 1 root root 2313220 Dec 23 09:14 System.map-2.6.32-220.2.1.el6.x86_64
-rw-r--r-- 1 root root 2313972 Mar 7 01:40 System.map-2.6.32-220.7.1.el6.x86_64
-rw-r--r-- 1 root root 2228188 Jun 27 2011 System.map-2.6.32-71.29.1.el6.x86_64
-rwxr-xr-x 1 root root 3940720 Apr 18 00:17 vmlinuz-2.6.32-220.13.1.el6.x86_64
-rw-r--r-- 1 root root 171 Apr 18 00:17 .vmlinuz-2.6.32-220.13.1.el6.x86_64.hmac
-rwxr-xr-x 1 root root 3942032 May 16 00:22 vmlinuz-2.6.32-220.17.1.el6.x86_64
-rw-r--r-- 1 root root 171 May 16 00:22 .vmlinuz-2.6.32-220.17.1.el6.x86_64.hmac
-rwxr-xr-x 1 root root 3940752 Dec 23 09:14 vmlinuz-2.6.32-220.2.1.el6.x86_64
-rw-r--r-- 1 root root 170 Dec 23 09:14 .vmlinuz-2.6.32-220.2.1.el6.x86_64.hmac
-rwxr-xr-x 1 root root 3941040 Mar 7 01:40 vmlinuz-2.6.32-220.7.1.el6.x86_64
-rw-r--r-- 1 root root 170 Mar 7 01:40 .vmlinuz-2.6.32-220.7.1.el6.x86_64.hmac
-rwxr-xr-x 1 root root 3795744 Jun 27 2011 vmlinuz-2.6.32-71.29.1.el6.x86_64
-rw-r--r-- 1 root root 170 Jun 27 2011 .vmlinuz-2.6.32-71.29.1.el6.x86_64.hmac
could someone tell me where is problem and why cant see kernell 2.6.35.4
sorry i have been googling but could not find anything and have no idea what about :-)
Last edited by jpucik; 11th June 2012 at 03:22.
|

11th June 2012, 11:22
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
Did you reboot?
|

11th June 2012, 11:35
|
|
Junior Member
|
|
Join Date: Apr 2012
Posts: 27
Thanks: 1
Thanked 1 Time in 1 Post
|
|
:-) of course I did
|

13th June 2012, 14:02
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
And is still showing 2.6.35.4, although there's no such kernel in /boot?
|

13th June 2012, 14:14
|
|
Junior Member
|
|
Join Date: Apr 2012
Posts: 27
Thanks: 1
Thanked 1 Time in 1 Post
|
|
:-) it is I have no idea I did change grub.conf but still same kernell :-)
|

14th June 2012, 16:28
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
Is it possible that the kernel's filename is "wrong", i.e., it uses 2.6.32 as part of the filename but in fact is a 2.6.35 kernel?
|

15th June 2012, 01:52
|
|
Junior Member
|
|
Join Date: Apr 2012
Posts: 27
Thanks: 1
Thanked 1 Time in 1 Post
|
|
thanks falko a lot may be but have no idea how could I repair that :-( I have no taste to compilation new one
anyway I have got just one problem now I cant compile xtables :-( becaus kernel headers are different than kernel
but everything on our server is working pretty well
|

15th June 2012, 13:08
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
Quote:
Originally Posted by jpucik
thanks falko a lot may be but have no idea how could I repair that :-
|
If my guess is true, you could simply rename vmlinuz-2.6.32-71.el6.x86_64 to vmlinuz-2.6.35-71.el6.x86_64 and initramfs-2.6.32-71.el6.x86_64.img initramfs-2.6.35-71.el6.x86_64.img.
Afterwards you must change these two lines in your grub.conf as well:
Code:
kernel /vmlinuz-2.6.32-71.el6.x86_64 ro root=UUID=251a0082-888f-4fc0-971$
initrd /initramfs-2.6.32-71.el6.x86_64.img
|

15th June 2012, 13:15
|
|
Junior Member
|
|
Join Date: Apr 2012
Posts: 27
Thanks: 1
Thanked 1 Time in 1 Post
|
|
I did before that one
# 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/sda3
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.32-220.17.1.el6.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.32-220.17.1.el6.x86_64 ro root=UUID=251a0082-888f-4fc0-971c-49a68dacd8be rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_GB.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=uk crashkernel=auto rhgb quiet
initrd /initramfs-2.6.32-220.17.1el6.x86_64.img
but still have
2.6.35.4
|

15th June 2012, 13:46
|
|
Senior Member
|
|
Join Date: Jul 2007
Location: Koblenz, Germany
Posts: 290
Thanks: 12
Thanked 100 Times in 58 Posts
|
|
Did you install the CentOS yourself or is it a provided image by the server hoster?
I know that some hosters provide customized kernel images that are installed with their images and sometimes use lilo instead of grub (only god knows why  ).
Have you tried reinstalling grub to the MBR and (if you have software raid) to the raid?
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 04:36.
|
Recent comments
1 day 19 hours ago
2 days 4 hours ago
2 days 7 hours ago
2 days 8 hours ago
2 days 9 hours ago
2 days 11 hours ago
2 days 12 hours ago
2 days 14 hours ago
3 days 6 hours ago
3 days 6 hours ago