[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] domU kernels on Centos 5??


  • To: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.