On Di, Apr 01, 2008 at 02:49:43 -0400, James Pifer wrote:
> I have a CentOS server that I started to rebuild using Xen. It's turning
> out to have lot more configuring than I thought. So instead of building
> a new server and setting everything up again, is there any way to
> convert a running, stand alone linux system into a xen image?
>
Yes, of course you can.
First of all, you must know, do you want to convert it
to a PV or an HVM Xen domain.
HVM:
1) Just copy image of your server to a logical volume of
the Xen server LVM or to any other block device.
Xen uses plain raw images for vm images storing.
To do this you can boot your Cent OS to single user mode (and bring
network up manually) or use Knoppix or any live cd.
2) Create config for new domain.
3) Run it.
PV:
Like HVM, but after that (and before domain start),
you also should do:
1) Copy into domain file system kernel modules
(/lib/modules/`uname -r`)
2) Modify /etc/fstab (if needed)
3) Modify /etc/udev/rules.d (if needed)
It's better to start from converting into HVM
and the convert it into PV if needed.
> Googling I see people converting xen to parallels, vmware to xen, and
> even Windows to Xen, but I could not find converting a linux system.
>
> Thanks,
> James
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
--
WBR, i.m.chubin
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|