[Fedora-xen] Migrating An OS Installation from a Physical Machine to a Xen Paravirtual Guest

Graham Jenkins graham at vpac.org
Tue Apr 3 01:38:22 UTC 2007


On Tue, 2007-04-03 at 09:28 +0800, Adrian Chadd wrote:
> On Tue, Apr 03, 2007, Graham Jenkins wrote:
> > It has been said that it's possible to do the above. Does anybody have
> > details of how one might go about it?  It's easy enough to create, then
> > extract from .. tar images. 
> > 
> > But I can't figure how to do the grub stuff.  Suggestions?
> 
> Do you need to use py-grub?
> 
> All my migrations worked fine - move the entire OS into an LVM, install the
> Xenified kernel inside the VM and in dom0 so the kernel can boot from dom0
> and the modules can load inside domU; install Xen-happy libraries so you
> don't get hit by the massive amounts of logging the Redhat/fedora kernels do
> when dealing with fixing up segment hacks.
> 
> I haven't had (yet) to use py-grub.

OK .. but how do you make the FC6 Xen kernel access physical partions.
Something like:
--
disk = [ 'phy:VolumeGroup00/ng2Root,sda1,w',
         'phy:VolumeGroup00/ng2Swap,sda2,w']
--
.. doesn't work with the supplied Xen kernel.


-- 
 Graham Jenkins +61 3 9925 4909 
 Victorian Partnership for Advanced Computing http://www.vpac.org/
 PO Box 201, Carlton South, Vic. 3053, Australia
 




More information about the Fedora-xen mailing list