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

Re: [Xen-users] Xen 4.1 compile from source and install on Fedora 17


I've seen your mail to xen-devel as well. Given that you're still in
configuration phase, my gut feeling is that this is the proper list to
post. When you have questions about Xen code / development workflow you
can ask them on xen-devel.

On Tue, Jun 11, 2013 at 04:39:39PM -0500, ranjith krishnan wrote:
> Hello,
> I am relatively new to Xen and need help compiling and installing Xen from
> source.
> Using some tutorials online, I have got Xen working with the 'yum install
> xen' method.
> I used virt-manager and was able to get 2 domUs working ( CentOS 5, and
> Fedora 16).
> My domUs reside on Logical Volumes in an LVM, on a second hard disk sda2,
> while my dom0 is installed on sda1. Everything is working fine in this
> configuration.
> I want to use Xen 4.1 since I want to continue using
> virt-install/virt-manager for domU provisioning.
> For my work now, I want to install Xen from source and try to modify some
> source code files and test things out.
> I have seen some tutorials online, and I am not sure they give the complete
> picture.
> For ex,
> http://wiki.xen.org/wiki/Xen_4.2_Build_From_Source_On_RHEL_CentOS_Fedora
> Fedora 17 uses grub 2. When we do a yum install, the grub entries are taken
> care of and things just work.
> When I install from source, this is not the case. Are there any tutorials
> which give a complete picture?
> Or if someone has got Xen working from source on Fedora 16, 17 or 18, can
> you give me tips on how to edit grub configuration so that xen boots ok.
> I have tried and failed once compiling and installing Xen on Fedora 16,
> which is when I used yum.

For the grub entry, the simplest method is to place your binary under
/boot and invoke update-grub2 (which is also invoked when you do 'yum
install' if I'm not mistaken). In theory it should do the right thing.

Another method to solve your problem is to modify grub.conf yourself.
Just copy the entry that 'yum install' adds in grub.conf, replace the
binary file name with the one you compile and you're all set.

You might also find this page useful if you're to develop Xen.
(it also contains sample entries for legacy grub and grub2, nice ;-) )


> -- 
> Ranjith krishnan

> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxx
> http://lists.xen.org/xen-users

Xen-users mailing list



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