Ghost Solution Suite

 View Only
Expand all | Collapse all

Creating/Restoring an image with an aligned disk

  • 1.  Creating/Restoring an image with an aligned disk

    Posted Jan 28, 2012 06:01 AM

    We use a Windows XP Dell ImageDirect gold image to re-image our machines. The gold ImageDirect was created and aligned on an AF drive. The gold image contains the OS partition only. When I apply the gold image to an AF drive the partition is aligned. However we require the Dell Diagnostics partition on all systems so I have created a boot USB drive with the ImageDirect gold image and an image of the utilty partion that works ok except the OS partition is no longer aligned. Is there any way I can align the OS partition during the re-image process to remove the need to run an alignment tool at a later date?

    The USB drive is DOS based and the code I'm using is:

    gdisk 2 /y /del /all (deletes existing partition on target drive)
    gdisk 2 /y /cre /pri /sz:300 /for /q (creates utility partition)
    gdisk 2 /y /cre /pri /for /q (creates OS partition)
    gdisk 2 /y /act /p: (sets second partition active)
    ghost.exe -align=1mb -clone,mode=prestore,src=c:\...\utility.gho,dst=2:1,sze1=110m -quiet -sure -fx (restores utility partiton)
    ghost.exe -align=1mb -clone,mode=prestore,src=c:\...\image.gho:1,dst=2:2,sze2=V -quiet -sure -rb (restores OS partition)

    Any help much appreciated



  • 2.  RE: Creating/Restoring an image with an aligned disk

    Posted Jan 29, 2012 01:54 PM

    Are you using a hard disk with 4Mb sectors?

    If so, try -align = 4Mb