I know you can do disk to VHD etc but can you migrate a Linux install to a VHD with a 3rd party tool?
I want to clone an old PC that runs Xibo and migrate it into my hyper-v server
Thanks
Chris
Printable View
I know you can do disk to VHD etc but can you migrate a Linux install to a VHD with a 3rd party tool?
I want to clone an old PC that runs Xibo and migrate it into my hyper-v server
Thanks
Chris
I've never had a problem simply TAR-ing the whole machine's harddrive up and un-TAR-ing it again on the virtual volume. Generally works for moving between physical machines, too. I tend to be using Debian, and I tend to be using Xen as a virtualisation platform, reults with other platform combinations may vary.
Would clonezilla work? disk to image, image to vhd?
sounds stupid, but how about vmware convertor to vmdk and then vmdk to vhd
yes you can do this i have convereted a real linux server to a hyper-v server
you need to whip the disk out of the linux server put it as a slave in a windows computer and use dd for windows to take a image of the disk (it will take the whole size of the physical disk despitet the amount data stored on on it).. i think you could use dd in linux too...
then there is a tool called vhdtool that will convert the dd image file to a VHD this will then boot in hyper v you may need to sort out the networking if the nic changes etc.. but it does work i did it with ubuntu.
Linux P2V With DD and VHDTool
Create a new VM and HD, boot it with a live CD then use DD to drag the whole lot over the network. Should work alright.
Clonezilla will work, I've used this method in the past with VMWare and VMDK's. As should making the drive a slave in a Windows box and using disk2vhd. A bigger question is... Does M$ provide drivers for your flavour of linux?
aren't they open source and in the kernel ?
Going down the Linux DD to img route and converting using vhdtool.
Will let you know how I get on
thb, don't know for sure (a google search should answer), certainly didn't used to be. I know MS made a big thing about only supporting 1 or 2 distro's. Something like Red Hat and Debian. I'm sure the drivers are on the Additions ISO which can be found in the Tools menu of the VM window.
You'll probably find the drivers will work with distro's based off of these, such as CentOS, but obviously changes made in compiling the child distro might have an effect.
here we go...
Download: Linux Integration Services Version v3.2 for Hyper-V - Microsoft Download Center - Download Details
PDF says Red Hat and Suse.
Hyper V is in the Kernel. Microsoft screwed up so was forced to submit patches. These patches are in kernels 2.6.3 and up.
Yes. From kernel version 2.6.32 onwards.
I think v3.4 is the latest version of the integration services. Windows Server 2012 and Windows 8 Pro hosts are now supported.
www.microsoft.com/en-us/download/details.aspx?id=34603