Solved

Unable to Boot Centos

Posted on 2013-06-24
4
725 Views
Last Modified: 2013-06-26
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?
0
Comment
Question by:sysautomation
  • 2
4 Comments
 
LVL 6

Accepted Solution

by:
Vijay Pratap Singh earned 500 total points
ID: 39273840
OVH dont provide physical access i used a lot their service, try to change default = 1 in grub entry and do the hard reboot from the panel provided by OVH manager and please dnt forget to change hdd boot from rescue that you are using the main issue is OVH use their own distributions that  have different kernel. If this doesnt fix the issue you have to reinstall it.

:(
0
 

Author Comment

by:sysautomation
ID: 39273856
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.
0
 
LVL 6

Expert Comment

by:Vijay Pratap Singh
ID: 39273859
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 :)
0
 
LVL 76

Expert Comment

by:arnold
ID: 39274891
Is your boot device on a md software raid device?
When the bot fails with the new kernel, what is the message?
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now