Link to home
Start Free TrialLog in
Avatar of sysautomation
sysautomation

asked on

Unable to Boot Centos

Hi

I received a new Dedicated Server from ovh.com yesterday. I updated the o/s using yum update and also made some changes to kernel parameters to install Oracle as mentioned at http://eduardo-lago.blogspot.com/2012/01/how-to-install-oracle-11g-database.html

When I rebooted the machine it is not coming up. The hosting company does not provide a KVM. It used to provide a Virtual KVM but for some reason it is not available today. I have contacted there support but they are saying to fix the o/s issue myself.

I can access the o/s in Rescue mode and mounted the partition then chroot <mount point>.  I checked grub.conf and looks fine to me:

[root@rescue grub]# cat grub.conf 
default=0
timeout=5

	title CentOS (2.6.18-348.6.1.el5)
	kernel /boot/vmlinuz-2.6.18-348.6.1.el5 root=/dev/sda1  ro
	root (hd0,0)
	initrd /boot/initrd-2.6.18-348.6.1.el5.img
	title linux centos5_64
	kernel /boot/bzImage-3.8.13-xxxx-grs-ipv6-64 root=/dev/sda1  ro
	root (hd0,0)

[root@rescue grub]# ll /boot/vmlinuz-2.6.18-348.6.1.el5
-rw-r--r-- 1 root root 2126172 May 21 16:00 /boot/vmlinuz-2.6.18-348.6.1.el5
[root@rescue grub]# ll /boot/initrd-2.6.18-348.6.1.el5.img
-rw------- 1 root root 3629129 Jun 24 14:31 /boot/initrd-2.6.18-348.6.1.el5.img

Open in new window


Is there a way that I can find without having physical access to the machine why the system is unable to boot?
ASKER CERTIFIED SOLUTION
Avatar of Vijay Pratap Singh
Vijay Pratap Singh
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sysautomation
sysautomation

ASKER

I made it default = 1 and the machine is now accessible. But what should I do if I need the vmlinuz-2.6.18-348.6.1.el5 Kernel ? Currently it is following:

uname -a
3.8.13-xxxx-grs-ipv6-64 #3 SMP Fri May 31 13:26:19 CEST 2013 x86_64 x86_64 x86_64 GNU/Linux

Open in new window


I am using vmlinuz-2.6.18-348.6.1.el5 with my other 2 Dedicated Servers at OVH. Just the difference is they are running with Software RAID and this machine is Hardware RAID.
Try to reinstall the Kernel and chnage entry in grub.conf if its works it will be great else there might be some conflicts between hardware Raid and this kernel need to check what changes required in Sysctl.conf for this :)
Avatar of arnold
Is your boot device on a md software raid device?
When the bot fails with the new kernel, what is the message?