2011: Best Videos of the Year
The contents of this post have been merged into a new Best Videos Ever post.
The contents of this post have been merged into a new Best Videos Ever post.
I was using Windows XP as the guest operating system in a virtual machine (VM) on VMware Workstation 7.1, running on Ubuntu 10.04 (Lucid Lynx). I had developed a customized WinXP installation in that VM. Now I wanted to install that same tweaked version in physical form, as a dual-boot option on that computer. I did not want to go through all of the time-consuming steps that had been required to create that tweaked installation. I hoped, instead, that it would be possible somehow to convert the VM to a physical installation. This post describes what I tried and learned in that effort.
The fact that both the VM and the physical dual-boot installation would be on the same computer did not necessarily make things easier. VMware VMs used virtual hardware that did not match my physical hardware. In other words, simply making an image of the VM and restoring it to the physical machine would run into the same problems as if I made an image on one physical computer and restored it on another. That's not to say it couldn't be done. It would just require more than a simple image-and-restore procedure.
There seemed to be a couple of different ways to go. Through a search, I found that VMware itself offered a virtual-to-physical (V2P) conversion procedure. This would permit conversion of the .vmdk file directly to a physical installation. That procedure was quite complex, however, and that meant there could be quite a few ways in which it might not go exactly according to plan. There was also the problem that, according to the detailed description, they had not actually tested it on Windows XP. It seemed that it might be worth investing the time in this procedure if I were going to do this frequently. A quick glance suggested that many of the steps would only be hard or time-consuming the first time around. For my purposes, though, I was not sure that this would be much faster than just reinstalling Windows from scratch, and it would probably be less reliable.
What looked more promising was to try the Universal Restore feature of Acronis True Image 2011 (ATI). Universal Restore was available through the Plus Pack that had to be purchased in addition to ATI itself. The combination of ATI and Plus Pack, together, would cost around $80 unless you got it on sale. The general concept seemed to be that you would install ATI, install the Plus Pack, create a bootable ATI CD (or USB drive) that would automatically include the Universal Restore capability (provided you did install the Plus Pack first), use that to make an image of the VM, and then restore that image to the physical machine. So this is what I decided to try.
When I started poking around the Acronis website in search of guidance on the details of the Universal Restore process, I came across a link to a search of the Acronis KnowledgeBase. This turned up more than a thousand entries. A quick scan of some of the first search results suggested that some of those entries existed because people had run into problems in the Universal Restore process. It seemed I would need to brace myself for a somewhat finicky and potentially time-consuming effort. I decided to go ahead with it, though. Unlike the VMware V2P process, I knew that I had used Acronis many times in recent years, and I figured I would probably be using this procedure again, or something related to it. So it would hopefully be a productive time investment.
The Universal Restore process was emphatically a restore process. The instructions I planned to follow began with the assumption that I already had an Acronis image of the VM that I wanted to convert to a physical installation. I thought, at first, that making an image of a virtual machine would be a matter of setting up VMware Workstation so that it would boot from the Acronis CD or USB drive (or, conceivably, from an ISO). I had already worked through that setup process in another post. So now I just had to insert my Acronis CD, boot the VM, and make the backup image on a Windows-compatible (e.g., NTFS) partition. The VM booted, saw the CD, and Acronis started. In my tweaked Windows installation, I had put the paging file on a separate virtual partition, so I didn't include that in the backup.
For the destination of my backup, unfortunately, I had a problem. Within this virtual world, Acronis didn't see my "network" drives -- that is, the physical drives located within this same computer that VMware treated as though they were on a network. I bailed out of the backup process and went into Acronis's Tools & Utilities > Add New Disk. But that didn't provide a solution either. My searches didn't lead to an answer. A seemingly off-target post gave me the idea that maybe the solution was to install Acronis inside the VM and then try to do the backup there. So I did that, and it worked. I saved the system backup to a separate NTFS formatted drive, so that it would be visible to my Acronis CD.
I rebooted the system with the Acronis CD in the drive, and went into Acronis. I selected Recover > My Disks > Browse and went to the image I wanted to restore. I chose the Universal Restore option and, hoping that Acronis had already loaded itself into memory, I took out the Acronis CD and inserted my motherboard's driver installation CD. Then I told Acronis to Add Search Path for the CD drive. I told it to restore both drive C and the MBR and Track 0. I designated the new partition where I wanted this to be restored to. I named that same disk as the target for the MBR recovery. I went ahead and the recovery process got underway. After a while, I got an error message,
Device driver 'PCID\VEN_1002&DEV_4390&SUBSYS_B0021458&REV_00' for 'Microsoft Windows XP Professional' cannot be found.So, oops, apparently Acronis was looking for the drivers that it did include on its own Universal Restore CD, not for the motherboard drivers. It seemed that I should have left the Acronis CD in the drive for the time being. The dialog did not give me a "retry" option, so it looked like this restoration might be toast. I reinserted the Acronis CD, clicked Cancel, and started over. But after I re-entered the target location and other options, it froze. I punched the computer's reset button and re-restarted. So then it went ahead and did the recovery. But then it wound up at the same error message. A search for that device driver name produced only four webpages, none in English, but a search for the vendor suggested that Acronis wanted the ATI driver, which I guessed meant the video driver. So apparently it had not necessarily been a mistake to leave the motherboard's driver CD in the drive, first time around.
Posted by raywood 5 comments
Labels: 2011, Acronis, convert, Plus Pack, True Image Home, V2P, virtual machine, VM, vmdk, vmware