Jump to content

Recommended Posts

Posted

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

Posted
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'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.

  • Thanks 1
Posted
Would clonezilla work? disk to image, image to vhd?

 

I've never tried Clonezilla, although I've not had much luck with FOG imaging Linux in the past.

Posted

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

  • Thanks 1
Posted
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?
  • Thanks 1
Posted
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?

 

Ubuntu 10.04?

  • 3 weeks later...
Posted
aren't they open source and in the kernel ?

 

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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...