Ghost Solution Suite

 View Only
  • 1.  Problem with autoexec.bat and adding ghostwalker to run

    Posted Dec 19, 2008 07:59 PM

    Help meeee!!!....here is my problem......I would like ghostwalker to run right after my image complete loading.....I've tried everything but nothing seems to work......the image is spanned over two DVDs and I included ghostwalker.exe on the 2nd DVD as well......the error I receive in DOS after ghost loads my image is "INT 24 cannot find A:\...retry.....cancel.....fail"........I choose fail and of course it'll drop to "D:\" and I can type ghstwalk manually and it'll run but I want the whole thing automated.......my autoexec.bat is below......I use Roxio to make a bootable DVD.......

     

     

     

    @echo off
    echo Compaq 6715b ghost image
    SET TZ=GHO+08:00
    MOUSE.COM
    MSCDEX.EXE /D:mscd001 /L:D
    rem MSCDEX.EXE /D:mscd001 /L:E
    D:
    cd ghost
    echo Loading Ghost.......
    ghost.exe -noide -pfile=c:\ -clone,MODE=pload,src=%CDROM%\6715b.gho:1,DST=1:1 -sure
    D:
    cd ghost
    echo Loading Ghostwalker.......
    ghstwalK.exe /FNI /BV=1:1


  • 2.  RE: Problem with autoexec.bat and adding ghostwalker to run

    Posted Dec 19, 2008 11:44 PM

    Hi,

     

    Most likely, your A: driver, which is emulated by CD boot get corrupted during the operation. This could be related to the config.sys you have. By looking at the batch file, I don't see any need to access drive A: again except to reload the non-resident portion of command.com. One way to check this theory is to copy Command.com to drive D:\ (make sure you copy it to BOTH dvds) and add the following line to autoexec.bat, after MSCDEX.

     

    Set COMSPEC = D:\Command.com

     

    This tells DOS to load the Command.com again from drive D: and it should work. However, your second line (what is REM'ed now) is a better way of doing it since it allocate the drive E: to CD rom. In the current way, it will allocate the next drive letter, and if you get multiple FAT partitions in the drive, CDROM may not get the letter D: and nothing will work. If you use the /L to assign a specific dirve letter, it will be more reliable. But then you have to change the batch file to use that drive letter.

     

    However, the cause of this is drive A: getting corrupted and check your config.sys.

     

    Krish

     



  • 3.  RE: Problem with autoexec.bat and adding ghostwalker to run

    Posted Dec 20, 2008 12:16 AM

    thanks for your response......here is my config.sys:

     

    DEVICE=oakcdrom.sys /D:mscd001

    [COMMON]
    rem DEVICE = usb\uhci.exe
    rem DEVICE = usb\ohci.exe
    LASTDRIVE = Z

     

    don't see anything here that would cause a problem.....so are you saying just replace the command.com on my floppy boot disk with another one????

     

    In reference to the line I have rem......that line was only there because another laptop I imaged used E instead of D........are you saying by just replacing the /L:D with /L:E it'll work????.......sorry if i'm not following you



  • 4.  RE: Problem with autoexec.bat and adding ghostwalker to run

    Posted Dec 20, 2008 12:17 AM
    not sure why it keeps putting a smiley face where I'm typing "D"


  • 5.  RE: Problem with autoexec.bat and adding ghostwalker to run

    Posted Dec 24, 2008 01:04 AM

    Hi,

     

    Sorry, I may not have been very clear - it was late in the day :-)  By the way, colon and D is 'big laugh' smily face and that is probably the reason why it is replaced. So you have the correct command line to assign drive letter D for the CD. I did not noticed it.

     

    I think the first thing you can try is just adding COMSPEC command line. Then copy Command.com to root of both DVDs.

     

    Basically, your autoexec.bat would look like, 

     

    @echo off
    echo Compaq 6715b ghost image
    SET TZ=GHO+08:00
    MOUSE.COM
    MSCDEX.EXE /D:mscd001 /L:D 
    rem MSCDEX.EXE /D:mscd001 /L:E
    SET COMSPEC=D:\COMMAND.COM

    D:
    cd ghost
    echo Loading Ghost.......
    ghost.exe -noide -pfile=c:\ -clone,MODE=pload,src=%CDROM%\6715b.gho:1,DST=1:1 -sure
    D:
    cd ghost
    echo Loading Ghostwalker.......
    ghstwalK.exe /FNI /BV=1:1 

     

     

     

    This would probably work since it does not need to use RAM Drive again. But this is just a work around, not addressing the root cause.

     

    I think the root cause is missing himem.sys in the Conifg.sys file. It is likely that memory is getting overwritten during the operation since there is no himem.sys. You can try adding himem.sys to the config.sys file, and removing COMSPEC setting in Autoexec.bat.

     

    Config.sys should look like (There is a switch testmem: off to prevent himem.sys doing a destructive memory test and corrupting the ram drive),

     

    LASTDRIVE = Z
     

    [COMMON]

    Device=Himem.sys  /testmem:off

    rem DEVICE = usb\uhci.exe
    rem DEVICE = usb\ohci.exe 

     

     

    Hope this will help.

     

     

     

    Krish