Blog Entry
Oh, all right, it's nothing to do with the alphabet, but it is about P to V - physical to virtual: one problem you may come across when trying to create virtual machines from physical ones.
I had a customer who needed to send me a copy of their PC: so they took a ZEN image, put it on a DVD and posted it to me (it was about 3.5gb, and uploading that to ftp.novell.com was going to take just a bit too long). I used the DVD to create an image in VMWARE, but immediately got a BSOD (Blue Screen Of Death) saying INACCESSIBLE_BOOT_DEVICE. I slapped myself around a bit, for forgetting that VMWARE, when creating new virtual disks, likes to create SCSI disks, which wasn't what I needed! So I deleted the disk, created an IDE one and repeated the process - same problem :-( What was happening was that W2k (in this instance, but XP does it as well) had only installed the disk drivers for the controller in the original PC, and so couldn't find my virtual disk. So at this point, I did what most people who work in IT would do: I used a search engine... lots of hits, but the most succinct was this Move an IDE Drive w/Windows 2000 or XP to A New System which shows that you need to add at most four files to your image plus some registry entries to make it work on all standard IDE controllers.
The sneaky thing that I did was rather than ask the guy to send me the whole updated image, I sent him the .reg file from the web site, asked him to apply it to his PC, then re-image it, but delete everything from it except c:\winnt\system32\config\system (obviously with XP that would be c:\windows\...) which is where HKLM\system is physically stored. I used image explorer to replace the system file in the image, added the device drivers, and the image boots just fine!
Now all I need to do is fix the problem that led him to send me the image in the first place...
Stop Press: See the post from Klaus Arpe, where he points out that you can load the "system" file into regedit under a temporary hive, which would have saved me even more work - thanks Klaus!
Related Articles
User Comments
Shaun, Have you used the
Submitted by Marcus (not verified) on 12 December 2006 - 4:37am.
Shaun,
Have you used the next version of VmWare's P2V called Convertor, it's supposed to work while the original box is still running unlike P2V where you boot from a Knoppix based image.
Went on the Virtual Infrastructure 3 course a few weeks back in Toronto, very good fun.
have fun
Marcus
- Be the first to comment! To leave a comment you need to Login or Register
Yes, I had a quick look at
Submitted by Shaun Pond (not verified) on 12 December 2006 - 8:38am.
Yes, I had a quick look at it, it certainly looks interesting - of course, in this instance I didn't have the physical server, but I guess, if it deals with the drivers, it would be a good option to get people to use before they send an image of a windows box.
- Be the first to comment! To leave a comment you need to Login or Register
I've tried imaging in
Submitted by David Rickard (not verified) on 12 December 2006 - 9:32am.
I've tried imaging in Virtual PC 2005 - it sucks! It takes an AGE to do it, and usually falls over anyway. I pulled an image from our servers for our student PCs, which took about 8 hours. After all that imaging, it wouldn't boot. Just a blank screen! I think I'll try VMWare this time. I only used Virtual PC because it was free.
- Be the first to comment! To leave a comment you need to Login or Register
I used to use Virtual PC -
Submitted by Shaun Pond (not verified) on 12 December 2006 - 11:28am.
I used to use Virtual PC - before MS bought it: I had to give up because it didn't support NetWare as a client. I have a windows and Linux workstation VMWARE license I use, and I took out a VMTN subscription (with my own money!) so I can install what I like in my lab without worry.
- Be the first to comment! To leave a comment you need to Login or Register
Great post. I've had this
Submitted by Grant Ballard (not verified) on 12 December 2006 - 11:34am.
Great post. I've had this problem but didn't have the time or energy to track a solution down. I'm gonna put this in my Scrapbook (firefox extension)
- Be the first to comment! To leave a comment you need to Login or Register
It would generally just be
Submitted by Gavin (not verified) on 13 December 2006 - 2:44pm.
It would generally just be easier to change the Disk Controller to Standard in XP and then take an image.
This is what you do when using any imaging that goes across different machine types.
This generally solves all those translation issues.
BTW VMWare Server is free - Works fine on XP/2003 and Linux.. Far better than the MS offerings.
- Be the first to comment! To leave a comment you need to Login or Register
Cool. I have done the P to
Submitted by Dennis Crowther (not verified) on 13 December 2006 - 4:16pm.
Cool. I have done the P to V thing a couple of times, but I have had to repair/reinstall from the Windows CD to get it to work. This looks like it will be much easier.
- Be the first to comment! To leave a comment you need to Login or Register
Thanks Grant, you can
Submitted by Shaun Pond (not verified) on 13 December 2006 - 4:47pm.
Thanks Grant, you can imagine how I felt after I got the image and it Blue-screened on me - he'd sent it over 9,000 miles after all!
- Be the first to comment! To leave a comment you need to Login or Register
You could have done that
Submitted by Klaus Arpe (not verified) on 14 December 2006 - 1:45am.
You could have done that locally too. Regedit allows to directly edit Registry files. Use the Function "Lode Hive" and load te Registry file from your Image. Do the change an with "Unload hive" the file is saved back. This works for HKEY_LOCAL_MACHINE and HKEY_USERS. You must give a temporary name for the Sukey.
- Be the first to comment! To leave a comment you need to Login or Register
...and NetWare! The Free
Submitted by Sebastiaan Veld (not verified) on 14 December 2006 - 3:37am.
...and NetWare! The Free VMware Server solution running on both Windows and Linux is the best solutions for testing purposes. I use it all the time.
- Be the first to comment! To leave a comment you need to Login or Register
True, but of course I
Submitted by Shaun Pond (not verified) on 14 December 2006 - 5:38am.
True, but of course I already had the image, and didn't want the guy to have to ship another DVD half-way across the world ;)
- Be the first to comment! To leave a comment you need to Login or Register
I was pleasantly surprised
Submitted by Shaun Pond (not verified) on 14 December 2006 - 5:38am.
I was pleasantly surprised by how easy it was!
- Be the first to comment! To leave a comment you need to Login or Register
Hey that's good - to be
Submitted by Shaun Pond (not verified) on 14 December 2006 - 5:45am.
Hey that's good - to be honest I had presumed that the file "system" was not readable outside of a running windows environment! Looking at the file, you get ControlSet001 and ControlSet002, so a slight change to that .reg file to import to the temporary hive under ConstrolSet001 would have done the trick. Much easier, thanks!
- Be the first to comment! To leave a comment you need to Login or Register
If you are using VMware
Submitted by Joel Garrett (not verified) on 14 December 2006 - 9:17pm.
If you are using VMware Workstation 5.x don't forget that you have the option of using the built-in VM importer feature, which can read Ghost 10 image files directly - requires an extra step, but Ghost 10 is one heckuva lot easier to swallow for folks on a tight budget. VMware Workstation and Server also both come with command line utilities which can be used to mount a virtual disk image so that you can add/delete files from an image without booting it and even do cool things like resize virtual disks, convert from IDE to SCSI, etc. (granted, for the resize you'll still need something like Ranish Partition Manager or Partition Magic to actually resize the OS partitions) This comes in handy when you are importing an image from a physical machine's Ghost image which had a disk size of like 80 GB and you want to pare down the max size of the virtual machine's virtual disk.
- Be the first to comment! To leave a comment you need to Login or Register
I've had good success doing
Submitted by Chris Hopp (not verified) on 19 December 2006 - 5:28am.
I've had good success doing P2V with Personal Backup Appliance:
http://www.vmware.com/vmtn/appliances/directory/321
It uses Partimage and other Open Source tools to create an easy to use imaging system. It is not as sophisticated as ZENWorks or Ghost. But, for a free (GPL) product, it works surprisingly well. Good documentation, too.
Discussion forums are here:
- Be the first to comment! To leave a comment you need to Login or Register
The Vmware P2V utility (now
Submitted by Andrew Armstrong (not verified) on 19 December 2006 - 10:38am.
The Vmware P2V utility (now called converter) will automatically fix drivers within an existing virtual machine. I use the zen imaging utility to create a clone of a physical machine, then run the P2V utility against the vmware disk files. Fixes any issues with disk (and other) drivers. Would have saved some hassle....
- Be the first to comment! To leave a comment you need to Login or Register
P2V/Converter are NOT free.
Submitted by Joel Garrett (not verified) on 19 December 2006 - 7:43pm.
P2V/Converter are NOT free. The V2V/importer built into Workstation 5.x does many of the same driver fixups at no additional licensing charge.
- Be the first to comment! To leave a comment you need to Login or Register
I used the VMware Virtual
Submitted by Bert Hoogendoorn (not verified) on 20 December 2006 - 12:36am.
I used the VMware Virtual Machine Importer 2 once for a altiris w2k3 image works excellent, don't know for windows XP.
BTW it is also free.
- Be the first to comment! To leave a comment you need to Login or Register


18