| |
CVibes.net | Home | Links ( Motorcycles, Computers ) |
Ghost Tips
(Imaging / cloning hard disc drives using Symantec Ghost)
All of the information, instructions, and recommendations on this Web site are offered on a strictly "as is" basis. Remember "Murphy's Law." Please take the proper precautions before attempting any of the tips or modifications listed here.
| Imaging Windows Vista using Ghost |
| Spanning Ghost Images |
| Creating a Multi-NIC CD-ROM |
| Creating Bootable CD-ROMs for Restoring Ghost Images |
| Nero File Naming Issues |
| Filename Length Issues with Spanned Images |
| Ghost Console: Remote Client Install |
| Reducing the Size of the Image |
| Configuring Ghost Console Tasks |
| Bind Client to a Different Ghost Console |
| How to move the Ghost Console to a different computer or retain Console settings during a reinstall |
| Stuck in the DOS Virtual Partition |
Compaq Presairo 4230ES Issues
|
| Serial ATA Hard Disc Drives and Ghost.exe issues |
| Sysprep Issues with Ghost Console |
| HAL (Hardware Abstraction Layer) List : (a.k.a. Computer Type) |
| Determine which computer will be the master computer and which computer will be the slave |
| How to change the Managed Server for Symantec AntiVirus |
| Ghost compatibility with dynamic partitions |
| Bulk Uninstall of Ghost Console Clients |
| Error Loading Operating System after Executing a Console Task |
| Executing Commands from the Ghost Console |
|
Documentation: Symantec Solution Suite |
|
Ghost Solution Suite Tutorial |
|
Universal Imaging Utility |
| Computer Tips Index |
You can use the following parameters to run Ghost to allow splitting images into smaller parts.
ghost.exe -split=690 -auto -z2 -afile=NUL
| Parameter | Description |
-split=690 |
splits an image file into multiple parts. The number is the size in megabytes. So 690 will fit on a 80min/700MB CD-R. |
-auto |
names split parts without prompting |
-z2 |
highest level of file compression |
| -afile=NUL | Don’t write any error information to ghost.err |
See: How To Create A Bootable Ghost Rescue CD Tutorial
Situation:
Wrote a CD-R with "pm-f.gho." (that's a minus sign between m and f). Nero v5.x changed the minus sign to an underscore, without warning, causing ghost.exe to not find the filename specified in ghost.bat, because the filename was changed by Nero.
Solution:
Use underscores instead of minus signs when naming files and using Nero 5.x.
See: Filename Length
Issues with Spanned Images.
Recommendation
Remote Client Install allows you to avoid visiting each client computer to manually install the Ghost Console Client software. The installation can be done entirely from the Ghost Console > Tools > Remote Client Install...
The Symantec documentation says:
Remote Client Install only works on client computers that fit the following criteria:
- Computers running Windows NT, Windows 2000, or Windows XP Professional, and is a member of a domain.
- Computers running Windows NT or Windows 2000, and is a member of a workgroup.
Remote Client Install does not work for client computers that are running Windows 95/98/Me, Windows XP Home Edition, or Windows XP that are members of a workgroup.
Remote Client Install does work for client computers that are running Windows XP Professional SP2 that are members of a workgroup. I've done it myself using Ghost Console v7.5.0.335.
Workgroup/Domain and/or Computers not listed under "Tools > Remote Client Install…"
If the workgroup/domain or computers that are members of the workgroup/domain are not showing up in Console, try the following DOS command, from the console PC, to see if the the workgroup/domain and all PC's are accessible.
net view /domain:<WorkgroupName>
1. Delete the C:\Pagefile.sys using the Recovery Console
Note: Since pagefile.sys is a hidden file you have to use the following commands at the Recovery Console to delete it:
2. Use the -z2 paramater at the command line when you run Ghost.exe to use maximum compression.copy boot.ini pagefile.sys
del pagefile.sys
Item |
Location in Ghost Console |
|
|---|---|---|
Create a target machine group
|
Machine Groups |
|
Add an image |
Configuration Resources > Images |
|
Create a configuration |
Configuration Resources > Configurations |
|
Create a Task |
Tasks |
|
Add the configuration to the task |
Task properties > Configuration tab > Template |
|
Execute the Task |
|
To bind the client computer to a different Console Switching the client computer so that it can be controlled by a different Ghost Console requires replacing the file PubKey.crt, located in C:\Program Files\Symantec\Ghost\.
Note that performing a Remote Client Install from a different Ghost Console installation does not bind the client computer to that Ghost Console. The Symantec Ghost 7.5 Implementation Guide, page 160, is wrong in this situation.
Note: Unders Windows 2000 & XP, Modify and Write rights are required to modify files in the C:\Program Files\Symantec\Ghost\ directory. A regular User won't have those rights. Just login as an Admin.
You can find the whole article if you do a search for Document ID: 2001121715570925
I created a batch file, BindClientToDifferentConsole.zip, to zero out the pubkey.crt file, allowing the Ghost Console Client to bind to a different Ghost Console. You need to be logged is with administrative rights to run BindClientToDifferentConsole.bat.
Situation:
The Ghost Server (sometimes referred to as the Ghost Console) is installed on one computer, and you want to move the server to a different computer without losing Ghost configuration information and without having to reconfigure the client computers. Or, you want to reinstall the Ghost Server to the same computer without losing the Ghost Console settings.
Solution:
Moving the Ghost Console to a different computer, or reinstalling the Console, is a simple process. However, it requires that you visit each Ghost client computer to copy or delete specific Ghost files, as described in the following instructions.
Upgrading to a new Ghost version
If you intend to upgrade the Ghost Server to a new version and move the Ghost Server to a new computer, upgrade the Ghost Server and the Ghost Clients before moving or reinstalling the Ghost Server. Read the document How to upgrade Ghost Enterprise Edition to Ghost 6.5, Ghost 7.0, or Ghost 7.5.
To move or reinstall the Ghost Console
This often happens when canceling an imaging task. If the DOS system is still communicating with the Ghost Console, just send a new task. If there is a valid Windows operating system on the client machine, and you just need to get out of DOS, use the following commands:
http://ghosttraining.com/ghost_faq.html#5
Ghost Solution Suite adds ghreboot.bat:
The NIC in the Compaq Presario 4230ES is a "Compaq Netelligent 10/100 TX PCI UTP Controller." I'll just reference as 4230ES.
The Serial ATA (SATA) setting in the BIOS may cause Ghost.exe v7.5 to hang.
On Dell OptiPlex GX620's, there are two settings for Drives > SATA Operation in the BIOS, Normal and Combination.
When SATA Operation is set to "Normal," (the factory default) Ghost.exe v7.5 hangs before the Ghost user interface is displayed. Adding the -fni parameter when running Ghost.exe, enables Ghost to run.
When SATA Operation is set to "Combination," Ghost.exe v7.5 runs normally without the need for the -fni parameter.
We haven't noticed a performance hit when SATA Operation is set to "Combination."
The SATA interface mode needs to be changed to legacy so that images created for the 745 (with SATA Operation set to Combination) will boot Windows XP without rebooting half-way.
Dell Optiplex 755 with BIOS vA09
What is "TPM Security"?
Ctrl-P = MEBx ?
BIOS A13 (07/28/2008)
Document ID: 2002021914065725
Situation:
You chose the option "Pull an image from a client machine" in the Symantec Ghost Console Wizard or the option Image Dump to create a Task that creates an image of a Windows 2000 installation and saves that image as a file. When you run the Task, the Task fails. Ghost copies the Sysprep file to the client computer but does not execute the Sysprep file. The Ghost Task Log displays a message that indicates Ghost failed to execute a command or the client failed to boot from Ghost Virtual Boot Partition.
You configured the Task to use Microsoft's System Preparation Tool (Sysprep) version 1.1.
Solution:
This problem happens when you use the most recent version of Sysprep for Windows 2000. Microsoft has two versions of Sysprep 1.1. Symantec Ghost 7.5 works with the earlier version, which is build number 5.00.2195.1, and not with the later version, build number 5.00.2195.2104.
To resolve the problem, recreate the image file using Sysprep 1.1 build 5.00.2195.1.
Sysprep versions
Sysprep version |
Build |
Compatible Ghost versions |
Comments |
1.0 |
None. Do not use with Ghost | Original Windows 2000 CD | |
1.0 |
5.0.2149.1 | Symantec Ghost 7.5 Symantec Ghost 8.0 |
Later copies of Windows 2000 CD |
1.1 |
5.0.2195.1 | Symantec Ghost 7.5 Symantec Ghost 8.0 |
Windows 2000 SP1 |
1.1 |
5.0.2195.2104 | Symantec Ghost 8.0 | Download from Microsoft |
Assigning the Master and Slave computers
When cloning a disk or partition, the source computer is the Master and the destination computer is the Slave. When restoring an image, the computer that has the image is the Slave and the computer that you will restore the image to is the Master.
| Cloning operation |
Master |
Slave |
|
| Cloning: Copy the disk or partition | Disk-To-Disk | Computer containing the source disk | |
| Partition-To-Partition | Computer containing the source partition | Computer containing the destination partition | |
| Cloning: Create an image file | Disk-To-Image | Computer containing the source disk | Computer receiving the image file |
| Partition-To-Image | Computer containing the source partition | Computer receiving the image file | |
| Restore an image | Image-To-Disk | Computer containing the destination disk | Computer containing the image file |
| Image-To-Partition | Computer containing the destination partition | Computer containing the image file |
Source: How to clone or save an image file over a TCP/IP peer to peer connection
The best way to use Ghost to clone a dynamic disk is to perform a partition-to-image cloning operation and not a disk-to-image cloning operation. To clone the entire disk, perform a partition-to-image operation and select all partitions on the source disk.
Use a disk-to-image operation only as a last resort.
To perform a disk-to-image cloning operation on a dynamic disk, run Ghost with the -IA switch on the Ghost command line.
Ghost supports creating a disk image of a dynamic disk only when using the -IA switch on the Ghost command line.
The Console Client can be uninstalled for a group of machines using the Ghost Console.
1. Obtain the GUID for the Console Client from the registry on a client: HKLM\Software\Symantec\Symantec Ghost\ProductCode.
2. Set up the Ghost Console to run an task of 'Execute Command' in the following form:
msiexec /x {ProductCodeGuid} /qNote that the command line should include the curly brackets {} since they form part of the product code GUID obtained from step 1.
3. In the task, specify the machine group you would like to uninstall.
4. Execute the task.
5. The clients will reboot and the Console Client will be uninstalled.
6. The clients will not be removed from the Ghost Console. This must be done manually.
Source: Document ID: 2007111215361360
| Version | Ghost Solution Suite 2.0 |
| Operating System | Windows XP Professional SP3 |
| Environment | Windows SteadyState v2.5 with Windows Disk Protection enabled in Discard mode (Remove All Changes at Restart) |
After executing a Ghost Console task, one or more of the target computers fails to boot into the Ghost Virtual Partition, fails to load Ghost so it can be imaged, and fails to recover by booting into the existing operating system.
The following error is displayed on the failed client computer when it reboots:
Error loading operating system
For future imaging, I suggest that you create 3 separate tasks for the one job.
From: Dell Optiplex 755 with 80GB SATA hard disc drive
The drive was partitioned into two. Drive C: the boot partition and a 10GB D: partition that "My Documents" was moved to so that WDP would leave user data intact between reboots.
The 16 Mbytes “UNKNOWN” is the Ghost Virtual Partition.
Display Partition Information
Current Fixed Disk drive: 1
Partition |
Status |
Type |
Volume Label |
Mbytes |
System |
Usage |
C: 1 |
A |
PRI DOS |
|
16 |
UNKNOWN |
% |
2 |
|
NTFS |
|
65421 |
|
100% |
3 |
|
EXT DOS |
|
10864 |
|
100% |
Total disk space is 10757 Mbytes (1 Mbyte = 1048576 bytes)
If you need to run a DOS command you'll want to use:
| cmd | is the command interpreter |
| /c | Carries out the command specified by string and then terminates |
| "String" | is the DOS command plus parameters that you want to run |
Here's an example to delete a directory tree:
| rd | removes the specified directory. a.k.a. RmDir |
| /s | Removes all directories and files in the specified directory in addition to the directory itself. Used to remove a directory tree. |
| /q | Quiet mode, do not ask if ok to remove a directory tree with /s |
| Command: | cmd |
| Arguments: | /c "rd /s /q c:\temp\Patcher" |
All items Copyright ©1996 - 2008 Chin. All Rights reserved
Conscious Vibes developed by Chin
Terms of use