VMware
1 ... 10 11 12 13 14 Previous Next 209 Replies Last post: Nov 8, 2007 5:21 AM by ukturtle   Go to original post

Re: Ultimate-P2V Available for Download

195. Jan 9, 2007 2:51 PM in response to: continuum
Click to view AaronM's profile Novice 29 posts since
Nov 12, 2006
Hokay.

I have located the source of ALL my issues. I feel like dying. How embarrasing!

For some reason I had been using HKLM as a substitute for HKEY_LOCAL_MACHINE in all my .reg files. I don't know where I got that idea from, but it DOES NOT WORK!! (although REG LOAD reports a successful import!)

So. Now that I have put the full string into my reg files, the original IDE fix continuum posted above works a treat, with no other vmscsi rubbish required.

Holy hell.. talk about wasting time over something simple!!! I could probably have got this working 3 or 4 days ago if I had realised the issue!

So, I wish to say a massive thankyou to Continuum, and anyone else following this thread who has put up with my ocnfusing nonsensesical posts! Please disgregard everything I have said previously, as it is (now) clearly rubbish!

Message was edited by:
AaronM

Re: Ultimate-P2V Available for Download

196. Jan 9, 2007 3:04 PM in response to: AaronM
Click to view continuum's profile Guru vExpert 14,431 posts since
Dec 18, 2003
Hombre - don't expect that we will let you get away with this so easy ;-)

Please give a short summary on how you imported a IDE-box into a IDE-VM ...

Ulli

Re: Ultimate-P2V Available for Download

197. Jan 9, 2007 3:10 PM in response to: continuum
Click to view AaronM's profile Novice 29 posts since
Nov 12, 2006
No problemo. I am just refining my scripts so they're a little tidier, and I will post a full summary :)
My VM just asked for vmscsi.sys during mini setup and I had to remove the scsi0.present = true to get past it, and restart. I may have to re-add it, just looking at why it asked for it.

Message was edited by:
AaronM

Re: Ultimate-P2V Available for Download

198. Jan 9, 2007 3:26 PM in response to: AaronM
Click to view continuum's profile Guru vExpert 14,431 posts since
Dec 18, 2003
Scsi0.present = true means that one of your virtual pci-slots is populated by a VMware-SCSI-controller. This is independant from the question if you really use some SCSI-disks connected to the controller.

So if you do not use scsi-disks - you also do not need that controller.
Be careful - adding or removing this controller also does have unexpected effects on your virtual nics. See my site on vmx > pci-slots if you are interested in the details.

Re: Ultimate-P2V Available for Download

199. Jan 9, 2007 3:51 PM in response to: continuum
Click to view RDPetruska's profile Guru User Moderators vExpert 15,911 posts since
Jan 11, 2005
Please give a short summary on how you imported a IDE-box into a IDE-VM ...
I can tell you what I did... I ran UP2V...
1. Create a new VM, with an IDE drive.
2. Follow the UP2V instructions - ghost peer to peer.
3. Once image has been transferred, run the reconfiguration scripts (no need for the SCSI one).
4. Reboot the guest. Done.

Re: Ultimate-P2V Available for Download

200. Jan 11, 2007 1:23 PM in response to: RDPetruska
Click to view AaronM's profile Novice 29 posts since
Nov 12, 2006
Ok, here is my solution for P2V using Altiris, WindowsPE, and VMware Workstation. Hopefully this helps someone else!

Physical machine
model: IBM 8213-H1M
OS: Windows XP SP2 Corp

Virtual Machine:
VMware Workstation 5.5.2 running on Windows Vista Business host.

Notes:
- The HAL (and the ntoskernel.exe etc) were extracted from a VM built from a genuine XPSP2 cd.

Known issues:
- Mini setup still asks for sbsetup.exe for soundblaster (cancel allows you to continue) - I suspect this is due to my BTS driverpack source files having been removed. Your mileage will vary again. I can probably fix this, but too lazy for now.

See the appendix section for file content and directory listings.

----------------------Part A - Capture IMG from Physical machine-------------------

1) Build physical workstation and apply all windows updates, patches, programs etc required.

2) Sysprep physical workstation and shut down.

3) PXE boot to WinPE and map various network drives

4) Use RDeploy to capture image to a network drive

----------------------Part B - Prepare new VM Workstation--------------------------

5) Create a new VMware workstation using default settings.

----------------------Part C - Deploy Image to Virtual PC, and Prep --------------------------

6) PXE boot vm to WinPE and map various network drives

7) Use RDeploy to restore image captured in step 4 (do not restart).

8) Copy VMware drivers to newly imaged drive:

[code]
FIRM -RECURSE COPY "U:\%#!computer@prod_name%" prod:Drivers\
[/code]

9) Load registry hive and inject keys, copy mass storage drivers to imaged drive

[code]
F:\FIRM -FORCE COPY PROD:Windows\System32\Config\System F:\Temp\%ID%.hiv

REG LOAD HKLM\System_00 F:\Temp\%ID%.hiv
REG IMPORT "U:\%#!computer@prod_name%\MassStorage\fix_ide_01.reg"
REG IMPORT "U:\%#!computer@prod_name%\MassStorage\fix_ide_02.reg"
REG UNLOAD HKLM\System_00

F:\FIRM -FORCE COPY F:\Temp\%ID%.hiv PROD:Windows\System32\Config\System

F:\FIRM -FORCE COPY "U:\%#!computer@prod_name%\MassStorage\*.sys" PROD:Windows\System32\Drivers
[/code]

10) Copy correct HAL to imaged drive

[code]
F:\FIRM -FORCE COPY "U:\%#!computer@prod_name%" prod:Windows\system32
[/code]

11) Prep sysprep.inf copy to imaged drive:

[code]
REM ReplaceTokens .\sysprep\storepatch.inf .\temp\%ID%.inf
F:\FIRM -FORCE COPY F:\temp\%ID%.inf prod:sysprep\sysprep.inf
[/code]

12) Reboot, wait approx 20 mins, then enjoy.


---------------------------------------Appendix-----------------------------------------------------------------------

Listing of U drive mapping (drivers) - I specify the folder structure c:\drivers\xxxxx as a driver source using registry key in the base image
As mentioned above, I map U drive to different locations based on the machine type I am building.
[code]
Directory of U:\

10/01/2007 03:47 p.m. <DIR> VMware Virtual Platform
0 File(s) 0 bytes

Directory of U:\VMware Virtual Platform

04/01/2007 01:49 p.m. 0 '
10/01/2007 02:46 p.m. <DIR> Audio
10/01/2007 03:47 p.m. <DIR> Chipset
04/08/2004 05:00 a.m. 131,968 hal.dll
10/01/2007 04:05 p.m. <DIR> MassStorage
21/12/2006 11:20 a.m. <DIR> Misc1
10/01/2007 03:00 p.m. <DIR> Misc2
10/01/2007 03:01 p.m. <DIR> Misc3
21/12/2006 11:20 a.m. <DIR> Net
04/08/2004 05:00 a.m. 2,056,832 ntkrnlpa.exe
04/08/2004 05:00 a.m. 2,180,992 ntoskrnl.exe
21/12/2006 11:20 a.m. <DIR> Video
4 File(s) 4,369,792 bytes

Directory of U:\VMware Virtual Platform\Audio

12/01/1999 06:26 a.m. 59,392 a3d.dll
19/07/2005 02:57 p.m. 163,840 ADIHdAud.sys
18/08/2001 02:59 a.m. 3,072 audstub.sys
31/07/2000 02:00 p.m. 130,048 ctpcir32.dll
22/06/2002 12:26 a.m. 30,720 CTSETRes.dll
22/01/1999 06:31 a.m. 2,259,070 eapci2m.ecw
27/02/2006 04:23 a.m. 22,820 oem481.inf
14/10/2005 02:16 p.m. 26,535 oem689.inf
07/09/2001 02:00 p.m. 3,126 SBPCI.bmp
07/09/2001 02:00 p.m. 3,638 SBPCI.ico
23/10/2002 04:45 a.m. 668,160 sbpci.sys
12/10/2002 01:26 p.m. 86,016 sbres32.dll
21/12/2006 03:35 p.m. 159 Setup.DIY
05/08/2004 01:00 a.m. 3,581 wave.inf
14 File(s) 3,460,177 bytes

Directory of U:\VMware Virtual Platform\Chipset

01/07/2006 03:27 p.m. 1,621 oem4.inf
01/07/2006 03:27 p.m. 10,880 vmscsi.sys
2 File(s) 12,501 bytes

Directory of U:\VMware Virtual Platform\MassStorage

05/08/2004 01:00 a.m. 95,360 atapi.sys
10/01/2007 11:34 a.m. 6,226 fix_ide_01.reg
10/01/2007 04:04 p.m. 9,123 fix_ide_02.reg
05/08/2004 01:00 a.m. 5,504 intelide.sys
17/08/2001 01:51 p.m. 3,328 pciide.sys
05/08/2004 01:00 a.m. 25,088 pciidex.sys
09/01/2007 10:03 a.m. 11,026 vmscsi.sys
7 File(s) 155,655 bytes

Directory of U:\VMware Virtual Platform\Misc1

14/11/2006 08:50 a.m. 1,556 oem1.inf
21/12/2006 11:20 a.m. 159 Setup.DIY
14/11/2006 08:50 a.m. 7,898 vmmouse.cat
14/11/2006 08:50 a.m. 11,568 vmmouse.sys
4 File(s) 21,181 bytes

Directory of U:\VMware Virtual Platform\Misc2

28/05/2005 08:14 a.m. 142,464 aec.sys
04/08/2004 12:07 a.m. 52,864 DMusic.sys
04/08/2004 12:08 p.m. 60,288 drmk.sys
04/08/2004 12:07 a.m. 2,944 drmkaud.sys
04/08/2004 12:07 a.m. 171,776 kmixer.sys
04/08/2004 01:56 p.m. 4,096 ksuser.dll
01/02/2006 10:31 a.m. 145,920 portcls.sys
04/08/2004 12:07 a.m. 6,400 splitter.sys
05/11/2005 09:55 a.m. 48,768 stream.sys
17/08/2001 03:00 p.m. 54,272 swmidi.sys
04/08/2004 12:15 a.m. 60,800 sysaudio.sys
04/08/2004 01:56 p.m. 23,552 wdmaud.drv
04/08/2004 12:15 a.m. 82,944 wdmaud.sys
05/08/2004 01:00 a.m. 23,685 wdmaudio.inf
14 File(s) 880,773 bytes

Directory of U:\VMware Virtual Platform\Misc3

05/08/2004 01:00 a.m. 27,604 mshdc.inf
04/08/2004 01:56 p.m. 74,752 storprop.dll
2 File(s) 102,356 bytes

Directory of U:\VMware Virtual Platform\Net

14/11/2006 08:50 a.m. 3,561 oem3.inf
21/12/2006 11:20 a.m. 189 Setup.DIY
14/11/2006 08:50 a.m. 7,900 vmware-nic.cat
14/11/2006 08:50 a.m. 29,488 vmxnet.sys
4 File(s) 41,138 bytes

Directory of U:\VMware Virtual Platform\Video

14/11/2006 08:50 a.m. 2,970 oem0.inf
21/12/2006 11:20 a.m. 196 Setup.DIY
14/11/2006 08:50 a.m. 91,568 vmx_fb.dll
14/11/2006 08:50 a.m. 10,544 vmx_mode.dll
14/11/2006 08:50 a.m. 9,052 vmx_svga.cat
14/11/2006 08:50 a.m. 22,704 vmx_svga.sys
6 File(s) 137,034 bytes
[/code]

Contents of fix_ide_1.reg (directly copied from http://support.microsoft.com/kb/314082 - same as the keys listed by continuum above):

[code]
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\Control\CriticalDeviceDatabase\primary_ide_channel]
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"
"Service"="atapi"

[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\Control\CriticalDeviceDatabase\secondary_ide_channel]
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"
"Service"="atapi"

[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\Control\CriticalDeviceDatabase\*pnp0600]
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"
"Service"="atapi"

[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\Control\CriticalDeviceDatabase\*azt0502]
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"
"Service"="atapi"

[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\Control\CriticalDeviceDatabase\gendisk]
"ClassGUID"="{4D36E967-E325-11CE-BFC1-08002BE10318}"
"Service"="disk"

[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\Control\CriticalDeviceDatabase\pci#cc_0101]
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"
"Service"="pciide"

[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\Control\CriticalDeviceDatabase\pci#ven_0e11&dev_ae33]
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"
"Service"="pciide"

[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\Control\CriticalDeviceDatabase\pci#ven_1039&dev_0601]
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"
"Service"="pciide"

[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\Control\CriticalDeviceDatabase\pci#ven_1039&dev_5513]
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"
"Service"="pciide"

[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\Control\CriticalDeviceDatabase\pci#ven_1042&dev_1000]
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"
"Service"="pciide"

[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\Control\CriticalDeviceDatabase\pci#ven_105a&dev_4d33]
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"
"Service"="pciide"

[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\Control\CriticalDeviceDatabase\pci#ven_1095&dev_0640]
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"
"Service"="pciide"

[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\Control\CriticalDeviceDatabase\pci#ven_1095&dev_0646]
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"
"Service"="pciide"

[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\Control\CriticalDeviceDatabase\pci#ven_1097&dev_0038]
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"
"Service"="pciide"

[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\Control\CriticalDeviceDatabase\pci#ven_10ad&dev_0001]
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"
"Service"="pciide"

[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\Control\CriticalDeviceDatabase\pci#ven_10ad&dev_0150]
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"
"Service"="pciide"

[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\Control\CriticalDeviceDatabase\pci#ven_10b9&dev_5215]
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"
"Service"="pciide"

[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\Control\CriticalDeviceDatabase\pci#ven_10b9&dev_5219]
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"
"Service"="pciide"

[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\Control\CriticalDeviceDatabase\pci#ven_10b9&dev_5229]
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"
"Service"="pciide"

[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\Control\CriticalDeviceDatabase\pci#ven_1106&dev_0571]
"Service"="pciide"
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"

[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\Control\CriticalDeviceDatabase\pci#ven_8086&dev_1222]
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"
"Service"="intelide"

[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\Control\CriticalDeviceDatabase\pci#ven_8086&dev_1230]
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"
"Service"="intelide"

[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\Control\CriticalDeviceDatabase\pci#ven_8086&dev_2411]
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"
"Service"="intelide"

[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\Control\CriticalDeviceDatabase\pci#ven_8086&dev_2421]
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"
"Service"="intelide"

[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\Control\CriticalDeviceDatabase\pci#ven_8086&dev_7010]
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"
"Service"="intelide"

[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\Control\CriticalDeviceDatabase\pci#ven_8086&dev_7111]
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"
"Service"="intelide"

[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\Control\CriticalDeviceDatabase\pci#ven_8086&dev_7199]
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"
"Service"="intelide"

;Add driver for Atapi (requires atapi.sys in drivers directory)

[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\Services\atapi]
"ErrorControl"=dword:00000001
"Group"="SCSI miniport"
"Start"=dword:00000000
"Tag"=dword:00000019
"Type"=dword:00000001
"DisplayName"="Standard IDE/ESDI Hard Disk Controller"
"ImagePath"=hex(2):53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,44,00,\
52,00,49,00,56,00,45,00,52,00,53,00,5c,00,61,00,74,00,61,00,70,00,69,00,2e,\
00,73,00,79,00,73,00,00,00

;Add driver for intelide (requires intelide.sys in drivers directory)

[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\Services\IntelIde]
"ErrorControl"=dword:00000001
"Group"="System Bus Extender"
"Start"=dword:00000000
"Tag"=dword:00000004
"Type"=dword:00000001
"ImagePath"=hex(2):53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,44,00,\
52,00,49,00,56,00,45,00,52,00,53,00,5c,00,69,00,6e,00,74,00,65,00,6c,00,69,\
00,64,00,65,00,2e,00,73,00,79,00,73,00,00,00

;Add driver for pciide (requires pciide.sys and pciidex.sys in drivers directory)

[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\Services\PCIIde]
"ErrorControl"=dword:00000001
"Group"="System Bus Extender"
"Start"=dword:00000000
"Tag"=dword:00000003
"Type"=dword:00000001
"ImagePath"=hex(2):53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,44,00,\
52,00,49,00,56,00,45,00,52,00,53,00,5c,00,70,00,63,00,69,00,69,00,64,00,65,\
00,2e,00,73,00,79,00,73,00,00,00
[/code]

Contents of fix_ide_2.reg - this seems to be required to stop requests for vmscsi.sys during mini setup. This file was created using the differences before and after a VMI was run on an imaged virtual drive.
You can also modify the line [code]scsi0.present = "TRUE"[/code] To FALSE in the VMX file for the VM, however as this is set to TRUE by default, I didn't want to have to do this.

[code]
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\System_00\ControlSet001\Control\Class{4D36E96B-E325-11CE-BFC1-08002BE10318}\0009]
"InfPath"="keyboard.inf"
"InfSection"="STANDARD_Inst"
"ProviderName"="Microsoft"
"DriverDateData"=hex:00,00,2f,0f,ee,2d,c2,01
"DriverDate"="7-18-2002"
"DriverVersion"="5.0.2195.5438"
"MatchingDeviceId"="*pnp0303"
"DriverDesc"="Standard 101/102-Key or Microsoft Natural PS/2 Keyboard"

[HKEY_LOCAL_MACHINE\System_00\ControlSet001\Control\Class{4D36E96F-E325-11CE-BFC1-08002BE10318}\0009]
"EnumPropPages32"="syssetup.dll,PS2MousePropPageProvider"
"InfPath"="msmouse.inf"
"InfSection"="PS2_Inst"
"ProviderName"="Microsoft"
"DriverDateData"=hex:00,40,99,31,33,2e,bf,01
"DriverDate"="11-14-1999"
"DriverVersion"="5.0.2183.1"
"MatchingDeviceId"="*pnp0f13"
"DriverDesc"="PS/2 Compatible Mouse"

[HKEY_LOCAL_MACHINE\System_00\ControlSet001\Control\Class{4D36E97B-E325-11CE-BFC1-08002BE10318}\0009]
"ProviderName"="VMware, Inc."
"DriverDateData"=hex:00,40,99,31,33,2e,bf,01
"DriverDate"="02-18-2004"
"DriverVersion"="1.2.0.2"
"MatchingDeviceId"="pci
ven_104b&dev_1040"
"DriverDesc"="VMware SCSI Controller"

[HKEY_LOCAL_MACHINE\System_00\ControlSet001\Control\CriticalDeviceDatabase\pci#ven_104b&dev_1040]
"Service"="vmscsi"
"ClassGUID"="{4D36E97B-E325-11CE-BFC1-08002BE10318}"

[HKEY_LOCAL_MACHINE\System_00\ControlSet001\Control\CriticalDeviceDatabase\pci#ven_8086&dev_7110&cc_0601]
"Service"="isapnp"
"ClassGUID"="{4D36E97D-E325-11CE-BFC1-08002BE10318}"

[-HKEY_LOCAL_MACHINE\System_00\ControlSet001\Enum\ACPI\PNP0303\5&244c37a5&0]

[HKEY_LOCAL_MACHINE\System_00\ControlSet001\Enum\ACPI\PNP0303\4&5289e18&0]
"Capabilities"=dword:00000020
"HardwareID"=hex(7):41,00,43,00,50,00,49,00,5c,00,50,00,4e,00,50,00,30,00,33,\
00,30,00,33,00,00,00,2a,00,50,00,4e,00,50,00,30,00,33,00,30,00,33,00,00,00,\
00,00
"Service"="i8042prt"
"ClassGUID"="{4D36E96B-E325-11CE-BFC1-08002BE10318}"
"ConfigFlags"=dword:00000000
"Driver"="{4D36E96B-E325-11CE-BFC1-08002BE10318}
0009"
"Mfg"="(Standard keyboards)"
"DeviceDesc"="Standard 101/102-Key or Microsoft Natural PS/2 Keyboard"

[HKEY_LOCAL_MACHINE\System_00\ControlSet001\Enum\ACPI\PNP0303\4&5289e18&0\Device Parameters]
"FirmwareIdentified"=dword:00000001
"Migrated"=dword:00000001
"KeyboardDataQueueSize"=dword:00000064
"PollStatusIterations"=dword:00000001

[HKEY_LOCAL_MACHINE\System_00\ControlSet001\Enum\ACPI\PNP0303\4&5289e18&0\LogConf]
"BasicConfigVector"=hex(a):88,00,00,00,0f,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,01,00,01,00,03,00,00,00,00,01,\
01,00,11,00,00,00,01,00,00,00,01,00,00,00,60,00,00,00,00,00,00,00,60,00,00,\
00,00,00,00,00,00,01,01,00,11,00,00,00,01,00,00,00,01,00,00,00,64,00,00,00,\
00,00,00,00,64,00,00,00,00,00,00,00,00,02,01,00,01,00,00,00,01,00,00,00,01,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"BootConfig"=hex(8):01,00,00,00,0f,00,00,00,00,00,00,00,01,00,01,00,03,00,00,\
00,01,01,11,00,60,00,00,00,00,00,00,00,01,00,00,00,01,01,11,00,64,00,00,00,\
00,00,00,00,01,00,00,00,02,01,01,00,01,00,00,00,01,00,00,00,ff,ff,ff,ff

[-HKEY_LOCAL_MACHINE\System_00\ControlSet001\Enum\ACPI\PNP0F13\0]

[HKEY_LOCAL_MACHINE\System_00\ControlSet001\Enum\ACPI\PNP0F13\4&5289e18&0]
"Capabilities"=dword:00000020
"HardwareID"=hex(7):41,00,43,00,50,00,49,00,5c,00,50,00,4e,00,50,00,30,00,46,\
00,31,00,33,00,00,00,2a,00,50,00,4e,00,50,00,30,00,46,00,31,00,33,00,00,00,\
00,00
"Service"="i8042prt"
"ClassGUID"="{4D36E96F-E325-11CE-BFC1-08002BE10318}"
"ConfigFlags"=dword:00000000
"Driver"="{4D36E96F-E325-11CE-BFC1-08002BE10318}
0009"
"Mfg"="Microsoft"
"DeviceDesc"="PS/2 Compatible Mouse"

[HKEY_LOCAL_MACHINE\System_00\ControlSet001\Enum\ACPI\PNP0F13\4&5289e18&0\Device Parameters]
"FirmwareIdentified"=dword:00000001
"Migrated"=dword:00000001
"EnableWheelDetection"=dword:00000002
"MouseDataQueueSize"=dword:00000064
"MouseResolution"=dword:00000003
"MouseSynchIn100ns"=dword:01312d00
"SampleRate"=dword:0000003c
"WheelDetectionTimeout"=dword:000005dc
"MouseInitializePolled"=dword:00000000

[HKEY_LOCAL_MACHINE\System_00\ControlSet001\Enum\ACPI\PNP0F13\4&5289e18&0\LogConf]
"BasicConfigVector"=hex(a):48,00,00,00,0f,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,01,00,01,00,01,00,00,00,00,02,\

[HKEY_LOCAL_MACHINE\System_00\ControlSet001\Enum\PCI\VEN_104B&DEV_1040&SUBSYS_1040104B&REV_01]

[HKEY_LOCAL_MACHINE\System_00\ControlSet001\Enum\PCI\VEN_104B&DEV_1040&SUBSYS_1040104B&REV_01\3&61aaa01&0&80]
"DeviceDesc"="VMware SCSI Controller"
"LocationInformation"="PCI bus 0, device 16, function 0"
"Capabilities"=dword:00000000
"UINumber"=dword:00000002
"HardwareID"=hex(7):50,00,43,00,49,00,5c,00,56,00,45,00,4e,00,5f,00,31,00,30,\
00,34,00,42,00,26,00,44,00,45,00,56,00,5f,00,31,00,30,00,34,00,30,00,26,00,\
53,00,55,00,42,00,53,00,59,00,53,00,5f,00,31,00,30,00,34,00,30,00,31,00,30,\
00,34,00,42,00,26,00,52,00,45,00,56,00,5f,00,30,00,31,00,00,00,50,00,43,00,\
49,00,5c,00,56,00,45,00,4e,00,5f,00,31,00,30,00,34,00,42,00,26,00,44,00,45,\
00,56,00,5f,00,31,00,30,00,34,00,30,00,26,00,53,00,55,00,42,00,53,00,59,00,\
53,00,5f,00,31,00,30,00,34,00,30,00,31,00,30,00,34,00,42,00,00,00,50,00,43,\
00,49,00,5c,00,56,00,45,00,4e,00,5f,00,31,00,30,00,34,00,42,00,26,00,44,00,\
45,00,56,00,5f,00,31,00,30,00,34,00,30,00,26,00,43,00,43,00,5f,00,30,00,31,\
00,30,00,30,00,30,00,30,00,00,00,50,00,43,00,49,00,5c,00,56,00,45,00,4e,00,\
5f,00,31,00,30,00,34,00,42,00,26,00,44,00,45,00,56,00,5f,00,31,00,30,00,34,\
00,30,00,26,00,43,00,43,00,5f,00,30,00,31,00,30,00,30,00,00,00,00,00
"CompatibleIDs"=hex(7):50,00,43,00,49,00,5c,00,56,00,45,00,4e,00,5f,00,31,00,\
30,00,34,00,42,00,26,00,44,00,45,00,56,00,5f,00,31,00,30,00,34,00,30,00,26,\
00,52,00,45,00,56,00,5f,00,30,00,31,00,00,00,50,00,43,00,49,00,5c,00,56,00,\
45,00,4e,00,5f,00,31,00,30,00,34,00,42,00,26,00,44,00,45,00,56,00,5f,00,31,\
00,30,00,34,00,30,00,00,00,50,00,43,00,49,00,5c,00,56,00,45,00,4e,00,5f,00,\
31,00,30,00,34,00,42,00,26,00,43,00,43,00,5f,00,30,00,31,00,30,00,30,00,30,\
00,30,00,00,00,50,00,43,00,49,00,5c,00,56,00,45,00,4e,00,5f,00,31,00,30,00,\
34,00,42,00,26,00,43,00,43,00,5f,00,30,00,31,00,30,00,30,00,00,00,50,00,43,\
00,49,00,5c,00,56,00,45,00,4e,00,5f,00,31,00,30,00,34,00,42,00,00,00,50,00,\
43,00,49,00,5c,00,43,00,43,00,5f,00,30,00,31,00,30,00,30,00,30,00,30,00,00,\
00,50,00,43,00,49,00,5c,00,43,00,43,00,5f,00,30,00,31,00,30,00,30,00,00,00,\
47,00,45,00,4e,00,5f,00,53,00,43,00,53,00,49,00,41,00,44,00,41,00,50,00,54,\
00,45,00,52,00,00,00,00,00
"ClassGUID"="{4D36E97B-E325-11CE-BFC1-08002BE10318}"
"Service"="vmscsi"
"ConfigFlags"=dword:00000000
"ParentIdPrefix"="4&5fcaafc&0"
"Driver"="{4D36E97B-E325-11CE-BFC1-08002BE10318}
0009"
"Mfg"="VMware"

[HKEY_LOCAL_MACHINE\System_00\ControlSet001\Enum\PCI\VEN_104B&DEV_1040&SUBSYS_1040104B&REV_01\3&61aaa01&0&80\Device Parameters]

[HKEY_LOCAL_MACHINE\System_00\ControlSet001\Enum\PCI\VEN_104B&DEV_1040&SUBSYS_1040104B&REV_01\3&61aaa01&0&80\Device Parameters\Scsiport]
"BusNumber"=dword:00000000
"SlotNumber"=dword:00000010
"LegacyInterfaceType"=dword:00000005

[HKEY_LOCAL_MACHINE\System_00\ControlSet001\Enum\PCI\VEN_104B&DEV_1040&SUBSYS_1040104B&REV_01\3&61aaa01&0&80\LogConf]
"BasicConfigVector"=hex(a):08,01,00,00,05,00,00,00,00,00,00,00,10,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,01,00,01,00,07,00,00,00,01,01,\
01,00,31,00,00,00,20,00,00,00,01,00,00,00,c0,10,00,00,00,00,00,00,df,10,00,\
00,00,00,00,00,08,01,01,00,31,00,00,00,20,00,00,00,20,00,00,00,00,00,00,00,\
00,00,00,00,ff,ff,ff,ff,00,00,00,00,00,81,01,00,00,00,00,00,01,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,03,01,00,00,00,\
00,00,20,00,00,00,01,00,00,00,00,00,00,f4,00,00,00,00,1f,00,00,f4,00,00,00,\
00,08,03,01,00,00,00,00,00,20,00,00,00,20,00,00,00,00,00,00,00,00,00,00,00,\
ff,ff,ff,ff,00,00,00,00,00,81,01,00,00,00,00,00,01,00,00,00,01,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,02,03,00,00,00,00,00,00,00,\
00,00,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"BootConfig"=hex(8):01,00,00,00,05,00,00,00,00,00,00,00,01,00,01,00,03,00,00,\
00,01,00,01,00,c0,10,00,00,00,00,00,00,20,00,00,00,03,00,00,00,00,00,00,f4,\
00,00,00,00,20,00,00,00,02,03,00,00,0b,00,00,00,0b,00,00,00,ff,ff,ff,ff


[HKEY_LOCAL_MACHINE\System_00\ControlSet001\Services\vmscsi]
"ErrorControl"=dword:00000001
"Group"="SCSI miniport"
"Start"=dword:00000000
"Tag"=dword:0000001b
"Type"=dword:00000001
"ImagePath"=hex(2):53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,44,00,\
52,00,49,00,56,00,45,00,52,00,53,00,5c,00,76,00,6d,00,73,00,63,00,73,00,69,\
00,2e,00,73,00,79,00,73,00,00,00

01,00,01,00,00,00,0c,00,00,00,0c,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00
"BootConfig"=hex(8):01,00,00,00,0f,00,00,00,00,00,00,00,01,00,01,00,01,00,00,\
00,02,01,01,00,0c,00,00,00,0c,00,00,00,ff,ff,ff,ff
[/code]

Contents of Sysprep.inf file:

[code]
;SetupMgrTag
[Data]
MsDosInitiated=No
AutoPartition=1
UnattendedInstall=Yes

[Unattended]
NonDriverSigningPolicy=Ignore
DriverSigningPolicy=Ignore
UpdateInstalledDrivers=yes
DUDisable=No
OemSkipEula=Yes
Hibernation=No
TargetPath=\WINDOWS
UnattendSwitch=Yes
KeyboardLayout=US-International
Repartition=Yes
InstallFilesPath=C:\sysprep\i386

[GUIUnattended]
AdminPassword="AdminPassword"
AutoLogon=Yes
EncryptedAdminPassword=NO
OEMSkipRegional=1
TimeZone=290
OemSkipWelcome=1
AutoLogonCount=1

[UserData]
ComputerName=%#!computer@name%
ProductKey= *VOLUME LICENSE KEY HERE*
FullName="User Name"
OrgName="Org Name"

[Display]
BitsPerPel=32
Xresolution=800
YResolution=600
Vrefresh=60
AutoConfirm=1

[Branding]
BrandIEUsingUnattended=Yes

[URL]
Home_Page=http://www.google.com

[Proxy]
Proxy_Enable=0
Use_Same_Proxy=1

[Identification]
JoinDomain="Your domain name here"
DomainAdmin= DA Account Name here
DomainAdminPassword= DA password here

[Networking]
InstallDefaultComponents=Yes

[TerminalServices]
AllowConnections=1

[Components]
msmsgs=Off
msnexplr=Off
freecell=Off
hearts=Off
minesweeper=Off
pinball=Off
solitaire=Off
spider=Off
zonegames=Off

[Shell]
CustomDefaultThemeFile=%WinDir%\Resources\Themes\Royale.theme

[WindowsFirewall]
Profiles=WindowsFirewall.Standard
LogFile=%WINDIR%\pfirewall.log
LogSize=4096
LogDroppedPackets=1
LogConnections=0
Type=8
Mode=1
Exceptions=1
Notifications=1
MulticastBroadcastResponse=1
AllowedPrograms=WindowsFirewall.pcAnywhere_Host
Services=WindowsFirewall.RemoteDesktop
PortOpenings=WindowsFirewall.Port445, WindowsFirewall.Port137, WindowsFirewall.Port138, WindowsFirewall.Port139
IcmpSettings=WindowsFirewall.EchoRequest
Scope=1
Protocol=17
Port=138
Name="File and Printer Sharing"

[RegionalSettings]
LanguageGroup=1
Language=00001409

[SetupMgr]
DistFolder=C:\sysprep\i386
DistShare=windist

[Sysprep]
BuildMassStorageSection = Yes

[SysprepMassStorage]
[/code]

Re: Ultimate-P2V Available for Download

201. Jan 11, 2007 6:26 AM in response to: AaronM
Click to view continuum's profile Guru vExpert 14,431 posts since
Dec 18, 2003
Hi Aaron

cool - very detailed explanation - thank you.

There's one line where I don't know if it is ok:
[-HKLM\System_00\ControlSet001\Enum\ACPI\PNP0303\5&244c37a5&0]

If you read this while you can still edit the post - please correct it - or is this intentional ?

One question on the sysprep-details. I am not very experienced with sysprep so the next point may not apply - I'm not sure ?

What if your P2V-candidate doesn't use Controlset001 but for eample Controlset003 - you can look this up in
HKEY_LOCAL_MACHINE\SYSTEM\Select

Does sysprep change this so that it allways uses Controlset001 or do we have to prepare for translating all the reg-patches ?

A last point - do not be afraid to change
scsi0.present to false

This is a VMware default that only makes sense if you really plan to use SCSI-disks. You really do not need a SCSI-controller connected to nothing.

You can also set
sound.present to false if that causes any problems during first virtual boot.
Adding a sound-card to the VM later doesn't change PCI-slots so you can safely do this at any later time.

Thanks again for that detailed howto

Ulli

Re: Ultimate-P2V Available for Download

202. Jan 11, 2007 12:06 PM in response to: continuum
Click to view AaronM's profile Novice 29 posts since
Nov 12, 2006
Hi Aaron

cool - very detailed explanation - thank you.

There's one line where I don't know if it is ok:
[-HKLM\System_00\ControlSet001\Enum\ACPI\PNP0303\5&244
c37a5&0]

If you read this while you can still edit the post -
please correct it - or is this intentional ?


Hi Ulli

If you are referring to the '-' character at the start of that line, then yes it is intentional - it causes the specified key and all subkeys to be deleted.

I'm not pretending to know what all keys in the file are actually for - as mentioned it was a change made when VMI was run, and I am simply copying what it did.

One question on the sysprep-details. I am not very
experienced with sysprep so the next point may not
apply - I'm not sure ?

What if your P2V-candidate doesn't use Controlset001
but for eample Controlset003 - you can look this up
in
HKEY_LOCAL_MACHINE\SYSTEM\Select

Does sysprep change this so that it allways uses
Controlset001 or do we have to prepare for
translating all the reg-patches ?


Believe it or not I've never uses Sysprep myself either. Most of the details in the inf file are the same as the winnt.sif file for an unnatended xp build, and were simply copied from there. I have read some of the CHM for sysprep, and it doesn't look too complicated. With regard to your question, I'm fairly certain sysprep doesn't have any impact on the controlsets - it certainly doesn't have any entries in the file itself for them. I can't profess to know a lot about what they do either - my basic understanding is that they are used for different hardware profiles? Certainly I thought 001 was always used unless explicitly specified in System Properties. I would imagine that it wouldn't be a problem to do a simple search/replace and generate the reg files for 003 as well as 001?


A last point - do not be afraid to change
scsi0.present to false

This is a VMware default that only makes sense if you
really plan to use SCSI-disks. You really do not need
a SCSI-controller connected to nothing.

You can also set
sound.present to false if that causes any problems
during first virtual boot.
Adding a sound-card to the VM later doesn't change
PCI-slots so you can safely do this at any later
time.

Thanks again for that detailed howto

Ulli


Thanks, I did have a read of your page on the devices and VMX files. I don't have a problem setting it to false with regard to how it affects the machine. My only problem is that I'm creating many machines regularly, and I'll definitely forget to change the setting for a few, then it'll cost me an hour each time as I have to go back and reimage etc. Easier to just inject a few more keys and files and not have to change the VM from it's defaults :)

BTW you're more than welcom for my post, I couldn't have done it without the help here :)

Re: Ultimate-P2V Available for Download

203. Jan 11, 2007 12:26 PM in response to: AaronM
Click to view continuum's profile Guru vExpert 14,431 posts since
Dec 18, 2003
Aaron - I was wondering about the shortened HKLM instead of the long form.

Re: Ultimate-P2V Available for Download

204. Jan 11, 2007 1:20 PM in response to: continuum
Click to view AaronM's profile Novice 29 posts since
Nov 12, 2006
Oops. You are correct, and that line would be ignored because of the shortened HKLM. Unfortunately I cannot edit my post any longer, but it doesn't seem to make a difference to the VM booting anyway.

Re: Ultimate-P2V Available for Download

205. Feb 3, 2007 3:58 AM in response to: Mike_Laverick
Click to view McRight's profile Lurker 2 posts since
Feb 2, 2007
hi, i have a question concerning p2v and post it here in the hope somebody responds to it.

Thanks to the articles posted on rtfm to perform a p2v migration, i managed to partially migrate my old system in vmware.

My old system was a dual boot xp/sb2003.

The both os are cloned as provided in the manual.

XP works fine, SBS2003 is protected with syskey.

After the injection of Qui Hong’s FixVM-SCSI the system boots but halts on the syskey password, which I have but can’t type.

The tools for resetting the syskey are linux based and so I can’t provide the Buslogic drivers at startup with the F6 key.

Thank you very much for any help provided

Re: Ultimate-P2V Available for Download

206. Feb 3, 2007 5:08 AM in response to: McRight
Click to view devzero's profile Master 2,757 posts since
Dec 27, 2004
After the injection of Qui Hong’s FixVM-SCSI the system boots
but halts on the syskey password, which I have but can’t type.

you mean, the system doesn`t react to any keyboard input?
try pressing left-shift twice and see if this makes any difference. i have my VMs loosing keyboard from time to time - for example when installing sles9 - and 2x left-shift fixes the problem.

Re: Ultimate-P2V Available for Download

207. Feb 3, 2007 3:31 PM in response to: Mike_Laverick
Click to view McRight's profile Lurker 2 posts since
Feb 2, 2007
indeed, the mouse and keyboard hang.

Re: Ultimate-P2V Available for Download

209. Nov 8, 2007 5:21 AM in response to: Mike_Laverick
Click to view ukturtle's profile Lurker 2 posts since
Nov 8, 2007

I've got a real problem with P2V'ing a Fedora5 machine to a VMware Server vm and I'm wondering if anyone can help?

My FC5 box is a hybrid I built myself. The vm is on a W2K3 server with VMware server 1.0.4. Nothing special about either machines except FC5 server is not RAID'd but W2K3 box is.

Im using the BartPE disk and everything works fine and the Ghost32 starts copying data (disk-to-disk) from master to slave but it gets 14% of the way through, stops and gives me an "application error 29004" and then something to do with some bad sectors its found and cant continue. I've tried using -FRO option but it still doesn't work - gets a little further but then comes back with same error.

I'm running a scan of the FC5 servers hard disk now using HDD Regenerator but its taking a VERY long time so thought I'd ask you guys to see if there was some other problem. Btw, when I start Ghost from the physical server and the virtual server they both say there's not cdrom support even though i put all the ghost files recommended on the ultimate p2v instructions into the correct directory. Does this have anything to do with my problem do you think?

Any help would be much appreciated as I'm using this method because Platespin PowerConvert doesn't support my versions of Linux and I've already bought 1 license so I'm getting in a bit of a pickle!

Thanks guys.

Bryn

VMware Beta Programs

Want to be Considered for Future Beta Programs?

Learn More

VMware Developer

Download SDKs, APIs, videos,
training, and more in the Developer community.

Learn More

Developer
Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld
Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

Only VMware ... Delivers Nexus 1000V

Ensure consistent, policy-based network capabilities to virtual machines across your data center.

Learn More

Communities