How to verify the integrity of an image file
|Article:TECH106828|||||Created: 1999-01-07|||||Updated: 2013-10-30|||||Article URL http://www.symantec.com/docs/TECH106828|
This document discusses how to determine whether an image file is corrupted.
Ghost includes a feature for testing the integrity of an image file.
Symantec Ghost 8.0 and higher include the Ghost32.exe tool which can complete the integrity check without leaving Windows.
NOTE: If you have Ghost Solution Suite 2.5, you MUST have patch 2165 or newer (2266) for safe operation of the integrity check. Open the Ghost Explorer and click on Help > About. If you do not have version 188.8.131.525, click on Help > LiveUpdate and check again.
To run the integrity check from Windows (Symantec Ghost 8.x and later)
- Run Ghost32.exe. By default this is located at :
- Choose Local > Check > Image File.
- Browse to the image file and click Open.
- Choose Yes to proceed with the integrity check.
For other versions of Ghost, the Integrity Check is run from the Ghost DOS executable file, which is Ghost.exe for the corporate Ghost versions and Norton Ghost 2003, and Ghostpe.exe for the previous consumer Ghost 2002 version.
Note: In general, the DOS Ghost Integrity Check cannot work with image files that are stored on local NTFS partitions because the Integrity Check runs in DOS, which does not support NTFS partitions. For more information about Ghost support for writing to or reading from NTFS partitions, see the document Storing Ghost image files directly to NTFS partitions. Note the following exceptions:
- The Integrity Check can work with image files that are stored on NTFS partitions when those partitions are accessed by means of a mapped network drive. Not all Ghost versions support mapped network drives.
- The Norton Ghost 2003 Integrity Check can work with image files that are stored on local NTFS partitions and with image files that are stored on NTFS partitions that are on a mapped network drive.
To run the integrity check from DOS (Symantec Ghost 7.0 or 7.5)
- Start the computer with a DOS boot floppy disk. Note that if the image file is on a CD disc, the bootable floppy disk must load the appropriate drivers for accessing the CD-ROM drive, including the file Mscdex.exe.
- Type Ghost. This launches the DOS version of the Ghost executable. If using Norton Ghost 2002, type Ghostpe instead.
- Click OK.
- Select Local, and click Check.
- Select Image File. This opens the "Disk image file name" window.
- Navigate to the image file you want to check and click OK.
- Select Yes when it asks "Proceed with the image file integrity check?" This starts the integrity check. If the image file actually consists of several files, Ghost will prompt you for the location of each file when it finishes the check of the previous file.
To run the integrity check from Windows (Norton Ghost 2003 only)
- Click Start > Programs > Norton Ghost 2003 > Norton Ghost.
- Click Ghost Advanced > Image Integrity Check.
- Click Next.
- Click Browse.
- Locate and click the image file name, and then click Open.
- If the image file is on a drive that is not an internal hard drive, click Advanced settings and ensure that the settings are correct for the storage device.
- Configure the settings in the tab Mapped Network Drive if the image file is stored on the hard drive of a remote computer.
- Configure the settings in the tab External Storage if the image file is stored on an external storage device that uses USB or FireWire.
- Configure the settings in the tab SCSI Drivers if the external storage device is SCSI (note that some IDE Zip or Jaz drives require SCSI drivers) and Ghost does not detect the device.
- Click Apply, and then OK.
- Click Next and then Next again.
- Click Run Now.
- Close all applications.
- Click OK. Ghost restarts the computer and runs the integrity check. If the image file actually consists of several files, Ghost prompts you for the location of each file when it finishes the check of the previous file. When done, Ghost displays a message that reports the results of the integrity check.
- Make a note of the results and click OK. If using Norton Ghost 2003, Ghost now restarts the computer into Windows.
When done, Ghost displays a message that reports the results of the integrity check.
Using the results
When done checking the file, Ghost will either display a message indicating the process has completed successfully or a message indicating a problem with the image file.
- If Ghost indicates a problem with the image file, create a new image file.
- If Ghost does not indicate problems with the image file, and you cannot successfully restore the image file, determine whether there is corruption on the source drive. Read the document How to handle a corrupt image file.
Running Ghost from within Windows
If using Symantec Ghost 8.0 or earlier, or Norton Ghost 2002 or earlier, note that launching Ghost from within Windows only works with older Ghost versions and does not work when running in Windows NT, Windows 2000, and Windows XP. If you run these Ghost versions from within Windows, perform only the Integrity Check. Do not perform a cloning operation.
Alternate method for checking the integrity
Another way to check whether an image file is corrupt is to copy the file from one location to another location. First, start the computer into a DOS environment, and then use the Copy command with the Verification switch.
For instance, to check for problems with an image file that is on a CD-ROM disc, start the computer into DOS and then copy the image file from the disc to a drive that has the capacity to hold the image with a command such as: COPY /V F:\IMAGE.GHO D:\IMAGE.GHO
A problem reading the image from the CD-ROM usually indicates a problem with the CD-ROM disc. The disk may need cleaning, but if you have the option, recreating the image is the best solution.
Read the document How to handle a corrupt image file.
Newer versions of Ghost starting with 8.2 can read NTFS partitions and therefore an integrity can be run on an image file residing on an NTFS partition.
Article URL http://www.symantec.com/docs/TECH106828