Ghost Solution Suite

 View Only
  • 1.  Ghost SS2.5 booting Windows PE on a UEFI machine

    Posted Aug 19, 2009 06:58 PM
    Hi! I've got a serious problem and don't really know how to fix it so I'm hoping one of you geniuses can help.

    Here's the deal. IBM is migrating their servers to use uefi instead of the old style BIOS. The Windows PE supplied by Ghost doesn't support uefi boot. Or maybe it's uefi doesn't support the Windows PE supplied by Ghost. Anyway, I have the latest greatest PE x64 from Microsoft and I can create CDs that will boot on the uefi systems. The problem is that I can't make Ghost Boot Wizard use this version of PE. It defaults to the PE that came with it and that's all the choices you have. How can I force Ghost Boot Wizard to use the newer PE? Thanks in advance!

    Randall


  • 2.  RE: Ghost SS2.5 booting Windows PE on a UEFI machine

    Posted Aug 20, 2009 05:59 PM
    Ok, I decided to experiment a bit on my test box. I wiped out all of the PE files and folders (that I could find) that Ghost installs and replaced them with the UEFI compatible ones. I know these files work using the WAIK to create PE boot CDs. But now when I use the Ghost Boot Wizard, it begins the process and drops out with an error telling me that my .wim file isn't compatible with this version of PE. The only .wim files I can find are the ones that came with the new UEFI compliant PE.

    Anybody have any ideas?


  • 3.  RE: Ghost SS2.5 booting Windows PE on a UEFI machine

    Posted Aug 21, 2009 01:16 AM
    Hi Randall,

    Ghost Solution Suite 2.5 ships with WinPE 2.0 - released the same time as Vista.  I believe the first official support for x64 UEFI from Microsoft is in WinPE 2.1 - equivalent to Vista SP1 / 2k8.

    Ghost Boot Wizard relies on WAIK tools in the directory "C:\Program Files\Symantec\Ghost\PETools" and it could be that later versions of WinPE than 2.0 also need later .wim manipulation tools.  So things may work a little better by replacing the WAIK tools in 'PETools' temporarily with those from the version of WinPE that you're trying.  Which version are you looking at by the way - 2.1 (vista sp1/2k8) or 3.0 (win7/2k8 sp1)?

    A complication though will be that WinPE x64 unlike Full Windows x64 does not support running 32 bit processes.  Ghost Boot Wizard will insist on copying/updating 32 bit binaries into the PE as it expects it to be 32 bit only.  You could manually add the extra 64 bit files that you need (e.g. ghost64.exe).
    This 64 bit requirement pretty much rules out running these machines under management by the Ghost Console (a number of components in the client are 32-bit only currently), however some of the standard tools should still be able to operate in x64 WinPE. 
    Based on this, I'd suggest using the WAIK tools to modify a x64 WinPE directly to include the ghost x64 binaries that you need, and then use the same tools to create the bootable media - this is described in the WAIK documentation.

    What version of windows are you planning to run on these servers - I'm guessing it will be x64 UEFI capable, hence probably 2k8 x64?  Also, could you name a model of IBM server that can be purchased now with native UEFI support?  Thanks.

    One option with some UEFI systems that include a Compatibility Service Module (CSM) to emulate BIOS, is to run the system in BIOS mode rather than UEFI.  However I'm not sure whether the IBM server's that you're referring to have or make visible a CSM.

    The UEFI boot process is quite different than BIOS.  UEFI systems maintain an 'in flash' copy of the items to boot persistently.  The items to boot are described by fairly specific device paths that sometimes need to be updated after an image restore - and can be updated by windows applications.  When a UEFI system starts, it works through (in order) the boot entries and attempts to boot them.  Each entry refers to an EFI 'application' - I believe for Vista and above the application is bootmgr.efi.  This application typically resides in a special EFI system partition that is on each disk (generally the first partition and generally FAT32).

    Ghost does not (yet) update the UEFI boot variables, hence you may find that you need to manually update the UEFI boot settings after restoring an image to get the operating system to boot.   Partition restores may be more likely to boot without fixups than disk restores, depending on the operating system that you're trying to boot - this is due to the greater stability of the device paths in the UEFI boot variables.

    Hope this helps.

    Cheers, Robert.




  • 4.  RE: Ghost SS2.5 booting Windows PE on a UEFI machine

    Posted Aug 21, 2009 02:10 PM
    Hi Robert,

    Thanks for the info. I'll have to see if I can decipher the gobbledeegook in the WAIK documentation. I'm currently working on an IBM x3400 M2, model # 783642U with W2k8 x64. I managed to do the Ghost restore of our old x3400 (non UEFI) using an x3200 M2 and then pulling the drive out of that box and installing it in the 3400. The OS boots fine, but nothing I do will make the Ghost boot. I have replaced all of the files in the ...\Ghost\PETools folder with the PE v2.1 files, and I'm using a template that I created using the amdx64 PE, which I know will boot on the UEFI box. Now the problem I have is that Ghost wants to use the x86 version and that's why it gives the bad .wim error. I can't find any configuration file to make Ghost use the amd64 files. Any ideas? Thanks!

    Randall


  • 5.  RE: Ghost SS2.5 booting Windows PE on a UEFI machine

    Posted Aug 21, 2009 03:35 PM
    Oh, yeah, I also tried moving all the files from amd64 to x86, but that gives me an "unable to load PE editing component" error.


  • 6.  RE: Ghost SS2.5 booting Windows PE on a UEFI machine

    Posted Aug 23, 2009 11:00 PM
    Thanks for the model number and information.  Now that I think of it, the changes are that the ghost boot is not working due to different CD boot cood needed between x86 and x64 UEFI.  I was taking a look again at the WAIK documentation and there's a CD creation walkthrough that includes a specific note on creating the .iso file for UEFI.  The command line ends up looking like this (in that walk through):

     
    oscdimg.exe -bC:\winpe_x64efi\efisys.bin -u2 -udfver102 C:\winpe_x64efi\ISO C:\winpe_x64efi \winpex64efi.iso

    Because of the boot code differences between x86 and UEFI x64, the Ghost Boot  Wizard as it is today will not be able to create a bootable UEFI CD.  Hence I'd recommend following the WAIK through to build a x64 WIM + UEFI .iso and then either adding ghost64.exe and other tools to the CD image or using them from a network drive.

    The walk through I was looking at was in the "Windows Preinstallation Environment (Windows PE) User's Guide for Windows 7" (in my case it was the win7 waik), in the "Customizing Windows PE" / "Windows PE Walkthroughs" / "Walkthrough: Create a Bootable Windows PE RAM Disk on CD-ROM".  The command line quoted above came from step 3.




  • 7.  RE: Ghost SS2.5 booting Windows PE on a UEFI machine

    Posted Aug 24, 2009 10:27 AM
    Hi Robert,

    Thanks again for the info. The command line looks much like the one I used to create my first PE test CD for the template I was trying to migrate into the Ghost Boot Wizard. I'm currently trying to decipher how to add the Ghost program to it and create a startup script to run a few commands. Wish me luck!

    Randall


  • 8.  RE: Ghost SS2.5 booting Windows PE on a UEFI machine

    Posted Sep 04, 2009 11:05 AM
    Ok, I got the Ghost to work (sorta) by doing this all manually through the WAIK. Now my problem is this: I need to be able to ghost to and from an external USB hard drive. I'm using the ghost64.exe under the amd64 version of PE. When I'm simply doing drive to drive with internal drives it works fine but when I hook up the external drive it locks up at the initial loading of the ghost program. I can access the USB drive from the command prompt, and I've tried the -nousb and -forceusb switches with Ghost to no avail. Any ideas what additional resources I need to add to my PE CD in order for ghost to see the USB drive? Thanks!

    Randall