Sie sind auf Seite 1von 6

23/4/2016

[Solved]ConfiguringtoRunGhost2003fromaRAMDrive

LoginRegister

s#

THEPREMIERTECHSUPPORTSITE

Forums

MS/PCDOS

Configurations

Solved ConfiguringToRunGhost2003FromARAMDrive
Tags: config memorymanagement Ghost MSDOS

sburtchinJanuary23,2012at18:47:33
Specs:MSDOS7.1,Pentium4/1GB

IrecentlycreatedacustomGhost2003bootfloppy(2floppyset)thathasa
CONFIG.SYSmenutochooseamong16possiblewaystochooseinstalleddevices,etc.
basedondisksthatcanbecreatedusingtheNortonGhostBootWizard.Thisworks
fineinmostsituationsandsavesmehavingtokeepabunchofcustomfloppiesfor
everypossiblecomputeranddesiredbootconfiguration.However,Iamworkingona
batchprogramthatwouldtakeseveralhourstorunfromthefloppydrivebecauseof
alltheconstantreadingandwriting.Mytestsshowthatthesesameoperationscanbe
performedinafewsecondsifrunfromaRAMdrive.
TheWindows98sebootdiskatBootDisk.comcreatesaRAMdrive.SoItooka
hodgepogeoflinesfrommyCONFIG.SYS&AUTOEXEC.BATanddidthesamefromthe
CONFIG.SYS&AUTOEXEC.BATontheWindows98sebootdisktocreatearoughdraft
forthenewfiles.Pleaseexcusethatthesemayhaveincompatibledeviceand
commandcombinations,andsomecommentsandlabelsmayseemtonothave
anypurposeitisaveryroughdraft.
WhatIneedhelponistocreateaCONFIG.SYS&AUTOEXEC.BATforaspecific
environmentwhichincludesallthedriversthatmightbeused(makingthe
'assumption'thattheyareallcompatible),andbeingcarefulnottotakeaway
memoryandotherresourcesthatGhost2003mightneed.Icanthenincorporate
thesemodificationsintothemenusoftheworkingCONFIG.SYS&AUTOEXEC.BATfiles.
I'llshowtheroughdraftsandfollowwithsomespecificquestions.
Forreference,atypicalCONFIG.SYScreatedbytheNortonGhostBootWizardmight
looklike:
DEVICE=usb\aspiehci.sys/int/all
DEVICE=fwr\aspi1394.sys/int/all
DEVICE=cd\oakcdrom.sys/D:cd1
DEVICE=cd\btdosm.sys
DEVICE=cd\flashpt.sys
DEVICE=cd\btcdrom.sys/D:cd2
DEVICE=cd\aspi2dos.sys
DEVICE=cd\aspi8dos.sys
DEVICE=cd\aspi4dos.sys
DEVICE=cd\aspi8u2.sys
DEVICE=cd\aspicd.sys/D:cd3
LASTDRIVE=Z

andatypicalAUTOEXEC.BATcreatedbytheNortonGhostBootWizardmightlooklike:
http://www.computing.net/answers/dos/configuringtorunghost2003fromaramdrive/17843.html

1/6

23/4/2016

[Solved]ConfiguringtoRunGhost2003fromaRAMDrive

@echooff
SETTZ=GHO+05:00
GUEST.EXE
LPT\PARALINK.COM/i
MOUSE.COM
LHCD\MSCDEX.EXE/D:cd1/D:cd2/D:cd3

Andnow,herearetheroughdrafts:
CONFIG.SYS
;menuitem=M02_CDallUSB20dFWRd
;AllCD/DVD(DOS),USB2.0(DOS),Firewire(DOS)(special)

device=himem.sys/testmem:off
;DOS=HIGH,UMB
;DEVICE=EMM386.EXEVERBOSE
;DEVICE=EMM386.EXENOEMSVERBOSE
;FILES=30
;STACKS=0,0
;STACKS=8,128
;BUFFERS=20
;FCBS=4or????????
;[M02_CDallP2PLPTUSB20dFWRd]TCPIPP2P
DEVICE=usb\uhci.exe/int/all
DEVICE=usb\ohci.exe/int/all
DEVICE=usb\aspiohci.sys/int/all
DEVICE=usb\aspiuhci.sys/int/all
DEVICE=usb\aspiehci.sys/int/all
DEVICE=fwr\aspi1394.sys/int/all
DEVICE=cd\oakcdrom.sys/D:cd1
DEVICE=cd\btdosm.sys
DEVICE=cd\flashpt.sys
DEVICE=cd\btcdrom.sys/D:cd2
DEVICE=cd\aspi2dos.sys
DEVICE=cd\aspi8dos.sys
DEVICE=cd\aspi4dos.sys
DEVICE=cd\aspi8u2.sys
DEVICE=cd\aspicd.sys/D:cd3
DEVICE=net\protman.dos/I:\net
DEVICE=net\dis_pkt.dos
DEVICE=net\B44.dos

files=10
buffers=10
dos=high,umb
stacks=9,256
devicehigh=ramdrive.sys/E4096512128
http://www.computing.net/answers/dos/configuringtorunghost2003fromaramdrive/17843.html

2/6

23/4/2016

[Solved]ConfiguringtoRunGhost2003fromaRAMDrive

;SETrun_guest=TRUE
LASTDRIVE=Z

: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

AUTOEXEC.BAT
@echooff
setEXPAND=YES
SETDIRCMD=/O:N
setLglDrv=27*26Z25Y24X23W22V21U20T19S18R17Q16P15
setLglDrv=%LglDrv%O14N13M12L11K10J9I8H7G6F5E4D3C
cls
callsetramd.bat%LglDrv%
settemp=c:\
settmp=c:\
path=%RAMD%:\;a:\;%CDROM%:\
copycommand.com%RAMD%:\>NUL
setcomspec=%RAMD%:\command.com
copyextract.exe%RAMD%:\>NUL
copyreadme.txt%RAMD%:\>NUL
:ERROR
IFEXISTebd.cabGOTOEXT
echoPleaseinsertWindows98StartupDisk2
echo.
pause
GOTOERROR
:EXT
%RAMD%:\extract/y/e/l%RAMD%:ebd.cab>NUL
echoThediagnostictoolsweresuccessfullyloadedtodrive%RAMD%.
echo.

SETTZ=GHO+05:00
prompt$p$g
:M02_CDallP2PLPTUSB20dFWRdTCPIPP2P
http://www.computing.net/answers/dos/configuringtorunghost2003fromaramdrive/17843.html

3/6

23/4/2016

[Solved]ConfiguringtoRunGhost2003fromaRAMDrive

REMSupportforallCD/DVD(DOS),P2P(LPT),USB2.0(DOS),Firewire(DOS)(special)
GUEST.EXE
ECHO:
ECHONOTE:TheUSB2.0driverusedonthisfloppydoesnotrecognizeflashdrives.
LPT\PARALINK.COM/i
net\netbind.com
MOUSE.COM
REMLHCD\MSCDEX.EXE/D:cd1/D:cd2/D:cd3
LH%ramd%:\MSCDEX.EXE/D:mscd001/L:%CDROM%
echo.

:FLPYBOOT
LOADHIGHDOSKEY.COM
ECHO:
PATH=a:\;a:\ghost;a:\tools;c:\windows\command
REMechoLoading...
REMcls
echoInsertGhostbootdisk2(containingGhost.exe)
pause
ifexista:\ghost\ghost.exegotoGHOSTFND
gotoFLPYBOOT

:GHOSTFND
cd\work
REMechoLoading...
REMGHOST.EXE
:END
remSMARTDRV.EXE/C/F/V4096/E:8192/B:8192

remcleanupenvironmentvariables
setCDROM=
setLglDrv=

QUESTIONS:
C1>CouldsomeoneexplainwheretheDOSmemoryareasare,andhowtheterms
(expandedmemory?=EMS,extendedmemory?=XMS,HMA,UMB's)applytothem.I
thoughttherewasjustConventional,ExpandedandExtendedmemory.Dosomeof
thesetermsoverlapdifferentmemoryareas?Ikeeprunningintoconflicting
informationaboutwhatshouldgowhereandhow.
C2>IsHIMEM.SYSessentialtoloadDOSintotheHMA?DoIunderstandcorrectlythat
withoutitthereisonlyConventionalmemory?AndthisjustcreatesExtendedMemory?
Intheline"device=himem.sys/testmem:off"howmuchdoIgainbyhavingthe
"/testmem:off"switch?
http://www.computing.net/answers/dos/configuringtorunghost2003fromaramdrive/17843.html

4/6

23/4/2016

[Solved]ConfiguringtoRunGhost2003fromaRAMDrive

C3>WouldIevernotwanttheline"DOS=HIGH,UMB"?DoesthisputDOSinto
ExtendedorExpandedmemory?
C4>Intheline"DEVICE=EMM386.EXENOEMSVERBOSE",doesusingthe"NOEMS"
parametermeantherewouldbenoExpandedmemory?WhenEMM386.EXEuses
extendedmemorytosimulateexpandedmemory,canthiscreateaproblemwithtoo
littleextendedmemory?Somewebsitessaythisdeviceisnecessarytoloaddevices
intoUMB's,butIseelotsofexamplesthatuse"DEVICEHIGH"withoutitand
sometimesevenwithout"HIMEM.SYS".
C5>IsthereeverareasonIwouldnotwantto(orcan't)loadeverythinghigh?
C6>ShouldIspecify"FILES","STACKS","BUFFERS"or"FCBS"?Iwanttooptimizethis
forGhost2003.
C7>OnthreeoftheCDdriverstheswitches"/D:cd1","/D:cd2"and"/D:cd3"or
"/D:mscd001"forallthreeareusedbydifferentprogrammers.Iseetheconnectionto
AUTOEXEC.BAT,butisthefirstmethodbetterifIwouldhavemorethanoneCDdrive?
C8>IsthereanyparticularorderthattheCOINFIG.SYScommandshavetoorshould
bein?
C9>Doesitmatterwhichorderthedevicedriversareloaded?
A1>Thelines"settemp=c:\"and"settmp=c:\"camefromtheWindows98bootdisk.
Aretheseneededhere?
A2>Canyouexplainwhat"SETTZ=GHO+05:00"does?
A3>Istheline"GUEST.EXE"equivalentto"LOADGUEST.EXE"?SameforMOUSE.COM,
PARALINK.COM,etc.?Isthereanyreasonnottoloadallofthesehigh?
A4>IwasreadingupaboutSMARTDRV.EXEandthoughtthecommand
"SMARTDRV.EXE/C/F/V4096/E:8192/B:8192"mightspeedupimagefilecreation.
IsthereanyreasonIwouldnotwanttousethis?DoyouagreewiththeswitchesI
chose?Canthisbeloadedhigh?Withthe"/C"switchhere,doIstillhavetoflushthe
buffersbeforehittingthepowerbutton?

Anyhelpwiththiswouldbegreatlyappreciatedasalltheconflictinginformationon
thewebabouthowDOSusesmemoryhasgottenmeveryconfusedhowtoproceed.If
MicrosoftstillprovidestechnicalsupportforDOS,alinkwouldreallyhelp,thoughIdid
justrecentlyfindaglaringlyobviouserrorononeoftheirwebpages.
SeeMore:ConfiguringtoRunGhost2003fromaRAMDrive
Report

#1

JudagoJanuary25,2012at19:32:37

BestAnswer

I'mterribleatallthatmemorystuff:/.
http://www.computing.net/answers/dos/configuringtorunghost2003fromaramdrive/17843.html

5/6

23/4/2016

[Solved]ConfiguringtoRunGhost2003fromaRAMDrive

TheonlyadviceIcangiveisthatyoucaneditthatdiskforspaceandaddtothe
archivethatisextracted.
Ifyoujustgetanimage(justanimagenotaselfextractor)fromhereandusethistool
inwindows(I'massumingthatyouareusingwindowstocreatethedisk).Itcanbea
loteasiertogenerateyourdiskwithouteditingaphysicalfloppy.Oncefinisheduse
anothertooltowritethe(saved)imagetoadisk,Iwasalwaysuseddiskwriter.Failing
thattherearemanyothertoolsforthisfloatingaroundthenet.
Youcangainalotofspacebydeletingunnecessaryfilesfromthewin98disk,
recreatingthecabfilewithyourownutilitiesisagoodwaytogo.Thereareprobablya
lotoftoolsthatcandoitbutIusedTugZip.IselectedMSZipintheoptionsandthe
archiveworkedfinewith"extract".
Withthespacesavedandthecompressiononyourutilitiesyoumightbeabletomake
thataonediskset,butmaybenot....
Report

Startadiscussion
RelatedSolutions
Needadviselaunching2013OutlookfromaDOScommandline
SendnotificationstoiPhoneorAndroidfromDOSviaTCP/IP
[Solved]HowcanIgetmylaptoptorunanoldDOSprogramproperly
[Solved]isthisdosprogramlikelymissinganyfiles?
SeeMore

PostReply!

SubmitFollowUp PreviewFollowUp

TheinformationonComputing.Netistheopinionsofitsusers.Suchopinionsmaynotbeaccurateandtheyare
tobeusedatyourownrisk.Computing.Netcannotverifythevalidityofthestatementsmadeonthissite.
Computing.NetandPurchherebydisclaimallresponsibilityandliabilityforthecontentofComputing.Netandits
accuracy.

http://www.computing.net/answers/dos/configuringtorunghost2003fromaramdrive/17843.html

6/6

Das könnte Ihnen auch gefallen