This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-users] Convert CentOS system to Xen image?

On Do, Apr 03, 2008 at 10:11:04 -0400, James Pifer wrote:
> > So, i think that the easier way to do this, its the follow:
> > 
> > - Install one new CentOS inside Xen, using Virt-Manager with sufficient
> > space to do the migration;
> > - Boot this one, test, and lean how to start and stop this virtual
> > machine;
> > - Backup this machine;
> > - Just "rsync" all "/" from the physical one for inside of "/" of
> > virtual one;
> > - Restore your backup from /etc/hosts, /etc/fstab, /etc/mtab/
> > ifcfg-eth-x, lilo.conf, menu.lst and be happy :-)
> > 
> > May the Force be with you!
> > 
> Igor, I followed your last suggestion and now I'm back to "A valid boot
> sector was not found. The installation may have failed." No config file
> has been written yet either. (yes, using virt-manager)
> All the steps you wrote went without a hitch and I verified fstab was
> updated correctly. 

Please, show the config file you use
to start the virtual machine.

It should be situated in the /etc/xen/ directory.

Also, try to use command lines tools like xm
and after success with them you may switch 
to virt-manager

> Tiago, I've tried installing CentOS 4.5, 4.6, and 5.1 using
> virt-manager, but none of them see a disk to install to once the CentOS
> install process starts. Maybe there's a special way to run these
> installs. I'll have to google for that. SLES10.1 installs without doing
> anything special. 
> Thanks,
> James

WBR, i.m.chubin

Xen-users mailing list