6

I have the hard disks from a PC that was happily running Windows Me until is it suffered an unknown hardware failure. The drives are intact, and can be mounted and read on other PCs.

We have data backups, but there is licensed software installed that may not be possible to migrate to newer versions running on a more modern platform making the idea of just booting a virtual image attractive.

Is it possible to make VHDs from the drives such that I can boot them in VirtualPC?

If not VirtualPC, would it be possible in any other virtualization tool?

Edit: Some more details....

The system was running Windows Me, but upgraded from Windows 95 (or possibly 98). It can't have been more than a Pentium II, but I will have to look at the motherboard to confirm that. There were no "exotic" devices installed, and nothing beyond the usual legacy stuff that would need to survive into a virtual machine.

The licensed software did not have a dongle, so I won't need to worry about virtualizing a physical dongle of some kind. Licenses were probably died to the disk serial number.

There were two HDs, both IDE. The boot disk is about 6GB, and the spare data disk is 12GB, but nearly empty.

I have a small bias in favor of VirtualPC just because its free and I've used it successfully in the past. But this is a good excuse to revisit the state of the art.

I do know from direct experience that it is possible to install and boot DOS 5.0 and Win95 in VirtualPC, but the VM extensions weren't available so the experience isn't as seamless as I would have liked. A very old DirectX game that failed miserably under XP SP2 runs really nicely on that VM, and actually plays better in a lot of ways than it did on period hardware, so that gives me hope that this is possible.

Edit 2:

Well, I'm closer than I was when I asked... so thanks to all for helpful suggestions and hints to what I should be trying.

I used WinImage to copy the disks, and VirtualPC 2007 to attempt to boot. So far, I have it booting in safe mode, but hanging with a black screen otherwise. I strongly suspect that the copy of Artisoft Lantastic 8.0 (anyone else remember them?) that is still installed for networking with even older PCs that mostly don't exist any more is the culprit there.

In my infinite free time, I will try to resolve the differences between a Safe Mode boot and a normal boot, and feel that it is likely to yield to pressure.

I'd accept more than one answer if I could... this isn't as black and white a question as the one accepted answer convention assumes.

5
  • I was about to say "easy" -- but that WinME kind of throws a wrench in things, doesn't it?
    – Ben Dunlap
    Jun 19, 2009 at 0:42
  • Yup. ;-) It could be worse, I still have a running PDP-11 in the other room that must be at least 25 years old by now...
    – RBerteig
    Jun 19, 2009 at 6:09
  • I am not sure that a PDP-11 is worse than Windows ME. :) ME, the old Vista.
    – Matt
    Jun 19, 2009 at 17:17
  • There are probably more people who like using PDP-11's than have ever liked using Windows ME. Jun 20, 2009 at 1:52
  • @Even, too true... but Me has got to be easier to virtualize than a PDP today ;-) I'm not sure how I'd get the disks imaged, for instance. Then there's the 9-track tape to think about....
    – RBerteig
    Jun 21, 2009 at 5:01

8 Answers 8

3

WinImage can open Virtual PC and VMWare images, convert between physical and virtual, and even convert between VMWare and VHD. This is a incredible tool, has a 64 bit version and and is free.

WinImage Site

3
  • 1
    That looks like a nice, clean solution.
    – RBerteig
    Jun 19, 2009 at 21:41
  • WinImage did a good job of turning the physical drives into VHD files via a USB to IDE cable.
    – RBerteig
    Jun 22, 2009 at 21:57
  • As an update. It doesn't look like WinImage is still free. It's now shareware (30-day trial). It's still very reasonably priced though (30$). Jul 14, 2013 at 14:01
3

I recently played with VMWare VCenter Converter Standalone (free download from vmware site). I noticed this had an option to convert a physical machine into a virtual machine, and whilst I didn't try this option myself, this might be worthy of further investigation for your needs. There seems to be a few tools out there to convert between the various VHD formats so you might be able to get it back into Virtual PC. YMMV.

2
  • Won't he need to be able to boot the physical system in order to do this? He can't boot the physical system-- he just has the disks. Jun 19, 2009 at 2:32
  • All attempts to resurrect the physical system failed. I have both physical drives, and I even know which one was the boot drive... I definitely need a solution that can be done from the disks alone.
    – RBerteig
    Jun 19, 2009 at 5:50
2

Well, it's really, really easy to convert physical disks to VHDs with Hyper-V: http://blogs.msdn.com/virtual_pc_guy/archive/2008/04/08/copying-a-physical-disk-to-a-virtual-hard-disk-with-hyper-v.aspx

If I were going to do this with VMware, I'd create a new VM with the same number, size, and type (IDE or SCSI) disks as the host computer. I'd also add SCSI disks that connect to the physical hard disk drives (already mounted up in the host computer). I'd boot a disk imaging program on the VM (Ghost, Clonezilla, etc) and clone the SCSI disks representing the physical disks over to the virtual disks.

That looks possible with VirtualPC to a point, but the release notes for VirtualPC 2007 (http://download.microsoft.com/download/4/4/c/44ccd131-67fb-4224-a96e-193be1765b43/relnotes.htm) say that attaching physical disks to VMs is no longer possible. (Seems like a silly thing to remove...)

Now, after you convert those disks, will they boot? Who knows. If the original system was using IDE disks, I'd say you've got an 80/20 shot that it'll boot. You'll see a lot of driver detect messages, and you'll have to use a virtual machine manager that has driver support for WinME for its virtual devices. That may be a challenge.

Hope that gives you some ideas.

2
  • Very interesting... can you attach the physical hard drive as the boot device? or only as an additional drive? Jun 19, 2009 at 16:14
  • Oh, you can definitely attach it as the boot device. That's how I do my off-site backups for my little home file server. I have several drives in USB boxes that are mirrors of the Linux box that is my home server (albeit configured for a different IP address and hostname but otherwise identical). I attach one to a desktop machine on my LAN, create a VMware virtual machine referring to that external disk, then boot the physical drive as a VM and rsync it to the physical Linux box. If I have a disaster, I can put that drive right into a similar system and boot it bare metal. Jun 19, 2009 at 16:35
2

You should use the free Disk2VHD tool which will create a VHD from a disk, even if currently running. It also neatens up the device listings so the VHD will boot correctly under VirtualPC/Hyper-V/Windows Virtual

This tool was written by Mark Russinovich and the gang at SysInternals. It runs perfectly even while INSIDE the machine being imaged.

1

One issue you'll definitely run into is hardware recognition. Windows historically 'freaks out' when you take a drive from one machine, install it in another that has different hardware components, and attempt to boot (which is essentially what you'd be doing).

Basically, if Windows determines upon boot up that too much has changed in the system from the current configuration in the registry, it will just stop the boot process and give you an error message.

But if you get around that, it should be possible.

2
  • Windows ME (and all the DOS-derived Windows versions) is a lot more forgiving for that that than the NT operating systems. I've regularly restored Pentium II-era and earlier Windows 98 images onto VMware virtual machines with minimal issues. Jun 19, 2009 at 2:31
  • @Even, that is a good sign.
    – RBerteig
    Jun 19, 2009 at 6:14
1

By using VMWare Converter, as Dan suggests, we have had great success converting 'deprecated' development machines into perfectly functional virtual machines. Note that the process does take quite a long time to complete (I did the conversion to another machine over the local network. A physically attached disk would likely be faster).

I've not tried creating an image from a bare disk, however the converter tool appears to be quite robust and I would hope it supports your particular scenario. Perhaps you have a similar machine that the drive will boot on (after imaging the drive first!) ?

Also, there are methods to convert the VMWare VMs to Virtual PC VMs, if you really want to run on Virtual PC or Hyper-V. You can use the free VMWare server product to avoid this step.

1
  • I'll take a look at VMWare Converter, that sounds promising.
    – RBerteig
    Jun 19, 2009 at 6:17
1

It might be just as easy to pop the physical disks into another machine or a caddy and create a ghost image from them which you can restore to a vhd, keeping in mind the issues others have mentioned about keeping the settings of the virtual machine as similar to those of the real one as possible.

2
  • The drives are loose on my desk, and I used a spare caddy to verify that I could read them this afternoon...
    – RBerteig
    Jun 19, 2009 at 6:19
  • should be easy to grab a ghost type image then! Wherever you end up deploying them, this could be an easy way of getting started on that process.
    – Rob Moir
    Jun 19, 2009 at 7:50
0

You could have a look at MOA

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .