Re: Migrating An OS Installation from a Physical Machine to a Xen Paravirtual Guest

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

 



On Tue, Apr 03, 2007, Graham Jenkins wrote:
> 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']

disk = [ 'phy:data/XEN_cindy_root,sda1,w', 'phy:data/XEN_cindy_swap,sda2,w' ]

Linux hosting-2 2.6.18-1.2257.fc5xen0 #1 SMP Fri Dec 15 17:35:10 EST 2006 i686 athlon i386 GNU/Linux

Watch your domU dmesg and make sure that there's no errors relating
unmatched Xen devices or such; you need to be sure the domU
has the Xen block and network devices loaded (the Xen block device
being loaded in initrd or compiled into the kernel!) or your
domU won't be able to mount the root device.



Adrian

--
Fedora-xen mailing list
Fedora-xen@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-xen

[Index of Archives]     [Fedora General]     [Fedora Music]     [Linux Kernel]     [Fedora Desktop]     [Fedora Directory]     [PAM]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux