Sponsored Content
Operating Systems Linux Red Hat Grub is not loading the correct kernel Post 302451399 by razor3928 on Monday 6th of September 2010 08:27:15 PM
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..
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
FREEBSD-VERSION(1)					    BSD General Commands Manual 					FREEBSD-VERSION(1)

NAME
freebsd-version -- print the version and patch level of the installed system SYNOPSIS
freebsd-version [-ku] DESCRIPTION
The freebsd-version utility makes a best effort to determine the version and patch level of the installed kernel and / or userland. The following options are available: -k Print the version and patch level of the installed kernel. Unlike uname(1), if a new kernel has been installed but the system has not yet rebooted, freebsd-version will print the version and patch level of the new kernel. -u Print the version and patch level of the installed userland. These are hardcoded into freebsd-version during the build. If both -k and -u are specified, freebsd-version will print the kernel version first, then the userland version, on separate lines. If nei- ther is specified, it will print the userland version only. IMPLEMENTATION NOTES
The freebsd-version utility should provide the correct answer in the vast majority of cases, including on systems kept up-to-date using freebsd-update(8), which does not update the kernel version unless the kernel itself was affected by the latest patch. To determine the name (and hence the location) of a custom kernel, the freebsd-version utility will attempt to parse /boot/defaults/loader.conf and /boot/loader.conf, looking for definitions of the kernel and bootfile variables, both with a default value of ``kernel''. It may however fail to locate the correct kernel if either or both of these variables are defined in a non-standard location, such as in /boot/loader.rc. ENVIRONMENT
ROOT Path to the root of the filesystem in which to look for loader.conf and the kernel. EXAMPLES
To determine the version of the currently running userland: /bin/freebsd-version -u To inspect a system being repaired using a live CD: mount -rt ufs /dev/ada0p2 /mnt env ROOT=/mnt /mnt/bin/freebsd-version -ku SEE ALSO
uname(1), loader.conf(5), freebsd-version(8) HISTORY
The freebsd-version command appeared in FreeBSD 10.0. AUTHORS
The freebsd-version utility and this manual page were written by Dag-Erling Smorgrav <des@FreeBSD.org>. BSD
October 5, 2013 BSD
All times are GMT -4. The time now is 11:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy