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

Re: [Xen-users] Running Xen after compile

----- Original Message -----
> From: "Sean Greenslade" <sean@xxxxxxxxxxxxxxxxxx>
> To: "Mohammad Altahat" <maaltahat@xxxxxxxxx>
> Cc: xen-users@xxxxxxxxxxxxx
> Sent: Wednesday, June 5, 2013 7:30:17 AM
> Subject: Re: [Xen-users] Running Xen after compile
> On Wed, Jun 05, 2013 at 12:27:33AM -0700, Mohammad Altahat wrote:
> > Hello guys,
> > 
> > I've compiled the xen sourcecode and it gave me no errors, but I
> > don't know what to do now! how to add xen kernel to the grub menu
> > and how to make it run?
> > I've used theÂ"xen-hypervisor-amd64" on ubuntu 12.04, but now I
> > need to compile the sourcecode on centos 6.4
> > 
> > Thanks,
> > Mohammad Altahat.
> Getting Xen to work in CentOS 6 is a bit tricky. Since Redhat decided
> that thay were no longer going to support it (they went with some
> other
> virtualization system), the default CentOS kernel is not compiled
> with
> Xen hypervisor support. This means that in order to make it work on
> CentOS, you will have to recompile the kernel. There are guides
> online
> with links to prebuilt repos that have modified kernels [1], but I
> cannot vouch for any of them.
> To be honest, getting Xen running on CentOS was (for me) more trouble
> than it was worth. I personally was able to run it on ArchLinux very
> well, but this may not be the best option for everyone. If you're
> familiar with Ubuntu, perhaps you would consider using Debian? The
> jump
> would not be that hard to make, and Debian is well-suited to be a
> server
> OS.
> --Sean
> [1]
> http://www.howtoforge.com/virtualization-with-xen-on-centos-6.2-x86_64-paravirtualization-and-hardware-virtualization

I agree CentOS 6.x required some hoops. I got upstream 3.9.3 working (the stock 
kernel's config wouldn't import to the sources, so I just used the one 
provided). The only troubles I encountered where during "make install" when the 
build would create the ramdisk and not be able to find certain kernel modules 
to include. So I'd search in menuconfig for them, enable as modules and retry. 
I can make the config file I used available.


Xen-users mailing list



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