Jump to content

varun21

Member
  • Posts

    1
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    India

Posts posted by varun21

  1. well here's something that you can try. This is how i restored the functionality of my dell restore partition (most of the files can be found on google by their name):

    have a different partition (for backup) and install dos on it.

    config.sys
    ================
    [menu]
    menuitem=DOS, Start DOS with CD-ROM support.
    menuitem=GHOST, Start OS Restoration (!!!This will wipe off the OS!!!)
    menudefault=DOS,30
    menucolor=7,0

    [DOS]
    device=himem.sys /testmem:off
    device=oakcdrom.sys /D:mscd001
    device=btdosm.sys
    device=flashpt.sys
    device=btcdrom.sys /D:mscd001
    device=aspi2dos.sys
    device=aspi8dos.sys
    device=aspi4dos.sys
    device=aspi8u2.sys
    device=aspicd.sys /D:mscd001

    [GHOST]
    device=himem.sys /testmem:off

    [COMMON]
    files=10
    buffers=10
    dos=high,umb
    stacks=9,256
    lastdrive=z
    ==================================



    AUTOEXEC.BAT
    ==================================
    @ECHO OFF

    IF "%config%"=="GHOST" GOTO GHOST
    IF "%config%"=="DOS" GOTO DOS

    :GHOST
    LH C:\MSCDEX.EXE /D:mscd001
    SET DIRCMD=/og /a /p
    SET PATH=C:\
    cls
    echo Final confirmation.
    Echo !!!Point of no return!!!
    Echo Do you want to wipe off your current Operating System and restore the factory default Operating System?"
    Echo Ctrl + C to quit now.
    PAUSE
    C:\MOUSE.COM
    C:\SMARTDRV.EXE
    C:\GHOST.EXE
    Echo the above line should have the complete ghost commandline to restore the partition from the image file
    Echo example (without quotes) "ghost.exe -clone,mode=prestore,src=c:\img\FI.GHO:1,dst=1:2 -batch -sure -quiet"
    ECHO THAT WAS GHOST!!!
    ECHO Rebooting...
    PAUSE
    C:\DELLBOOT.EXE
    rem dellboot is to restart the machine.
    GOTO QUIT

    :DOS
    C:\MOUSE.COM
    LH C:\MSCDEX.EXE /D:mscd001
    SET DIRCMD=/og /a /p
    SET PATH=C:\
    C:\SMARTDRV.EXE
    ECHO THIS IS DOS.

    :QUIT
    ==========================================

    pls confirm if this works. i've got them working here [url="http://varun21.googlepages.com/dellPartitions.zip"]http://varun21.googlepages.com/dellPartitions.zip[/url]

    Regards
    Shivanand Sharma
×
×
  • Create New...