Ghost Solution Suite

 View Only
Expand all | Collapse all

PXE Booting into Ghost Console, and have network drives available

  • 1.  PXE Booting into Ghost Console, and have network drives available

    Posted Jul 04, 2007 03:37 PM
    Hello all,
    I am new to GSS, but I have used ghost in the past. In the past I have used Landesk and its PXE services to boot into the ghost console. Landesk just required a PXE rep for each subnet and it connected just fine. All the drives on the Landesk core were available to store images.
     
    We have moved away from Landesk, and I have used the 3com boot services that came with GSS 2.0 to PXE boot into ghost. I currently have this working from my local machine, which is acting as the Ghost Server and PXE Server, and the machine currently on the same subnet can connect to the ghost console. Unfortuneatly when the console starts, the only drive available is the A: drive. Well, an image will not fit on a floppy, so that is no good. I have tried adding the net use commands to the autoexec.bat file to try and map a drive the the box that will eventually be hosting ghost, and the images. Does anyone have any ideas why this will not work? Also, how come I can not even see the drives on the Ghost Server (PXE Server) from within the ghost console? I can only see local drives.
     
    I am trying to accomplish this by not using any CD's or Floppies at all. I want to hit F12, have the box pull a dhcp address, which it does, and then start ghost so I can then take an image or deploy an image wheather it be local, or on a domain file server.
     
    Thanks so much.


  • 2.  RE: PXE Booting into Ghost Console, and have network drives available

    Posted Jul 04, 2007 06:23 PM
    Hi Doug

    Ghost Console is the integrated cloning, application deployment, inventory (etc, etc) management platform.

    In your post, where you refer to Ghost Console, I think you really mean to say you are using Ghost.exe. Ghost .exe is a standalone cloning tool independent of the management platform. The confusion is understandable.

    There are a few different ways you can capture and restore images. For instance, you could use the management platform and use the remote client install tool to install a Ghost Management Console Client into a running operating system, then initiate all tasks from the management platform. All the pre-os stuff is taken care of automatically.

    Separately, I'd guess you have already created a boot environment using Ghost Boot Wizard and assigned this to the PXE server. One approach is to start a GhostSrv.exe on session on the server in image create or image restore mode, then after booting from PXE, select GhostCast then multicast or unicast from the Ghost.exe menu, and connect to that session to perform your operation. Try that. It's powerful stuff, and you can drive it all from the command line.

    But, if you have already chosen the mapped drives method, you will probably want to use the drive mapping boot package from Ghost Boot Wizard. You can use the supplied 3Com utilities to convert this to a network bootable image. Some extra notes on that. Because this package maps drives, it includes a windows network client. By default the temporary computer name to use on the windows network is specified inside the boot package - which is a bit of a pain if you want to boot it from multiple computers at the same time. After you have got the boot package working to your satisfaction, you can use the 3Com BootPPatch utility to insert a temporary unique computer name at run time. Details for that utility are in a file called Dosutils.txt in the 3Com installation directory.

    -Xan



    Message Edited by Xan Todd on 07-05-200711:26 AM

    Message Edited by Xan Todd on 07-05-200711:36 AM



  • 3.  RE: PXE Booting into Ghost Console, and have network drives available

    Posted Jul 04, 2007 07:59 PM
    I can be a bit more specific. After converting the mapped network drives boot package to a network boot image, use the 3Com Boot Image Editor to add BPPATCH.exe to the root of the network boot image and add this line to the autoexec.bat before the network initialization stuff:

    BPPATCH \net\system.ini

    Then, replace the computername line of the \net\system.ini file with this:

    computername=#@cha############

    This causes a temporary computer name to be set using the name field of the BootPTab PXE host control file. If you are using a wildcard, in your host control file, you will need to consider using a different method.

    Also I forgot to mention, in GSS2.0 you can also drive Ghost Management Console tasks from the commandline as well.


  • 4.  RE: PXE Booting into Ghost Console, and have network drives available

    Posted Jul 05, 2007 01:34 PM
    Wow, thanks so much for the info. I am sorry for the confusion. When I said ghost console, I did mean ghost.exe so you were right on. The reason I decided on my above methods was just ease of use, and being used to it that way. There is no harm in doing things a new way, but if I did not have to start a ghost cast session to connect to, that would be great. I like ghost.exe being opened up, and then I have the freedom to capture or deploy as needed. I know I am old school. Just used to it that way from Landesk.
     
    I guess I need to try and convert the mapped drive boot to a network boot. Seems a little involved, but I got the machines to test it on. You mentioned wildcards. Currently in my bootptab editor, I made a new host and called it client. For the MAC address I just put "?." I would like the ghost.exe to open up no matter what machine was PXE booting.
     
    I will carefully reread your post, and see if I can get this to work.
     
    Thanks so much for your time.
     


  • 5.  RE: PXE Booting into Ghost Console, and have network drives available

    Posted Jul 05, 2007 03:33 PM
    Can you walk me through the conversion of drive mapping boot image which creates an iso file, to the tcp\ip network boot image?
     
     


  • 6.  RE: PXE Booting into Ghost Console, and have network drives available

    Posted Jul 05, 2007 08:38 PM
    Conversion from floppy is easier. Use the Ghost Boot Wizard to create a "Drive Mapping Boot Package" floppy (without ghost.exe), then use the 3Com Boot Image Editor and choose Create a TCP/IP or PXE image file, and select the source floppy drive. After that's complete, use the Edit an Existing File option to add Ghost.exe, and edit autoexec.bat.

    If you are just booting one computer at a time, you won't need to worry about assigning a temporary computer name.

    If you do need to boot multiple computers at the same time with this package, you'll need to assign a temporary computer name at run time. There isn't something ready made there, so I'd suggest using the ip address parameter as a temporary name. I'd guess you will probably need to use a 3rd party utility (something like grep) to strip the dots out.


  • 7.  RE: PXE Booting into Ghost Console, and have network drives available

    Posted Jul 06, 2007 01:53 PM
    Well I made the mapped boot floppy. I then added ghost.exe to the root, and then edited the autoexec.bat file and added ghost.exe to the end of it. When I boot from the network card, it connects to the pxe server. Gets an IP, asks me to authenticate, so I enter password, it tells me that I have been authenticated by one of the DC's, and it runs the ghost.exe and brings me into ghost. I can not see my mapped drives anywhere. I tried to go from disk to image, and only the a: drive shows up.
     
    Any ideas on what I am doing wrong.
     
    After I made the changes to the autoexec.bat file, I made a Tcp/ip or pxe image file, and I used the A: drive as the source. Once that was done, I made a pxe boot menu using the imagefile I created and named it xxx.pxe and not xxx.mnu.
     
    I do not see any errors while booting, so I was curious to why I do not see the network drives. In the BOOTPTAB file, I added a host named temppc for the node I did 12 ?'s. For the image, I used the xxx.pxe file I created.
     
    Here is a copy of my autoexec.bat file.
    @ECHO OFF
    SET TZ=GHO+05:00
    SET PATH=\NET\;\;%PATH%;
    SET TEMP=\
    SET TCPHELP=\NET
    SET ETCDIR=\NET
    REM \MOUSE.COM
    REM this configures where ghost.exe will look for the wattcp.cfg file
    set wattcp=a:\net\wattcp.cfg
    \NET\NET START
    \NET\NET.EXE USE H: \\carhsfxpxe\Images
    \NET\NET.EXE USE
    GHOST.EXE
     
    and the config.sys
    DEVICEHIGH=\HIMEM.SYS
    DOS=HIGH,UMB
    DEVICEHIGH=\NET\PROTMAN.DOS /i:\NET
    DEVICEHIGH=\NET\B57.dos
    DEVICEHIGH=\NET\NTSTS.DOS
    DEVICEHIGH=\NET\DLSHELP.SYS
    DEVICEHIGH=\NET\DIS_PKT.DOS
    LASTDRIVE = Z
     
    network.ini
    [network]
    computername=temppc
    lanroot=\NET
    autostart=netbeui full
    username=ghostadmin
    domain=charleston
    lslogon=yes
    reconnect=no
    passwordcaching=no
    timesync=no
     
    Any help would be great. Thanks so much.
     
     
     
     
     


  • 8.  RE: PXE Booting into Ghost Console, and have network drives available

    Posted Jul 09, 2007 05:39 PM
    O.k, that looks pretty good. Let's drop in a pause after each of these lines, to make sure the network is starting correctly, and to view any authentication output:

    \NET\NET START
    pause
    \NET\NET.EXE USE H: \\carhsfxpxe\Images
    pause
    \NET\NET.EXE USE
    pause


  • 9.  RE: PXE Booting into Ghost Console, and have network drives available

    Posted Jul 10, 2007 01:59 PM
    Well I get an error saying the specified path can not be found. This was evident when I typed net help 53 and saw the error.
     
    I have learned a few things since I last wrote. I got the mapping to work in my test enviroment. I was trying to map to a share on a seperate server which happened to be on a different subnet. When I tried to map to a drive on the machine that was acting as the ghost server (my pc in this case) I was able to see that share on the client when ghost.exe ran. Both of these machines were on the same subnet.
     
    I have now installed the boot services and ghost on a server on another subnet. I crearted the mapped boot disk as I did in the past and created a mapping to a drive on the server hosting (carhsfxpxe.) When I try to pxe boot the client I was using before to test, everything works but the mapped drive part. Is there an issue with mapping a drive across a subnet?
     
    I also noticed that when we replace system boards and turn on the PC for the first time, the machine tries to PXE boot. The only way I could get the client on one subnet to see the pxe server on the other subnet was to configure port 67 on dhcp and supply the mba.pxe boot menu file, otherwise pxe boot failed. Is there a better way to do this.


  • 10.  RE: PXE Booting into Ghost Console, and have network drives available

    Posted Jul 11, 2007 06:35 PM
    I'm not sure I understand the last paragraph - "The only way I could get the client on one subnet to see the pxe server on the other subnet was to configure port 67 on dhcp and supply the mba.pxe boot menu file, otherwise pxe boot failed."

    Could you provide more detail there?

    Thanks,
    Xan



  • 11.  RE: PXE Booting into Ghost Console, and have network drives available

    Posted Jul 15, 2007 10:34 PM
    I'd expect drive mapping across a subnet will work correctly.

    It is possible the host name is not being resolved on the network for some reason. If this is the case, it should be possible to resolve the name statically by creating or editing the LMHOSTS file in the \NET directory of your boot environment to include an entry like:

    10.166.2.90   MyServerName

    Message Edited by Xan Todd on 07-16-200703:51 PM



  • 12.  RE: PXE Booting into Ghost Console, and have network drives available

    Posted Jul 15, 2007 10:43 PM
    Regarding the 3Com PXE boot side of things, starting from the simplest, you could install the PXE server on the DHCP server.

    Alternatively, using your existing PXE server, you could install an additional network card configured for that subnet.

    If these are both out of the question, there are also some router and NIC configuration options available which should do the trick. I'll discuss these with my colleagues and get back to you.

    Message Edited by Xan Todd on 07-16-200703:47 PM



  • 13.  RE: PXE Booting into Ghost Console, and have network drives available

    Posted Jul 16, 2007 09:00 AM
    Thanks so much for the replys. Sorry I have not responded, work has been busy, and this project is not top priority. I will try the things you mentioned and see how things work. It would be great if the edit of the LMHOST file will fix everything. I only seem to start having issues, when I try on different subnets.


  • 14.  RE: PXE Booting into Ghost Console, and have network drives available

    Posted Jul 16, 2007 11:04 PM
    No problem. I think you have already implemented the router configuration I had in mind.


  • 15.  RE: PXE Booting into Ghost Console, and have network drives available

    Posted Aug 02, 2007 04:57 PM
    What if I don't have a floppy drive to do this?  How would I convert the mapped drive image from .iso to something I can use?


  • 16.  RE: PXE Booting into Ghost Console, and have network drives available

    Posted Aug 02, 2007 09:20 PM
    This is not something I've tried here, but I'd guess you could use Ghost Boot Wizard to create a 3Com TCP/IP Network Boot Image then copy all files from the iso into that boot image. Alternatively, instead of creating an iso, you could use the Format Disk option of the Ghost Boot Wizard to write the files to a USB flash drive, and copy them to the 3Com TCP/IP Network Boot Image from there (using a 3Com utility described earlier in this thread).

    These conversion methods are not something I've tried, so there may be some additional tweaking of the procedure required.

    One alternative to this approach would be the use of a 3rd party virtual floppy drive application.

    Message Edited by Xan Todd on 08-03-200702:43 PM



  • 17.  RE: PXE Booting into Ghost Console, and have network drives available

    Posted Aug 03, 2007 11:12 AM
    Doug, Did you ever get past the Error 53?  I am having sort of the same issue.  I have one mapped drive going to a Windows 2000 file share, and I want to map a second drive to a windows 2003 file share (we are migrating to a new server, and want to have access to both).  I have DOS running off a USB stick that I boot to.  DOS maps the Z: to \\win2000\ghost fine, but wont map Y: to \\win2003\ghost.  the file permissions and share permissions on both shares are the same, and the account used to access it is a domain admin account.
    This discussion has been the closest to my issue that I have been able to find, and being only 1/2 a month old, I hope that I can get some quick answers. 
    Thanks a lot for your help Doug, or anyone else that might be able to help.
    Ray


  • 18.  RE: PXE Booting into Ghost Console, and have network drives available

    Posted Aug 03, 2007 11:20 AM
    I still have not been able to get the mapped drive to work. I am not sure if it is because I am going across a subnet, or if I am trying to map to a 2003 server much like you are. When i mapped the drive to a XP workstation on the same subnet, it worked just fine. I then redid everything and moved GSS to a 2003 server abd built everything as I did before. I tried to PXE boot from a different subnet but the drive did not map. I have not tried a PXE boot to a client on the same subnet to see if the drive maps though. I am not sure if it is 2003 server, or booting across the subnet that is making this so hard.


  • 19.  RE: PXE Booting into Ghost Console, and have network drives available

    Posted Aug 05, 2007 10:00 PM
    The windows network client used in the drive mapping boot disk operates with LM authentication only.

    Windows 2003 Server authentication level is "Send NTLM response only" by default.

    This can be changed if desired via Administrative Tools -> Local Security Policy -> Security Settings -> Local Policies -> Security Options -> Network Security: LAN Manager authentication level.

    Microsoft has a longer article explaining more about this setting here.

    Thanks,
    Xan


  • 20.  RE: PXE Booting into Ghost Console, and have network drives available

    Posted Aug 14, 2007 11:13 AM
    Does that change only need to be made on the PXE box or the DHCP boxes as well. I made the change on the PXE box, but when I try to take an image, the only available drive showing is a:  When I try to deploy an image, the only drives showing are a: and the local machines c: drive.
     
    Still not having any luck getting the mapped drives to show accross a subnet.


  • 21.  RE: PXE Booting into Ghost Console, and have network drives available

    Posted Aug 14, 2007 05:45 PM
    The change needs to be made only on the machine where your images are stored - the target of the mapped network drive.


  • 22.  RE: PXE Booting into Ghost Console, and have network drives available

    Posted Aug 21, 2007 04:45 PM
    Xan, we changed the security setting on our Windows 2003 Standard Edition SP2 member server, but it still tells us the samething, Error 53 and won't let us connect to the fileshare.  We have "Network security: LAN Manager Authentication level" set to "Send LM & NTLM responses".

    Is there anything else we need to check out and change?
    Thanks,
    Ray

    Message Edited by midwestheart on 08-21-200701:46 PM



  • 23.  RE: PXE Booting into Ghost Console, and have network drives available

    Posted Aug 29, 2007 11:36 AM
    Thanks, using this thread has allowed me to create a network boot pxe setup that allows me to do my imaging.  Now Ive got to work on the computer naming so that I can have more than 1 pc running at a time.


  • 24.  RE: PXE Booting into Ghost Console, and have network drives available

    Posted May 20, 2008 03:03 PM
    Looks like Bahamas has a solution related to Error 53 in similar circumstances.
     
     


  • 25.  RE: PXE Booting into Ghost Console, and have network drives available

    Posted May 20, 2008 03:18 PM
    As an aside, Nigel has a post related to mapped network drive pacakges, explaining one source of Error 5