Solved

Unable to Boot Centos

Posted on 2013-06-24
4
733 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 77

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need To Change Centos 6 Timestamp Form In Log File 24 71
Error Message during CentOS 7 Minimal Install 3 43
Run same command on multiple files in Linux 3 32
bash file 10 37
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

770 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