Documente Academic
Documente Profesional
Documente Cultură
Page 1 of 27
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.
Contents
Imaging Windows Vista using Ghost
Spanning Ghost Images
DOS NDIS Driver Does Not Recognize the NIC How to Add the driver for the 4230ES to the Ghost Boot Disk Wizard Manually Select the Compaq 4230ES driver in Ghost Console
file://U:\Ghost\ghost.html
6/13/2011
Page 2 of 27
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 o Ghost Solution Suite Tutorial
Universal Imaging Utility by Binary Research reduces HAL dependencies Computer Tips Index
file://U:\Ghost\ghost.html
6/13/2011
Page 3 of 27
splits an image file into multiple parts. The number is the size in megabytes. So 690 will fit on a 80min/700MB CD-R. names split parts without prompting highest level of file compression
user if -fni parameter needed for Serial ATA drives. param=-fni user to (L)oad an image, (C)reate an image, or (E)xit Ghost.exe from drive R:
file://U:\Ghost\ghost.html
6/13/2011
Page 4 of 27
ghost.exe -split=690 -auto -z2 %1 %2 %param 2. Create a non-compressed image (.ima) of the bootable floppy disk using WinImage. 3. Create a bootable CD-ROM project in Nero by selecting "CD-ROM (boot)" Use the bootable floppy disk image as the source for the boot partition. Kind of emulation: Floppy Emulation 1.44MB Load segment of sectors (hex): 07C0
Add ghost.exe, and any additional programs to the project. e.g. GhostSrv.exe, GhstWalk.exe, GhostExp.exe 4. Write the project to CD-R Make sure to finalize the session, else the CD wont boot.
Reference
GCDROM for DOS: SATA Native IDE CD/DVD-ROM driver for DOS from Giga-Byte Technology
file://U:\Ghost\ghost.html
6/13/2011
Page 5 of 27
When creating spanned images, only use 4 characters for the filename, else previous spaned files in the same directory will be overwritten without warning.
file://U:\Ghost\ghost.html
6/13/2011
Page 6 of 27
Recommendation
Create a different directory for each image group using the computer name. e.g. NEC PowerMate ES 5200L Use 3 letters that uniquely identifies the computer, plus one letter for the image filename. If you start with A, you can get 26 different intact spanned images in the same directory. e.g. es5a.gho, es5b.gho Do not use a minus sign if you are going to use Nero 5.x to create the CD. See Nero Naming Issues for details.
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.
file://U:\Ghost\ghost.html
6/13/2011
Page 7 of 27
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. See: How to install the Ghost 7.5 Client
Windows Firewall > Exceptions tab and enable "File and Printer Sharing" Symantec Client Security Firewall: Add the "network address" of your network to the "Trusted Zone." GSS Console is designed to upgrade the clients when ever you run a task, if the version of Console and Client are different. If they already have a client installed and connected to the Console, running a config refresh task is sufficient to upgrade the client. It is not necessary to run remote client install again. If you run any task, you will notice two additional steps in the task log, 'Client upgrade' and 'Product upgrade'. The only reason to run remote client install to a machine with the client already is if you want to redirect it to a different Console. o To view the debug console on the client: Press the 'ctrl' key and move the mouse to the upper left corner of the screen. This will make the client icon visible in the system tray of the client. Right click on the client icon and select "show debug console".
file://U:\Ghost\ghost.html
6/13/2011
Page 8 of 27
command, from the console PC, to see if the the workgroup/domain and all PC's are accessible. net view /domain:<WorkgroupName>
file://U:\Ghost\ghost.html
6/13/2011
Page 9 of 27
Create a target machine group (All computers that have the Console Client installed, should show up under "Default" )
Machine Groups
For the Compaq 4230ESs and CNet PRO/200 NIC's , you need to manually add their NDIS drivers via the Ghost Boot Disk Wizard, and set the DOS driver by right clicking on the machine group. For Dell OptiPlex 755's, GSS 2.0's Console detects the NIC as Broadcom, although it's Intel Pro-1000 compatible. Configuration Resources > Images Configuration Resources > Configurations Tasks Task properties > Configuration tab > Template
2 3
4 5
file://U:\Ghost\ghost.html
6/13/2011
Page 10 of 27
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.
Stop the Ghost Client service: From the Command prompt run, CD C:\Program Files\Symantec\Ghost ngctw32 -stop Delete PubKey.crt. This file is located in the in the Ghost directory. Open the existing PubKey.crt with notepad and delete its contents. Save the empty pubkey.crt. If you use an empty PubKey.crt file instead of a PubKey.crt file from another computer, the Ghost Client will bind to the first Ghost Console that it finds on the network. Because Ghost 7.5 automatically updates the file PubKey.crt in the Ghost Boot Partition or Ghost Virtual Boot Partition every time a Task is run, manually replacing the PubKey.crt file in the Ghost Boot Partition is not necessary. Restart the Ghost Client service. Note that the Ghost Client service restarts automatically when you restart the computer. To restart the service without restarting the computer, use the following steps:
From the command prompt, type ngctw32 When you start NGctw32.exe, the Ghost Client uses the new PubKey.crt file to locate the Ghost Console on the network. If PubKey.crt is empty, the Ghost Console Client searches for an available Ghost Console. 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
file://U:\Ghost\ghost.html
6/13/2011
Page 11 of 27
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.
How to move the Ghost Console to a different computer or retain Console settings during a reinstall
Document ID: 2001050812540225
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
file://U:\Ghost\ghost.html
6/13/2011
Page 12 of 27
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 1. At the current Ghost server computer: 1. Close the Ghost Enterprise Console. 2. Click Start > Run. The Run dialog box appears. 3. Type: C:\Program Files\Symantec\Ghost\ngserver stop and click OK. The drive letter and path might be different on your computer. This stops the Ghost Enterprise Console Services. 4. Copy the following files to a safe location. These files contain Ghost configuration information: SymantecGhost.db Pubkey.crt Privkey.crt 2. If reinstalling Ghost: 1. Uninstall Ghost. 2. Install Ghost. 3. Click Start > Run. The Run dialog box appears. 4. Type: C:\Program Files\Symantec\Ghost\ngserver stop and click OK. The drive letter and path might be different on your computer. This stops the Ghost Enterprise Console Services. 5. Replace the following files with the files that you previously copied to a safe location: SymantecGhost.db Pubkey.crt Privkey.crt 6. Reboot the computer. 3. If moving the Ghost Console: 1. Install Ghost to the new Ghost server computer. 2. Click Start > Run. The Run dialog box appears. 3. Type: C:\Program Files\Symantec\Ghost\ngserver stop
file://U:\Ghost\ghost.html
6/13/2011
Page 13 of 27
and click OK. The drive letter and path might be different on your computer. This stops the Ghost Enterprise Console Services. 4. Replace the following files with the files that you previously copied to a safe location: SymantecGhost.db Pubkey.crt Privkey.crt 5. Reboot the computer. 6. Uninstall Ghost from the original Ghost server computer.
Are you stuck in the virtual partition or boot partition in DOS, and can only reboot to DOS?
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: 1. Press Ctrl + C to stop the DOS client from communicating with the console. 2. Then at the C:\GHOST prompt type in NGCTDOS -HIDE. The NGCTDOS.EXE file is the Ghost client in DOS which talks to the Console. The -HIDE switch will delete the virtual partition or hide the boot partition, and then reactivate your Windows partition.
http://ghosttraining.com/ghost_faq.html#5
file://U:\Ghost\ghost.html
6/13/2011
Page 14 of 27
1. Press Ctrl + C to stop the DOS client from communicating with the console. (Note: You may have to press Ctrl + C twice in succession.) 2. Then at the C:\GHOST prompt type in ghreboot then press <enter>
The "Plug & Play OS" setting in the CMOS must be set to "No" to get the DOS NDIS driver to properly recognize the NIC.
How to Add the driver for the 4230ES to the Ghost Boot Disk Wizard
1. Create a directory named Compaq 4230 in the Ghost Boot Disk Wizard directory 2. Copy the OEMSetup.inf file from the Compaq 4230 boot disk to the Compaq 4230 directory 3. Add the Compaq 4230 NDIS to the Ghost Boot Disk Wizard 4. The drivername must be NTFLX3$ to match protocol.ini.
file://U:\Ghost\ghost.html
6/13/2011
Page 15 of 27
In Ghost Console, you'll need to access the properties for the computer or group and manually choose the Compaq 4230ES driver.
This behavior was observed on Dell OptiPlex GX280's with a Broadcom NetXtreme 57xx Gigabit controller (April 2005) and Dell OptiPlex
file://U:\Ghost\ghost.html
6/13/2011
Page 16 of 27
Ghost compatibility with Intel 865 chipsets and Serial ATA drives
The SATA interface mode needs to be changed to "RAID Autodetect / ATA" or "Legacy" so that the SATA optical drive drivers (gcdrom.sys) can load. The SATA interface mode needs to be changed to "RAID Autodetect / ATA" or "Legacy" so that images created for the 745 (with SATA Operation set to Combination) will boot Windows XP without rebooting half-way.
SATA Operation RAID Autodetect / AHCI (Factory default) RAID Autodetect / ATA RAID On Legacy
Changing Onboard Devices > SATA Operation from ATA to AHCI allows Ghost.exe v7.5 to load properly No extra parameters, including -FNI, are needed ATA is the factory default
Reference
AHCI (Advanced Host Controller Interface)
AHCI allows advanced features of SATA such as hot plug and Native
file://U:\Ghost\ghost.html
6/13/2011
Page 17 of 27
Command Queuing (NCQ). Windows Vista and the current versions of Mac OS X and Linux have native support for AHCI Error message when you start a Windows Vista-based computer after you change the SATA mode of the boot drive: "STOP 0x0000007B INACCESSABLE_BOOT_DEVICE" SATA Hard Drives in AHCI mode: Ghost 11 (GSS 2.0) and lower, does not support hard drives or RAID configured in AHCI mode. This would include both the hard drive and SATA CD / DVD drives. SATA hard drives currently work with Ghost when the SATA settings in the BIOS is enabled for compatibility mode.
file://U:\Ghost\ghost.html
6/13/2011
Page 18 of 27
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. Note: This compatibility limitation only exists in Symantec Ghost 7.5. Symantec Ghost 8.0 is compatible with both versions of Sysprep 1.1.
Sysprep versions
Windows 2000 There are four different versions of Sysprep provided with Windows 2000. The table below outlines which versions of Ghost work with each version of Sysprep. Sysprep version 1.0 1.0 1.1 1.1 5.0.2149.1 5.0.2195.1 Build Compatible Ghost versions None. Do not use with Ghost Comments Original Windows 2000 CD
Symantec Ghost 7.5 Later copies of Symantec Ghost 8.0 Windows 2000 CD Symantec Ghost 7.5 Windows 2000 SP1 Symantec Ghost 8.0
Windows XP There are three versions of Sysprep for Windows XP, and all three versions work with Ghost. Windows XP without Service Pack 1 installed: Version 5.1.2600 (included on the Windows XP CD)
Windows XP with Service Pack 1: Version 5.1.2600.1106. Windows XP with Service Pack 2: Download from Microsoft.
Windows 2003
file://U:\Ghost\ghost.html
6/13/2011
Page 19 of 27
Determine which computer will be the master computer and which computer will be the slave
The master is the computer from which you control the connection. After you have started Ghost on each computer and selected Master or Slave, all operator input must be on the master computer. When creating and saving an image file or writing an image over the contents of another disk or partition, the source computer should be the Master and the destination computer should be the Slave. When restoring a disk image or a partition image, the destination drive should be the Master and the source drive should be the Slave.
WARNING: This relationship is very important; if the wrong computer is set as Master or Slave, it can cause data loss on the drive you intend to copy. Be certain which computer is the Master and which is the Slave. For further clarification, see the section "Assigning the Master and Slave computers."
Master
Slave
file://U:\Ghost\ghost.html
6/13/2011
Page 20 of 27
Disk-To-Disk
Computer containing the source disk Computer containing the source partition Computer containing the source disk Computer containing the source partition Computer containing the destination disk Computer containing the destination partition
Computer containing the destination disk Computer containing the destination partition Computer receiving the image file Computer receiving the image file Computer containing the image file Computer containing the image file
Partition-ToPartition Cloning: Create an image file Disk-ToImage Partition-ToImage Restore an image Image-ToDisk Image-ToPartition
Source: How to clone or save an image file over a TCP/IP peer to peer connection
file://U:\Ghost\ghost.html
6/13/2011
Page 21 of 27
Disk-to-Image
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. Source
file://U:\Ghost\ghost.html
6/13/2011
Page 22 of 27
You would like to know an easy way to uninstall the Console Client from a large number of machines. Ghost Console only allows remote uninstalling of one client at a time, which would be very tedious.
Solution:
The Console Client can be uninstalled for a group of machines using the Ghost Console.
Note 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
file://U:\Ghost\ghost.html
6/13/2011
Page 23 of 27
Situation
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
The task log shows "to Virtual Partition" has failed by timing out on the affected PC. Rebooting the PC does not correct the problem. The Ghost Virtual Partition was created but is empty on reboot
Cause
file://U:\Ghost\ghost.html
6/13/2011
Page 24 of 27
Restart," the data for the Virtual Partition is written to the WDP cache file instead of to the Ghost Virtual Partition on the hard drive. When the system reboots, the cache file is cleared and the data that was supposed to be in the Virtual Partition is never commited to disc and is lost.
Solution
1. Cancel the task before Ghost Console times out and starts imaging all the other PCs in the group 2. Boot the failed computer(s) with a CD/DVD or disk that contains the Windows 98 or newer FDisk. 3. Run FDisk and select option "4. Display Partition Information" to determine which partition was the original boot partition 4. Select option "2. Set active partition" to set the original boot partition as the active partition, 5. Select option "3. Delete Partition or Logical DOS Drive" and delete the 16Mbyte "UNKNOWN" partition. 6. Exit FDisk then reboot the computer 7. Disable SteadyState Windows Disk Protection. 8. Execute the task again For future imaging, I suggest that you create 3 separate tasks for the one job. 1. Execute Command only, to disable WDP on all target PC's, "In Target Operating System" Command: "C:\Program Files\Windows SteadyState\SCTUI.exe" Arguments: /DisableWDPAndReboot 2. The normal task (Clone, Configuration, etc.) to push the image to all target PC's 3. Execute Command only, to enable WDP on all the target PC's, "In Target Operating System" Command: "C:\Program Files\Windows SteadyState\SCTUI.exe" Arguments: /EnableWDPAndReboot
Example Partitions
file://U:\Ghost\ghost.html
6/13/2011
Page 25 of 27
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 C: 1 2 3 A Type PRI DOS NTFS EXT DOS Volume Label Mbytes 16 65421 10864 System UNKNOWN Usage % 100% 100%
Reference
SteadyState and Ghost Console Successful Cloning Strategy - Zero Touch Installation
file://U:\Ghost\ghost.html
6/13/2011
Page 26 of 27
3. Click on the "Execute Command" tab 4. Add the command and any parameters 5. Choose "In Target Operating System"
DOS Commands
If you need to run a DOS command you'll want to use:
cmd /c "String" cmd /c "String" is the command interpreter Carries out the command specified by string and then terminates is the DOS command plus parameters that you want to run
cmd /c "rd /s /q c:\temp\Patcher" rd removes the specified directory. a.k.a. RmDir Removes all directories and files in the specified directory /s 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
Add the command to Ghost Console Command: Arguments: cmd /c "rd /s /q c:\temp\Patcher"
file://U:\Ghost\ghost.html
6/13/2011
Page 27 of 27
All items Copyright 1996 - 2009 Mr. Chin. All Rights reserved Conscious Vibes developed by Chin
Terms of use
file://U:\Ghost\ghost.html
6/13/2011