Grub is not loading the correct kernel

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Grub is not loading the correct kernel
# 1  
Old 09-06-2010
Grub is not loading the correct kernel

All


I am trying to get RHEL 5.4 to load to the XEN enabled kernel but I am not having much luck. My grub.conf looks like it has 2.6.18-194.11.3.el5xen as the 1st one but when I do a uname -a I get the NON xen enabled kernel. I know I am doing something stupid but if anybody has any recommendations on where to start looking I would appreciate it.

Thanks In advance

Code:
 uname -a
Linux XXX.5XXXXXXX.com 2.6.18-194.11.3.el5 #1 SMP Mon Aug 23 15:51:38 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux


menu.lst:
Code:
# 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/VolGroup01/LogVol00
#          initrd /initrd-version.img
#boot=/dev/sda
default=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Server (2.6.18-194.11.3.el5xen)
        root (hd0,0)
        kernel /xen.gz-2.6.18-194.11.3.el5
        module /vmlinuz-2.6.18-194.11.3.el5xen ro root=/dev/VolGroup01/LogVol00 rhgb quiet
        module /initrd-2.6.18-194.11.3.el5xen.img
title Red Hat Enterprise Linux Server (2.6.18-194.11.3.el5)
        root (hd0,0)
        kernel /vmlinuz-2.6.18-194.11.3.el5 ro root=/dev/VolGroup01/LogVol00 rhgb quiet
        initrd /initrd-2.6.18-194.11.3.el5.img
title Red Hat Enterprise Linux Server (2.6.18-164.el5)

menu.lst

Last edited by pludi; 09-07-2010 at 01:40 AM..
# 2  
Old 09-07-2010
The problem is that you've set the second entry to be the default. GRUB does all counting starting with 0, not 1. Change it to read default=0, and you should be fine.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. OS X (Apple)

Can't figure out the correct syntax for a command loading a webkit plugin

Hello, Using Bash on Mac OS X 10.7.5 (Lion). I downloaded a GrowlSafari plugin for Webkit from its GitHub page GitHub - uasi/growl-safari-bridge: GrowlSafariBridge enables arbitrary javascript (including Safari Extensions) to notify via Growl.. In the description it says that after installing for... (0 Replies)
Discussion started by: scrutinizerix
0 Replies

2. Linux

Disable loading kernel modules

Hi, I am running CentOS 6.5 and I want to remove auto loading 8021q and garp modules, but there are no configure files in /etc/modprobe.d define bot modules. I even added both module names to /etc/modprobe.d/blacklist.conf, both of them are still loaded after the reboot. How can I disable... (2 Replies)
Discussion started by: hce
2 Replies

3. Red Hat

Grub.conf kernel field boot messages verbosity configuration

I am trying to understand what are the differences of boot messages verbosity levels for the kernel field in grub.conf From my research, there appear to be three levels: quiet verbose debug I have also found documents that specify removing quiet from the kernel field. If this is done, is... (1 Reply)
Discussion started by: thaebich
1 Replies

4. Linux

Grub not loading from replaced disk

Hi, a little while ago, one of the GPT Partitioned hard disk had gone faulty in a Mirror RAID and is now successfully replaced. here is how I did that. 1) created identical partition table on the new disk. 2) attached the mirrors using md commands. The whole procedure is given below:... (2 Replies)
Discussion started by: busyboy
2 Replies

5. Ubuntu

Linux LVM.. Grub not loading from replaced disk

Hi, a little while ago, one of the GPT Partitioned hard disk had gone faulty in a Mirror RAID and is now successfully replaced. here is how I did that. 1) created identical partition table on the new disk. 2) attached the mirrors using md commands. The whole procedure is given... (5 Replies)
Discussion started by: busyboy
5 Replies

6. AIX

Loading AIX kernel extensions on reboot

Greetings, Does anyone know how to load AIX kernel extensions on reboot? I know that Oracle loads it's postwait kernel extension via a executable in /etc/inittab. I'm assuming this executable calls the "sysconfig" system call and loads it. What if I wrote my own? What is the proper way in AIX to... (3 Replies)
Discussion started by: jbleistein
3 Replies

7. Solaris

Loading Kernel module at boot

Is there any link/tutorial on loading Solaris kernel modules at boot time?? (0 Replies)
Discussion started by: unisolin
0 Replies

8. UNIX for Dummies Questions & Answers

How to select correct partition and kernel argument for grub?

I use command-line mode of GRUB to load kernel, but I can not know how to chose the partition and kernel argument, as followed : please tell me how to do deal with , thanks! (0 Replies)
Discussion started by: cqlouis
0 Replies

9. UNIX for Advanced & Expert Users

grub loading stage 1.5.

Hi people,I am trying to install Debian Lenny Betta-2 on a system that has the built in promise chip for "Raid 0" but when I finished the install and then I reboot ,I get "grub loading,pleas wate... Error 2. also the Debian Lenny Betta-2 is identifying both drives ,instead of a singular drive... (4 Replies)
Discussion started by: thegreatalsky
4 Replies

10. Linux

problem with kernel module loading

Hi masters, I am new to linux and unix forum and this is my first forum. So please excuse if I am not giving sufficient information. I will give them on request. I have created a bandwidth manager module. I am using a 2.6.9 kernel and in Red Hat 3.4.3 distribution. But when i run make... (1 Reply)
Discussion started by: iamjayanth
1 Replies
Login or Register to Ask a Question