+ 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,491
    Thank Post
    1,575
    Thanked 481 Times in 302 Posts
    Rep Power
    216

    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,623
    Thank Post
    1,240
    Thanked 778 Times in 675 Posts
    Rep Power
    235
    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,491
    Thank Post
    1,575
    Thanked 481 Times in 302 Posts
    Rep Power
    216
    Would clonezilla work? disk to image, image to vhd?

  5. #4

    dhicks's Avatar
    Join Date
    Aug 2005
    Location
    Knightsbridge
    Posts
    5,623
    Thank Post
    1,240
    Thanked 778 Times in 675 Posts
    Rep Power
    235
    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
    22
    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
    357
    Thank Post
    7
    Thanked 40 Times in 30 Posts
    Rep Power
    23
    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,095
    Thank Post
    857
    Thanked 2,680 Times in 2,273 Posts
    Blog Entries
    9
    Rep Power
    769
    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
    5,636
    Thank Post
    846
    Thanked 885 Times in 733 Posts
    Blog Entries
    9
    Rep Power
    326
    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,491
    Thank Post
    1,575
    Thanked 481 Times in 302 Posts
    Rep Power
    216
    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
    22
    aren't they open source and in the kernel ?

  16. #11

    CHR1S's Avatar
    Join Date
    Feb 2006
    Location
    Birmingham
    Posts
    4,491
    Thank Post
    1,575
    Thanked 481 Times in 302 Posts
    Rep Power
    216
    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
    5,636
    Thank Post
    846
    Thanked 885 Times in 733 Posts
    Blog Entries
    9
    Rep Power
    326
    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
    5,636
    Thank Post
    846
    Thanked 885 Times in 733 Posts
    Blog Entries
    9
    Rep Power
    326
    Last edited by tmcd35; 1st October 2012 at 12:49 PM.

  19. #14

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    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.405546, -0.510212
    Posts
    8,778
    Thank Post
    223
    Thanked 2,633 Times in 1,940 Posts
    Rep Power
    780
    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, 06:22 PM
  2. Replies: 5
    Last Post: 25th January 2007, 11:22 PM
  3. 'Linux' forum renamed to '*nix'
    By CyberNerd in forum General EduGeek News/Announcements
    Replies: 3
    Last Post: 12th June 2006, 09:19 AM
  4. 'Linux' forum renamed to '*nix'
    By Ric_ in forum General EduGeek News/Announcements
    Replies: 0
    Last Post: 11th June 2006, 08:05 PM
  5. mapping a drive to web folder in windows xp
    By russdev in forum Windows
    Replies: 1
    Last Post: 3rd October 2005, 08: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
  •