+ Post New Thread
Results 1 to 12 of 12
O/S Deployment Thread, Base images in a VM in Technical; Ok so this may be a bit of a far out thought but here goes. I'm looking to make my ...
  1. #1
    cuester's Avatar
    Join Date
    Jul 2011
    Location
    Nova Scotia, Canada
    Posts
    22
    Thank Post
    2
    Thanked 6 Times in 5 Posts
    Rep Power
    8

    Base images in a VM

    Ok so this may be a bit of a far out thought but here goes.

    I'm looking to make my base images in a vm on an esxi box as then if I make changes that break the image I can roll back step by step with snapshots. I'm planning on sysprepping the image and then pulling it down onto the physical computers in the school. The problem I foresee is that images made on a sata drive machine work on ide but not vice versa and images made on an amd processor work with intel but not vice versa. I'm wondering if anyone knows of a way to make the VM think it's running on a sata drive and with an AMD processor? Any ideas/suggestions/ or think I'm just crazy.

  2. #2


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,645
    Thank Post
    229
    Thanked 865 Times in 743 Posts
    Rep Power
    297
    if its windows 7 sysprep will remove all the drivers anyway (unless you tell it not to) then mdt (assuming youre using that) will add back the ones it detects as needed and are in its database

  3. #3
    cuester's Avatar
    Join Date
    Jul 2011
    Location
    Nova Scotia, Canada
    Posts
    22
    Thank Post
    2
    Thanked 6 Times in 5 Posts
    Rep Power
    8
    The kicker is some images are xp and some are 7. We're currently not using MDT as we're running a netware 6.5 environment. Soon to be OES

  4. #4


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,645
    Thank Post
    229
    Thanked 865 Times in 743 Posts
    Rep Power
    297
    windows xp you will hit issues then as sysprep dosent remove drivers and some combinations just wont work if you go from say intel to amd or various sata/ide controllers with different drivers it will just fail in all probability.

    win7 you should be ok as above it strips out drivers anyway

  5. #5

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,225
    Thank Post
    874
    Thanked 2,717 Times in 2,302 Posts
    Blog Entries
    11
    Rep Power
    780
    You can use MDT even without a Windows server, just install it on a workstation to build your deployment share and then copy that deployment share to a smb/cifs/windows compatible share on your server, you can then use the generated boot cds or usb keys to drag it down over the network or even make custom install dvd/usb media. As to VMS for images, it is the only sane with later versions of windows and I'd start using it now if your not. MDT has wizards etc along with a bunch of nice features so I'd look into that too, it did even used to manage xp installs but I'm not sure how far that support goes.

  6. #6
    cuester's Avatar
    Join Date
    Jul 2011
    Location
    Nova Scotia, Canada
    Posts
    22
    Thank Post
    2
    Thanked 6 Times in 5 Posts
    Rep Power
    8
    Intriguing. I thought it was only for windows servers. I'll look into that. Thanks.

  7. #7
    Duke5A's Avatar
    Join Date
    Jul 2010
    Posts
    807
    Thank Post
    83
    Thanked 132 Times in 115 Posts
    Blog Entries
    8
    Rep Power
    32
    Windows XP works just fine using a single base image across different machine types. It's a pain in the neck though sometimes! In a nutshell, create your VM with two processors and use this line in your sysprep inf for the HAL type:

    Code:
    UpdateUPHAL="ACPIAPIC_UP,%windir%\inf\hal.inf"
    Next up is driver juggling for HDD controller support. This is a snippet of my mass storage config that covered a wide range of Intel SATA controllers, a few AMD, and the legacy IDE stuff. I would recommend hunting down the same driver versions I used in this list.

    Code:
    [SysprepMassStorage]
    PCI\VEN_8086&DEV_2653&CC_0106=%systemdrive%\Drivers\Common\SATA\Intel\7.6.1.1002\iaahci.inf
    PCI\VEN_8086&DEV_5029&CC_0106=%systemdrive%\Drivers\Common\SATA\Intel\7.6.1.1002\iaahci.inf
    ;
    PCI\VEN_8086&DEV_2681&CC_0106=%systemdrive%\Drivers\Common\SATA\Intel\10.1.0.1008\iaAHCI.inf
    PCI\VEN_8086&DEV_27C1&CC_0106=%systemdrive%\Drivers\Common\SATA\Intel\10.1.0.1008\iaAHCI.inf
    PCI\VEN_8086&DEV_27C5&CC_0106=%systemdrive%\Drivers\Common\SATA\Intel\10.1.0.1008\iaAHCI.inf
    PCI\VEN_8086&DEV_2821&CC_0106=%systemdrive%\Drivers\Common\SATA\Intel\10.1.0.1008\iaAHCI.inf
    PCI\VEN_8086&DEV_2829&CC_0106=%systemdrive%\Drivers\Common\SATA\Intel\10.1.0.1008\iaAHCI.inf
    PCI\VEN_8086&DEV_2922&CC_0106=%systemdrive%\Drivers\Common\SATA\Intel\10.1.0.1008\iaAHCI.inf
    PCI\VEN_8086&DEV_2929&CC_0106=%systemdrive%\Drivers\Common\SATA\Intel\10.1.0.1008\iaAHCI.inf
    PCI\VEN_8086&DEV_3A02&CC_0106=%systemdrive%\Drivers\Common\SATA\Intel\10.1.0.1008\iaAHCI.inf
    PCI\VEN_8086&DEV_3A22&CC_0106=%systemdrive%\Drivers\Common\SATA\Intel\10.1.0.1008\iaAHCI.inf
    PCI\VEN_8086&DEV_3B29&CC_0106=%systemdrive%\Drivers\Common\SATA\Intel\10.1.0.1008\iaAHCI.inf
    PCI\VEN_8086&DEV_3B2F&CC_0106=%systemdrive%\Drivers\Common\SATA\Intel\10.1.0.1008\iaAHCI.inf
    PCI\VEN_8086&DEV_3B22&CC_0106=%systemdrive%\Drivers\Common\SATA\Intel\10.1.0.1008\iaAHCI.inf
    PCI\VEN_8086&DEV_1C02&CC_0106=%systemdrive%\Drivers\Common\SATA\Intel\10.1.0.1008\iaAHCI.inf
    PCI\VEN_8086&DEV_1C03&CC_0106=%systemdrive%\Drivers\Common\SATA\Intel\10.1.0.1008\iaAHCI.inf
    ;
    PCI\VEN_8086&DEV_2682&CC_0104=%systemdrive%\Drivers\Common\SATA\Intel\10.1.0.1008\iaStor.inf
    PCI\VEN_8086&DEV_27C3&CC_0104=%systemdrive%\Drivers\Common\SATA\Intel\10.1.0.1008\iaStor.inf
    PCI\VEN_8086&DEV_27C6&CC_0104=%systemdrive%\Drivers\Common\SATA\Intel\10.1.0.1008\iaStor.inf
    PCI\VEN_8086&DEV_2822&CC_0104=%systemdrive%\Drivers\Common\SATA\Intel\10.1.0.1008\iaStor.inf
    PCI\VEN_8086&DEV_282A&CC_0104=%systemdrive%\Drivers\Common\SATA\Intel\10.1.0.1008\iaStor.inf
    ;
    ;AMD SATA Support
    PCI\VEN_10DE&DEV_0267&CC_0104=%systemdrive%\Drivers\Common\SATA\nVidia\nvraid.inf
    PCI\VEN_10DE&DEV_0266&CC_0104=%systemdrive%\Drivers\Common\SATA\nVidia\nvraid.inf
    ;
    ; Generic drivers
    pci\ven_8086&dev_2651&cc_0101=%systemdrive%\windows\inf\mshdc.inf
    pci\ven_8086&dev_2652&cc_0101=%systemdrive%\windows\inf\mshdc.inf
    pci\ven_8086&dev_2653&cc_0101=%systemdrive%\windows\inf\mshdc.inf
    pci\ven_8086&dev_266f=%systemdrive%\windows\inf\mshdc.inf
    pci\cc_0101=%systemdrive%\windows\inf\mshdc.inf
    primary_ide_channel=%systemdrive%\windows\inf\mshdc.inf
    secondary_ide_channel=%systemdrive%\windows\inf\mshdc.inf
    The last hurdle to complete is getting the image to work with both AMD and Intel CPUs. It's no problem really. In the VM disable IntelPPM by doing this at the command line:

    Code:
    sc config intelppm start= disabled
    Next create a batch file with this in it to re-enable IntelPPM once the machine is imaged if an Intel CPU is detected:

    Code:
    wmic cpu get Manufacturer | findstr /i intel
    if "%errorlevel%" == "0" (sc config intelppm start= system)
    Run this batch via sysprep as a runonce command in the sysprep inf.

    That should do it! The only pitfall is this image will not work on the older Pentium M chipsets found in D600 era Dell Latitudes. D610 and above will work just fine.

    And as far as Windows 7 is concerned you don't have to do any of this crap; it just works!

  8. #8

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,817
    Thank Post
    272
    Thanked 1,138 Times in 1,034 Posts
    Rep Power
    350
    just don't install VMtools on the image as that will cause an issue, you may however see your base image not perform that well without them.

  9. #9
    Duke5A's Avatar
    Join Date
    Jul 2010
    Posts
    807
    Thank Post
    83
    Thanked 132 Times in 115 Posts
    Blog Entries
    8
    Rep Power
    32
    Quote Originally Posted by glennda View Post
    just don't install VMtools on the image as that will cause an issue, you may however see your base image not perform that well without them.
    I agree, but you can load device drivers by hand without actually installing the tools. Start the tools install and you can grab the mouse and display drivers out of the temp folder.

  10. #10

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,225
    Thank Post
    874
    Thanked 2,717 Times in 2,302 Posts
    Blog Entries
    11
    Rep Power
    780
    Quote Originally Posted by Duke5A View Post
    I agree, but you can load device drivers by hand without actually installing the tools. Start the tools install and you can grab the mouse and display drivers out of the temp folder.
    Never install any Intel drivers into an image though, they are like aids, you just can't get rid of them once they are there and compromise everything if you don't specifically need them.

  11. #11
    Duke5A's Avatar
    Join Date
    Jul 2010
    Posts
    807
    Thank Post
    83
    Thanked 132 Times in 115 Posts
    Blog Entries
    8
    Rep Power
    32
    Quote Originally Posted by SYNACK View Post
    Never install any Intel drivers into an image though, they are like aids, you just can't get rid of them once they are there and compromise everything if you don't specifically need them.
    I was referring to VM drivers bundled in with VMWare Tools. Working in a VM without the mouse and display drivers loaded is a complete pain. Never had any issues otherwise in Windows 7 x32/x64 and Windows XP images doing it this way. I totally agree though, no other drivers touch the base image. All of that is loaded by the WDS box after imaging.

  12. #12

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,225
    Thank Post
    874
    Thanked 2,717 Times in 2,302 Posts
    Blog Entries
    11
    Rep Power
    780
    Quote Originally Posted by Duke5A View Post
    I was referring to VM drivers bundled in with VMWare Tools. Working in a VM without the mouse and display drivers loaded is a complete pain. Never had any issues otherwise in Windows 7 x32/x64 and Windows XP images doing it this way. I totally agree though, no other drivers touch the base image. All of that is loaded by the WDS box after imaging.
    I used to do the same with old schools Hyper-v till 7 integrated all the drivers. What I used to do was use basic inputs just to get rdp running then even without any extensions I could 'remote' in and do everything required without installing any extra drivers or suffering performance slowdowns while doing it.

SHARE:
+ Post New Thread

Similar Threads

  1. Images in Word for Mac
    By enjay in forum Mac
    Replies: 9
    Last Post: 26th January 2009, 12:50 PM
  2. Base image on new machine
    By googlemad in forum Windows
    Replies: 11
    Last Post: 18th July 2008, 09:55 AM
  3. The perfect base image...
    By djones in forum Windows
    Replies: 28
    Last Post: 4th February 2008, 11:39 AM
  4. [CLOSED] Improvement: Limited to 4 images in msg
    By SimpleSi in forum EduGeek.net Site Problems
    Replies: 4
    Last Post: 31st January 2008, 07:45 PM
  5. Images in Office 2003 documents
    By mattpant in forum Windows
    Replies: 6
    Last Post: 7th October 2005, 06:12 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •