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
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?
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
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
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
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?