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] domU kernels on Centos 5??

To: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Subject: Re: [Xen-users] domU kernels on Centos 5??
From: "Mike H" <ypunixsa@xxxxxxxxx>
Date: Fri, 24 Aug 2007 09:07:32 -0700
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 24 Aug 2007 09:08:09 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=RsylH8/N394jAlq89Om3d5sbJlrLpQ1DUIqm+yG9kphkvHp5CM6OvWG3ywEjfr60U+gUJbvkj2Cgno0pk+lNc+FMoHTd8zNfaHJQds8DkP3Ie+hz6PvRNFfBm52TlJveVqA4utBk4g6BpjeS5dJ+CYcF6Xuc7MANmZW9YbB2NUc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=aP4vA+wnFLjDMcK6iVanlgs8OdNmzIVOW2jR+SIFOPVVYw/U+5eaYf+rvyxE3S7JhZTlPHczELnM16yWsUqTSsJLEh6XnNsB8Q7z+dbXV8sDlrInaHhbbjVZ+xey99z33PyagPxn7+TNF6Rgc6lp4xeKRvPd7j+U2Z/74UQmW/s=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070824011825.GA6094@xxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <f145815e0708231806m3b000389u5615b29019bb0cbc@xxxxxxxxxxxxxx> <20070824011825.GA6094@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thanks for the info. I tried that out, but I just get the following:

Error: (22, 'Invalid argument')

and in /var/log/xen/xend-debug.log:

ERROR: Kernel not a Xen-compatible Elf image.
ERROR: Error constructing guest OS

Here's my config

kernel = "/xen-boot/vmlinuz"
ramdisk = "/xen-boot/initrd.img"
name = "centos4"
memory = "512"
disk = [ 'tap:aio:/xen/centos4,xvda,w', ]
vif = [ 'bridge=xenbr0', ]
vcpus=1
>>
Doing the same for centos5 works fine. The host system is centos 5 i386 running xen 3.0.3.

Thanks again.


On 8/23/07, Daniel P. Berrange <berrange@xxxxxxxxxx> wrote:
On Thu, Aug 23, 2007 at 06:06:45PM -0700, Mike H wrote:
> I dont see any domU kernels inside /boot. Can anyone tell me what package
> contains these? I havent been able to find any on the centos mirrors (so
> far).

The kernel/initrd for installing RHEL / CentOS are in the install media
under  $ROOT/images/xen/

Boot those & it'll take you into anaconda. Once the anaconda install is
complete the guest filesystem will contain the suitable kernel/initrd for
running the live system. In dom0 use  bootloader="/usr/bin/pygrub" to
boot the guest using the kernel/initrd from inside the guest filesytem

Dan.
--
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/                -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=|

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>