i only tested thes instructions on Ubuntu, but it should work with any distro for the sake of this post we will call a running linux distro "pmachine" and a xen guest "vmachine"
- you need t otake a copy of the installation of the pmachine, this could be done in two ways
- create vmachine "data disk" as explained in xen-vmachine-howto
- copy all files from the pmachine backup to the new data disk
- remove the /boot directory of the vmachine data disk
- copy /lib of the pmachine to /lib of the vmachine
- create the xen guest config file
- and you should be done
this will create a vmachine based on the pmachine but with a different kernel (a generic kernel provided by your xen host)if you want to have the same kernel of the pmachine, then you will have to
- install a xen kernel into the pmachine
- copy over all contens of the /boot of the pmachine to /boot of the xen host
- use the kernel image copied over from the pmachine as the kernel of the vmachine in the xen guest config file
- do not copy /lib to the vmachine
Recent comments
18 weeks 2 days ago
41 weeks 1 day ago