Make your Live system into a VHD

Page 4 of 4 FirstFirst ... 234

  1. Posts : 4,364
    Windows 11 21H2 Current build
    Thread Starter
       #31

    huis - thought you might be interested in knowing that TechTarget has taken up the cry for converting live systems to VHDs....based, it seems, on the same utility I wrote about.

    Check out Converting Windows 7 deployment images to virtual hard drive files - I think you may be commenting there, eh?

    Or do the issues mentioned in the previous posts not affect a conversion of a Windows 7 pre-installation environment?
      My Computer


  2. Posts : 262
    windows 7
       #32

    It seems that article are talking about Windows 7's native VHD boot, so the vhd file is used on physical machines, rather than on a virtual machine. These two types use same format, but quite different running environment.
      My Computer


  3. Posts : 4,364
    Windows 11 21H2 Current build
    Thread Starter
       #33

    Ahh, I see the difference now.
      My Computer


  4. Posts : 8
    Windows 7 Pro x32
       #34

    Hi - i'm interested in the virtual PC side of this too! I'm running a dual boot XP/Win7 system here and i'd like to run my XP boot as a virtual machine on my Win7 install.

    I've used disk2vhd to create the image of the OS, but i can't make it boot - i get an error saying:

    Cannot attach the virtual hard disk to the virtual machine. Check the values provided and try again.

    I assume this is what others that have struggled have tried (Above) and i need to use the myoldpcs program mentioned? Or am i doing something wrong in the conversion/mounting process?
      My Computer


  5. aem
    Posts : 2,698
    Windows 7 Ultimate 64Bit
       #35

    craigeve said:
    Hi - i'm interested in the virtual PC side of this too! I'm running a dual boot XP/Win7 system here and i'd like to run my XP boot as a virtual machine on my Win7 install.

    I've used disk2vhd to create the image of the OS, but i can't make it boot - i get an error saying:

    Cannot attach the virtual hard disk to the virtual machine. Check the values provided and try again.

    I assume this is what others that have struggled have tried (Above) and i need to use the myoldpcs program mentioned? Or am i doing something wrong in the conversion/mounting process?
    You created your virtual system using disk2vhd, and you are trying to use it on what VM system? MS VM (eg virtual PC/Xpmode) or Vmware product?

    I hope you are not trying to use your VHD on a VMware system

    "Disk2vhd is a utility that creates VHD (Virtual Hard Disk - Microsoft’s Virtual Machine disk format) versions of physical disks for use in Microsoft Virtual PC or Microsoft Hyper-V virtual machines (VMs). "
      My Computer


  6. Posts : 308
    Windows 7 Professional (x64)
       #36

    [QUOTE=aem;419433]
    craigeve said:
    I hope you are not trying to use your VHD on a VMware system
    I thought that VMware supports VHD format. It can certainly open them, but I haven't tried anything other than a XPM VHD.
      My Computer


  7. Posts : 8
    Windows 7 Pro x32
       #37

    aem said:
    craigeve said:
    Hi - i'm interested in the virtual PC side of this too! I'm running a dual boot XP/Win7 system here and i'd like to run my XP boot as a virtual machine on my Win7 install.

    I've used disk2vhd to create the image of the OS, but i can't make it boot - i get an error saying:

    Cannot attach the virtual hard disk to the virtual machine. Check the values provided and try again.

    I assume this is what others that have struggled have tried (Above) and i need to use the myoldpcs program mentioned? Or am i doing something wrong in the conversion/mounting process?
    You created your virtual system using disk2vhd, and you are trying to use it on what VM system? MS VM (eg virtual PC/Xpmode) or Vmware product?

    I hope you are not trying to use your VHD on a VMware system

    "Disk2vhd is a utility that creates VHD (Virtual Hard Disk - Microsoft’s Virtual Machine disk format) versions of physical disks for use in Microsoft Virtual PC or Microsoft Hyper-V virtual machines (VMs). "

    Using the inbuilt Windows 7 Virtual PC. After going to the create a Virtual Machine option.
      My Computer


  8. Posts : 1
    W7
       #38

    Not sure how valuable disk2vhd is ...


    The discussion here about disk2vhd seems to be nice and appliable. But in reality, it is only useable under defined circumstances: a harddisc with one partition and a size below 127 GByte.

    Here is what they say at sysinternals about the program:

    "
    Disk2vhd is a utility that creates VHD (Virtual Hard Disk - Microsoft’s Virtual Machine disk format) versions of physical disks for use in Microsoft Virtual PC or Microsoft Hyper-V virtual machines (VMs). "

    The trap: Physical disk is not equal to a logical disc volume containing your win 7 installation. Most current systems are delivered with harddisks containing 1 TByte and more space. Hard disks are also partitioned (most W7 oem systems comes with 4 primary partition -> system reserved, windows system, backup/recovery, and "OEM-partition").

    Cloning such a hard disk using disk2vhd is nearly impossible (or you need a second 2 TByte hard disk to keep your vhd-file). Why is it a problem to clone a runing Windows system to a vhd?

    If you intend to clone a live system, you need only to copy the system reserved partition (if present) and the system partition to your vhd-file. Of course, you can uncheck all unnecessary logical drives in disk2vhd, before you invoke the copy process. In this case disk2vhd transfers only the contend of all selected drives to the vhd-file. But disk2vhd transfers also the whole partition structure to your vhd, independ from the logical drives you choose to copy. In consequence you will find a small vhd-file (maybe 20 or 30 Gbyte in size), containing the contend of all your selected logical drives. But the partition description of this vhd-disk says it is a "1 TByte disk with several partitions". This may cause some pitfalls. Here is, what I have found out in tests:

    I used a machine with 1 TB hard disc, containing several partitions. Then I tried to clone the partition containing Windows 7 into a .vhd-disk. The results are pretty foolish:

    - I tried to mount the resulting 20 GByte vhd-file on the same machine that has been used for cloning, using diskmanager. I received a warning, that the drive signatur conflicts with an existing disk. This is because the physical drive's signature and partition structure is identical to the id and structure of the vhd-disk. As a consequence, the mounted vhd-drive will be set "offline" (inaccessible). But there is a possibility to set the state of the vhd-drive manually to online.

    - I tried to add the newly created vhd to my boot menu. A native boot failed with a blue screen (probably because the disc structure of your vhd conflicts with the disc structure of the physical disk).

    - I tried to use the vhd-file as a disk for a virtual machine, using Windows Virtual PC, I got an error message, that an IDE-drive may have not 1 TB in size. The vhd-disk has only a size of 23 GByte, but the vhd-disk structure indicates a 980 GByte size.

    Only booting the vhd in VirtualBox worked here "out of the box". But the Windows 7 clone runs realy slow - responses to mouse clicks are delayed, start menu wasn't useable etc. - an experience I made with several clones. Booting in VMware player failed also with a disc access error.

    As a conclusion, I feel that disk2vhd will not be too helpful for real world use. I guess, I will give MyOldPC a try. Also the Paragon converter seems to do the job.
      My Computer


 
Page 4 of 4 FirstFirst ... 234

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 02:20.
Find Us