[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Convert physical server to VM
You could mount the partitions, and then copy over the files using cp. A little slow, but it's free. --John Simon Gao wrote: Joseph Smith wrote: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 -JoeIt's hard to use dd if the drive is very large. When making an VM, I only want to system OS/Apps in one vms image file. Extra disk space can be made available from second vm image or partition. Simon _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |