WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] please help: Linux Kernel must be loaded before initrd

To: Rudi Ahlers <rudiahlers@xxxxxxxxx>
Subject: Re: [Xen-users] please help: Linux Kernel must be loaded before initrd
From: "Olivier B." <xen.list@xxxxxxxxx>
Date: Sun, 07 Jun 2009 13:42:36 +0200
Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 07 Jun 2009 04:43:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <695200da0906070434w7eed0157t794e61169927d29c@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <695200da0906070434w7eed0157t794e61169927d29c@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)
Hello

> kernel /xen.gz-2.6.18-128.1.10.el5 ro root=/dev/VolGroup00/LogVol01 ide0=noprobe ide1=noprobe
> initrd /initrd-2.6.18-128.1.10.el5.img

The first line load Xen and the second load Initrd ; where do you load Linux ?
You should have :
1 : kernel /path-to-xen
2 : module /path-to-linux
3 : module /path-to-initrd

Olivier

Rudi Ahlers a écrit :
Hi,

One of my servers in a IDC in another country mysteriously went down this morning, and when I contacted the IDC, I was told that XEN doesn't boot up, as follows:

[QUOTE]
This is error message on the screen " Error 19: Linux Kernel must be loaded before initrd"

Server is currently up with 2nd kernel.

Please check the grub.conf.
[/QUOTE]

Looking at grub.conf, I see the following:

#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-128.1.10.el5xen)
        root (hd0,0)
kernel /xen.gz-2.6.18-128.1.10.el5 ro root=/dev/VolGroup00/LogVol01 ide0=noprobe ide1=noprobe
        initrd /initrd-2.6.18-128.1.10.el5.img
title CentOS (2.6.18-128.1.10.el5)
        root (hd0,0)
kernel /vmlinuz-2.6.18-128.1.10.el5 ro root=/dev/VolGroup00/LogVol01 ide0=noprobe ide1=noprobe
        initrd /initrd-2.6.18-128.1.10.el5.img
title CentOS (2.6.18-128.el5)
        root (hd0,0)
        kernel /vmlinuz-2.6.18-128.el5 ro root=/dev/VolGroup00/LogVol01
ide0=noprobe ide1=noprobe
        initrd /initrd-2.6.18-128.el5.img







Then on another server, I see the following in grub.conf:
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu

title CentOS (2.6.18-8.1.15.el5xen)
        root (hd0,0)
        kernel /xen.gz-2.6.18-8.1.15.el5
module /vmlinuz-2.6.18-8.1.15.el5xen ro root=/dev/VolGroup00/root
module /initrd-2.6.18-8.1.15.el5xen.img

title CentOS (2.6.18-8.1.15.el5)
        root (hd0,0)
        kernel /vmlinuz-2.6.18-8.1.15.el5 ro root=/dev/VolGroup00/root
        initrd /initrd-2.6.18-8.1.15.el5.img

title CentOS (2.6.18-8.el5)
        root (hd0,0)
        kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/VolGroup00/root
        initrd /initrd-2.6.18-8.el5.img






On both kernels, I can see that initrd is loaded 2nd, as it should. So the error doesn't make sense. The BIG problem is that the server is on another continent, and their support is totally useless. I have actiall ordered a new server, from another IDC and got it last night, but need XEN to work on this server in order to move the domU's across.

Can anyone see anyting wrong with this? Google has revelaed the obvious, that the initrd is incorrectly loaded, but according to the grub.conf that I have, it should be loading properly.
--
Kind Regards
Rudi Ahlers
CEO, SoftDux Hosting
Web: http://www.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
------------------------------------------------------------------------

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users