Solved

Unable to Boot Centos

Posted on 2013-06-24
4
742 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 79

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

627 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