Error: "Unable to create Virtual Partition file. . ." and computer does not restart into the virtual boot partition

Article:TECH108024  |  Created: 2002-01-30  |  Updated: 2003-01-11  |  Article URL http://www.symantec.com/docs/TECH108024
Article Type
Technical Solution


Environment

Issue



You are running a Task in Ghost Console to perform a cloning operation on a client computer that does not have a Ghost Boot Partition. Ghost does not complete the Task. The client computer does not restart into a virtual boot partition. In the Task Log in the Ghost Console, you see the message "Disk is either full or heavily fragmented. Unable to create Virtual Partition file."

The first Task that you run on the client computer may complete successfully, but subsequent Tasks that write an image to the drive do not restart into the virtual partition.


Solution



Symantec has confirmed this situation to be an problem with Ghost. The problem occurs with version 7.5.0.335 of the Ghost file VPartition.dll. To resolve the problem, replace the file VPartition.dll on each of the affected Ghost client computers with the newer version, 7.5.337.

VPartition.dll

To replace the file, use any of the following methods.


Method 1: Manually replace the file at the client computer
  1. Open Windows Explorer and navigate to the Ghost folder.
  2. Rename the file VPartition.dll to VPartition.old.
  3. Copy the new version of VPartition.dll to the Ghost folder.


Method 2: Use the File Transfer option in Ghost Console
Use the options File Transfer and Command in a Ghost Console Task to replace the file on the client computers.

Here are the general steps:
  1. Create a batch file named VUpdate.bat
  2. Create a new Task in Ghost Console:
    • Configure File Transfer to copy VUpdate.bat and the new VPartition.dll to the Incoming folder on the client computers
    • Configure Command to run the batch file
  3. Run the Task

    To create the batch file
    In the batch file, include commands that rename the old version of VPartition.dll and copy the new version of VPartition.dll from the Incoming folder to the Ghost folder.

    When writing the batch file, note the following:
    • The older version of VPartition.dll is in the Ghost folder, which is at C:\Program Files\Symantec\Ghost
    • The File Transfer option copies the batch file and the new version of VPartition.dll to the Incoming folder at C:\Program Files\Symantec\Ghost\Incoming
    • After the files have been transferred, the Command option runs the batch file commands from the Ghost folder

    Here is an example of text that you might use for the batch file:
    Rename vpartition.dll vpartition.old
    Copy incoming\vpartition.dll


    In this example, both commands in the batch file are run from the Ghost folder. The first line renames the old version of VPartition.dll in the current folder, which is the Ghost folder. The second line copies the new version of VPartition.dll from the incoming folder to the current folder, which is the Ghost folder.


    To create the Task
    1. Check the options "Transfer files" and "Execute command" on the General tab.
    2. In the File transfer tab
      1. Check "In Target Operating System."
      2. Click Add.
      3. Navigate to the new version of VPartition.dll, select the file, and click Open. This step adds the file to the "List of files to transfer" box.
      4. Click Add.
      5. Navigate to VUpdate.bat, select the file, and click Open.
      6. Verify that both files are included in the "List of files to transfer" box, and that the Target listed for each file is "Target system."
    3. In the Command tab:
      1. Check "In Target Operating System."
      2. Type the following in the Command box:
        incoming\vupdate.bat
      3. Click Add.
    4. Click OK.

Method 3: Use the Deploy AI Package option in Ghost Console
Use the attached AutoInstall Package (AI Package) to replace the file on the client computers. The package renames the old file and copies the new file to the Ghost folder.

The following EXE file is the AI Package.

VPartitionAIPkg.exe

Use any of the following methods to distribute and run the package:
  • Run the EXE file locally at each client computer.
  • Run the file from a distribution program, such as a logon script.
  • Run a Ghost Console Task that is configured to use the option Deploy AI Package.


Alternate solutions
To use a Ghost Virtual Boot Partition, Ghost places a file on the hard disk of the client computer and uses information from that file to run Ghost in a virtual partition. The problem happens when Ghost cannot save the file on the hard disk because the hard disk has a subfolder with the same name as the parent folder.

If it is not feasible to replace VPartition.dll at this time, each of the following methods also resolves the problem.
  • Put a Ghost Boot Partition on the affected client computers. The Task will use the Ghost Boot Partition and not attempt to save a file for the virtual partition on the client computer.
  • Use GhostCast Server to rollout the image rather than using Ghost Console. GhostCast Server does not use the virtual boot partition.
  • Find all instances on the hard drive in which the parent folder and subfolder have the same name, and in each instance, change one of the names.

This problem could also occur when the file GVPcfg.bin is marked as read only. In this situation, removing the read-only attribute from the file resolves the problem.

You might see this issue after upgrading the Ghost Console computers. The Ghost Client might not have the rights to modify Ngctw32.exe, GVPcfg.bin, or VirtPart.dat. This problem occurs when the SYSTEM account at the client computer does not have permission to access the root of the drive. For instance, if you changed the permissions for C:\ from "Everyone" to "Authenticated Users," the SYSTEM account no longer has access. To resolve the problem, open Windows Explorer and modify the security settings for the drive to include the SYSTEM account.



References
Related information

Explanation of the Wake On Lan, File Transfer, and Command options in Ghost Enterprise Console



Attachments

VPartition.dll (620 kBytes)
VPartitionAIPkg.exe (932 kBytes)





Legacy ID



2002013015303425


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


Terms of use for this information are found in Legal Notices