+ Post New Thread
Results 1 to 15 of 15
Thin Client and Virtual Machines Thread, Linux OS drive to VHD? in Technical; I know you can do disk to VHD etc but can you migrate a Linux install to a VHD with ...
  1. #1

    CHR1S's Avatar
    Join Date
    Feb 2006
    Location
    Birmingham
    Posts
    4,570
    Thank Post
    1,652
    Thanked 506 Times in 309 Posts
    Rep Power
    221

    Linux OS drive to VHD?

    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

  2. #2

    dhicks's Avatar
    Join Date
    Aug 2005
    Location
    Knightsbridge
    Posts
    5,767
    Thank Post
    1,306
    Thanked 803 Times in 697 Posts
    Rep Power
    245
    Quote Originally Posted by CHR1S View Post
    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.

  3. Thanks to dhicks from:

    CHR1S (13th September 2012)

  4. #3

    CHR1S's Avatar
    Join Date
    Feb 2006
    Location
    Birmingham
    Posts
    4,570
    Thank Post
    1,652
    Thanked 506 Times in 309 Posts
    Rep Power
    221
    Would clonezilla work? disk to image, image to vhd?

  5. #4

    dhicks's Avatar
    Join Date
    Aug 2005
    Location
    Knightsbridge
    Posts
    5,767
    Thank Post
    1,306
    Thanked 803 Times in 697 Posts
    Rep Power
    245
    Quote Originally Posted by CHR1S View Post
    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.

  6. #5
    oxide54's Avatar
    Join Date
    Mar 2009
    Posts
    798
    Thank Post
    51
    Thanked 55 Times in 54 Posts
    Rep Power
    23
    sounds stupid, but how about vmware convertor to vmdk and then vmdk to vhd

  7. Thanks to oxide54 from:

    CHR1S (13th September 2012)

  8. #6
    k-strider's Avatar
    Join Date
    Oct 2006
    Location
    Gloucester
    Posts
    358
    Thank Post
    7
    Thanked 40 Times in 30 Posts
    Rep Power
    24
    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

  9. Thanks to k-strider from:

    CHR1S (13th September 2012)

  10. #7

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,271
    Thank Post
    884
    Thanked 2,749 Times in 2,322 Posts
    Blog Entries
    11
    Rep Power
    785
    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.

  11. Thanks to SYNACK from:

    CHR1S (13th September 2012)

  12. #8

    tmcd35's Avatar
    Join Date
    Jul 2005
    Location
    Norfolk
    Posts
    6,053
    Thank Post
    896
    Thanked 1,008 Times in 821 Posts
    Blog Entries
    9
    Rep Power
    349
    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?

  13. Thanks to tmcd35 from:

    CHR1S (13th September 2012)

  14. #9

    CHR1S's Avatar
    Join Date
    Feb 2006
    Location
    Birmingham
    Posts
    4,570
    Thank Post
    1,652
    Thanked 506 Times in 309 Posts
    Rep Power
    221
    Quote Originally Posted by tmcd35 View Post
    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?

  15. #10
    oxide54's Avatar
    Join Date
    Mar 2009
    Posts
    798
    Thank Post
    51
    Thanked 55 Times in 54 Posts
    Rep Power
    23
    aren't they open source and in the kernel ?

  16. #11

    CHR1S's Avatar
    Join Date
    Feb 2006
    Location
    Birmingham
    Posts
    4,570
    Thank Post
    1,652
    Thanked 506 Times in 309 Posts
    Rep Power
    221
    Going down the Linux DD to img route and converting using vhdtool.

    Will let you know how I get on

  17. #12

    tmcd35's Avatar
    Join Date
    Jul 2005
    Location
    Norfolk
    Posts
    6,053
    Thank Post
    896
    Thanked 1,008 Times in 821 Posts
    Blog Entries
    9
    Rep Power
    349
    Quote Originally Posted by oxide54 View Post
    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.

  18. #13

    tmcd35's Avatar
    Join Date
    Jul 2005
    Location
    Norfolk
    Posts
    6,053
    Thank Post
    896
    Thanked 1,008 Times in 821 Posts
    Blog Entries
    9
    Rep Power
    349
    Last edited by tmcd35; 1st October 2012 at 01:49 PM.

  19. #14

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,850
    Thank Post
    110
    Thanked 598 Times in 514 Posts
    Blog Entries
    1
    Rep Power
    227
    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.

  20. Thanks to Geoff from:

    tmcd35 (1st October 2012)

  21. #15


    Join Date
    Feb 2007
    Location
    51.403651, -0.515458
    Posts
    9,774
    Thank Post
    262
    Thanked 2,963 Times in 2,178 Posts
    Rep Power
    838
    Quote Originally Posted by oxide54 View Post
    aren't they open source and in the kernel?
    Yes. From kernel version 2.6.32 onwards.

    Quote Originally Posted by tmcd35 View Post
    Linux Integration Services Version v3.2 for Hyper-V
    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

  22. Thanks to Arthur from:

    tmcd35 (1st October 2012)



SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 9
    Last Post: 16th April 2011, 07:22 PM
  2. Replies: 5
    Last Post: 26th January 2007, 12:22 AM
  3. 'Linux' forum renamed to '*nix'
    By CyberNerd in forum General EduGeek News/Announcements
    Replies: 3
    Last Post: 12th June 2006, 10:19 AM
  4. 'Linux' forum renamed to '*nix'
    By Ric_ in forum General EduGeek News/Announcements
    Replies: 0
    Last Post: 11th June 2006, 09:05 PM
  5. mapping a drive to web folder in windows xp
    By russdev in forum Windows
    Replies: 1
    Last Post: 3rd October 2005, 09:31 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •