Error 10008: "Unexpected End of File" when restoring a Ghost image

Article:TECH108828  |  Created: 2004-01-17  |  Updated: 2010-01-23  |  Article URL http://www.symantec.com/docs/TECH108828
Article Type
Technical Solution

Issue



You are attempting to restore a Ghost image file when you see "Error 10008: Unexpected End of File."


Solution



First, perform an integrity check on the image. For additional information, see How to verify the integrity of an image file.

If you are sure that the image is not corrupted, run Ghost with the -NTEXACT switch.


Note: The -NTEXACT switch is available in Symantec Ghost 8.0 build 996 and later. See How to determine your version of Ghost for help with determining which build you have. If you have a version prior to 8.0 build 996, contact Ghost Technical Support for information on downloading the update.

This may also occur if there are numbers in the name of the *.gho filename. It is recommended that when naming a *.gho file, a name of eight or less alphabetic characters is used. Due to the way Ghost reads the filenames of spanned image files, spanned image filenames may be confused if numbers are in the original filename.

For example, when creating an image, the filename "ImageFile.gho" is specified. Assuming that the image is greater than 2GB, Ghost will (by default) span the image to multiple files. In addition to the ImageFile.gho, Ghost will also create Image001.ghs for the next 2GB section and so on.

For the *.ghs spans, Ghost truncates after the fifth character and adds a three-digit number starting at 001. If the fifth character is a number, this often interferes with the way Ghost recognizes the files.

If you have image files that give the above error when attempting a restore, you may open them in the Ghost Explorer and recompile them. This assumes that the image is accessible from a machine that has Ghost Standard Tools installed. The following instructions describe how to do this:

  1. Right click on the *.gho file.
  2. Click on Open.
  3. Click on the File menu.
  4. Click on Compile.
  5. In the Save As window, type a filename that is no more than eight characters in length and contains only letters, or, uncheck Span Image. Unchecking Span Image will compile the image into a single file and the filename will not then be an issue.
  6. Click on the Save button.


Note:

This issue can happen when booting from a DVD containing the image to be restored and "Enhanced IDE" is enabled in the BIOS. Selecting "Legacy" IDE mode or using the -FNI -FFX switches should fix the problem.

This issue can also happen during the image restore process if an image file was added to a bootable DOS CD/DVD for .ISO images and DOS/WinPE created CD/DVDs made through the Ghost Boot Wizard. Due to the size and type of the boot files the Ghost Boot Wizard requires when creating a bootable DOS CD/DVD, it is currently not supported to add image files via the Ghost Boot Wizard to bootable CD/DVDs using DOS as the PreOS. In order to add image files to a CD/DVD, you will need to use WinPE as the PreOS and create .ISO images to be burned to a CD/DVD by third party software.

This issue can also happen when the Motherboard bio's is set to share the first channel between the SATA and PATA drives. In one case the harddrive was on SATA and a CD on the PATA. As soon as the bio's was reset so the channel wasn't shared the error was resolved.





Legacy ID



2004061708005025


Article URL http://www.symantec.com/docs/TECH108828


Terms of use for this information are found in Legal Notices