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: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Sun, 7 Jun 2009 19:33:51 +0700
Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 07 Jun 2009 05:34:34 -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
On Sun, Jun 7, 2009 at 6:34 PM, Rudi Ahlers<rudiahlers@xxxxxxxxx> wrote:
> 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

As Olivier pointed out, it should probably be something like this

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

Note that vmlinuz and initrd uses "el5xen" version from kernel-xen
RPM, not the one from kernel RPM.

I'd also check the "ide0=noprobe" part. Is it really what you want?
Usually it's only necessary when some other driver should claim hda,
like in the case of HVM domU with PV kernel. Usually not necessary for
physical machine.

How did you setup Xen on this machine? "yum groupinstall
virtualization" should gave you a correct grub.conf stanza. Did you
perhaps only copy xen.gz and edit grub.conf manually?

> The BIG problem is that the server is on another
> continent, and their support is totally useless.

That's why I insist on having remote console and power management on
my servers :)
HP's ILO can be a livesaver.

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

Why?
For the purpose of MOVING domU it's enough to have the physical
machine (dom0) running. Even normal (non-Xen) kernel is fine. You can
mount domU filesystem on dom0 if necessary.

-- 
Fajar

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