|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Convert physical server to VM
I would dd the server's hard drive to an image file. Its probably the most
straightforward way.
dd if=/dev/sda of=server.img
use your servers hard drive device node in place of /dev/sda
then write up a domU config:
# general
name = "newVM";
memory = 1024;
# booting
kernel = "/boot/vmlinuz-2.6.x-xenU";
ramdisk = "/boot/initrd-ifyouhaveone";
builder = "linux";
# virtual harddisk
disk = ['tap:aio:/xvmstore/images/vmThree.img,sda,w'];
root = "/dev/sda1 ro"; #or whatever your root partition is
-Joe
On Wednesday 22 August 2007 16:54:06 Simon Gao wrote:
> Hi,
>
> Anyone has any suggestions on programs, utility or instructions on how
> to convert a physical server to domU VM?
>
> Thanks,
>
> Simon
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
--
---
Joseph Smith
smithj@xxxxxxxxx
(402)476-8786 x391
Linux IT Specialist
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|