Video Screencast Help
Symantec Appoints Michael A. Brown CEO. Learn more.

Symantec Ghost : PXE Step by Step Instruction

Created: 30 Nov 2011 • Updated: 30 Nov 2011 | 9 comments
Language Translations
Shanthi_Vardhan's picture
+1 1 Vote
Login to vote

Installation procedure :

1. Open the Ghost Solution Suite setup folder .
2. Run Master.exe located in Extras > 3Com Boot Services > Master.exe
3. Click on Install 3Com Boot Services .
4. Click Next ... and select Server under Setup Type .
5. Click Finish to complete the installation.
 
- Install 3COM Boot Services
- Open Ghost Boot Wizard and select Image Type
  TCP/IP Network Boot Image (To run Ghost Cast Server and PXE)
  TCP/IP Network Ghost Client Boot Image (To run Ghost Console and PXE)
- Please click Next until the TCP/IP Network Boot Image window
- Please select the TFTPBOOT folder under TFTP Root Directory and assign a Name for the Boot Package
- Click Next and create boot package
- Copy the bootmgr.exe from the boot folder under TFTPBOOT folder to TFTPBOOT folder
- Open the BOOTPTAB Editor
- Click Edit > Add Host
- Check Use node for name
- Under node field type question marks (?) as far as it goes (12 )
- Under Image field , type /boot/pxeboot.n12
- Click on OK
- Click File > Save As
- Save with the filename BOOTPTAB in TFTPBOOT folder
- Start PXE server and then TFTP server (Start > all programs > 3COM Boot Services)
 
Then Network Boot the client computer and the client computer will boot to Ghost.
 
DHCP scope options :
 
Scope Option 66 (Boot Server Host Name) > type Server Computer Name
Scope Option 67 (Bootfile Name) > type /boot/pxeboot.n12
 
REFERENCE:
 
Title: How to use the 3Com Boot Services with Symantec Ghost
URL http://www.symantec.com/docs/TECH110129

Comments 9 CommentsJump to latest comment

Gille H's picture

A good one, Please specify that it is a WinPE PXE settings.

0
Login to vote
Shanthi_Vardhan's picture

It is for winPE 

 

Thanks for the update..

0
Login to vote
funguy's picture

Howto put ghost on TinyCore and use with PXE"

1) Download the latest release candidate from http://www.tinycorelinux.net
 *http://distro.ibiblio.org/tinycorelinux/4.x/x86/release/Core-current.iso
2) Copy other files to your usb  (example f:\build\)
 a. Browse to C:\Program Files\Symantec\Ghost
 b. Copy the following files: gdisk, ghconfig, ghost, ghregedit, omnifs
        c. Get this script http://forum.tinycorelinux.net/index.php?action=dlattach;topic=12300.0;attach=3242 too
 d. Find a cool ghost.png icon using yahoo and save it to your usb (dimensions=48x48)
3) Mount the Core-current.iso
(oracle vm with at least 256mb ram and no hdd will do)
 a. just press <enter> at the tinycore boot prompt
4)  Copy the files from your usb to /tmp
 a.  mount the usb to the oracle vm by right clicking the usb plug
        b.  mount the usb inside your tinycore vm os using the Mount icon on the wbar (example: sda1)
        c.  sudo cp -R /mnt/sda1/build/* /tmp
        d.  cd /tmp
        e.  sudo ./cr_tc-initrd.sh
5) sudo mkdir /tmp/newinit
6) sudo mv ./tinycore_4.2.1.gz /tmp/newinit
7) cd /tmp/newinit
8) zcat tinycore_4.2.1.gz | sudo cpio -idum
9) copy ghost files
 sudo cp /tmp/g* /tmp/newinit/usr/local/bin
 sudo cp /tmp/omni* /tmp/newinit/usr/local/bin
10) sudo vi /tmp/newinit/usr/local/bin/ghost.sh
 #tcl ghost run
 cd /usr/local/bin
 sudo nohup ./ghost
11) sudo cp /mnt/sda1/build/ghost.png /tmp/newinit/usr/local/share/pixmaps
12) sudo vi /tmp/newinit/usr/local/share/applications/ghost.desktop
 [Desktop Entry]
 Name=Ghost
 Exec=ghost.sh
 Icon=ghost
 X-FullPathIcon=/usr/local/share/pixmaps/ghost.png
 Type=Application
 Categories=System;
13) mkdir /tmp/newinit/home/tc/.X.d
14) sudo cp /tmp/newinit/usr/local/bin/ghost.sh /tmp/newinit/home/tc/.X.d
15) sudo chmod 755 /tmp/newinit/usr/local/bin/ghost.sh
16) sudo chmod 755 /tmp/newinit/home/tc/.X.d/ghost.sh
17) sudo chown tc:staff /tmp/newinit/home/tc/.X.d/ghost.sh
18) sudo rm /tmp/newinit/tinycore_4.2.1.gz
19) cd /tmp/newinit
20) sudo find . | sudo cpio -odum -H newc \ | gzip > ../core.gz
21) sudo cp ../core.gz /mnt/sda1
 *sda1 is the usb
22) unmount the usb from tinycore and kill the vm
23) using magiciso edit Core-current.iso
24) delete the "cde" folder
25) drag the core.gz from your usb into the boot folder of iso and replace the old one
26) drag \boot\isolinux\isolinux.cfg to desktop and edit it with "editpad lite" as shown:
 display boot.msg
 default tc

 label tc
 kernel /boot/vmlinuz
 append initrd=/boot/core.gz quiet cde nozswap

 implicit 0
 prompt 0
 timeout 0
 F1 boot.msg
 F2 f2
 F3 f3
 F4 f4
27) drag the revised isolinux.cfg back into magiciso and replace original file
28) save the new iso
29) test the new iso in vm
30) Now take the cd to your pxe server
31) copy d:\boot\core.gz and d:\boot\vmlinuz to c:\tftpboot\tinycore\
32) use "editpad lite" to add this "c:\tftpboot\pxelinux.cfg\default" on your PXE server
 DEFAULT      vesamenu.c32
 PROMPT       0
 NOESCAPE     0
 ALLOWOPTIONS 0
 # Timeout in units of 1/10 s
 TIMEOUT 60
 MENU MARGIN 10
 MENU ROWS 16
 MENU TABMSGROW 21
 MENU TIMEOUTROW 26
 MENU COLOR BORDER 30;44  #20ffffff #00000000 #ffffffff
 MENU COLOR SCROLLBAR 30;44 #20ffffff #00000000 none
 MENU COLOR TITLE 0   #ffffffff #00000000 none
 MENU COLOR SEL   30;47  #40000000 #20ffffff
 MENU BACKGROUND menu.jpg
 MENU TITLE PXE Menu

 LABEL Boot from Harddisk
  LOCALBOOT 0
 Type 0x80

 label Tinycore with ghost
 kernel tinycore/vmlinuz
 append initrd=tinycore/core.gz cde nozswap

NOTES:
nozswap is a required option for ghost
I am using the 3com boot services that come with ghost and pointing to pxelinux.0 using bootptab editor.
http://www.syslinux.org/wiki/index.php/Download is where you learn pxelinux and get the latest version
My DHCP options per scope are:
003 Router = server ip or real router (required for ghost linux multicast)
006 DNS Server = server ip
060 PXEClient

 

 

 

 

screenshot.JPG
AttachmentSize
tinycore_files.zip 5.36 KB
0
Login to vote
funguy's picture

Updated file to support new tinycore version 4.7.2 with ghost.

Get future updates here: http://forum.tinycorelinux.net/index.php/topic,12613.msg82803.html#msg82803

 

AttachmentSize
tinycore_mods_ghost.zip 25.19 KB
0
Login to vote
bkz81's picture

I have tired all of the following but this still doesn't work for me.  I even disabled the firewall.  When i boot the client to PXE nothing happens.  I am using Server 2008R2 x64 with ghost solutions 2.5. 

0
Login to vote
funguy's picture

As johnny5 would say "Need Input" ("Short Circuit" quote)

1) On the client did you see "DHCP. . . . . " --proves bios is trying to PXE boot

2) Verify the DHCP scopes are active and authorized if domain server on w2k8 r2.  Also remember scopes must match the real NIC of the server. Then verify you see 060 PXEClient in DHCP server options.If you don't see PXEClient, which happened to me then: "netsh dhcp server add optiondef 60 ClassID String 0" and then
"netsh dhcp server set optionvalue 60 STRING PXEClient" from an admin command prompt

3) If you are running McAfee make sure you added the exception for ghostsrv.exe

4) Firewall rules:

netsh advfirewall firewall add rule name="GhostCast Server" dir=in action=allow program="c:\program files (x86)\Symantec\ghost\ghostsrv.exe" enable=yes

netsh advfirewall firewall add rule name="3Com TFTP" dir=in action=allow program="c:\program files (x86)\3Com\Boot Services\3ctftp.exe" enable=yes

netsh advfirewall firewall add rule name="3Com PXE" dir=in action=allow program="c:\program files (x86)\3Com\Boot Services\3cpxe.exe" enable=yes

5) In 3com TFTP do you see any MAC address attempts to connect.  Note: 3com tftp and 3com pxe must be running at all times.  I recommend you leave both GUIs open instead of running as services.

6) Did you select the NIC inside 3com TFTP and 3COM PXE

0
Login to vote
bkz81's picture

@funguy

I followed all that you posted and now it works!  I was missing the option 60 and firewall rules.  Thanks for the reply and help. 

0
Login to vote
funguy's picture

Glad I could help.. don't forget to mark this as solved.

0
Login to vote
patpat's picture

Serva could be a simpler alternative for PXE booting Ghost services,

read here;
http://vercot.com/~serva/an/WindowsPXE2.html

0
Login to vote