Need help with my CD iso boot image

okay I created a modified cd boot image from the win 98 se cd.

autoexec.bat

@ECHO OFF
set EXPAND=YES
SET DIRCMD=/O:N
cls
set temp=c:\
set tmp=c:\
path=a:\

ECHO.
ECHO Windows 98 SE CD-KEY: REMOVED FOR POST.
ECHO.
ECHO.
ECHO Windows ME CD-KEY: REMOVED FOR POST.
ECHO.
ECHO.
ECHO Windows 2000 PRO CD-KEY: REMOVED FOR POST.
ECHO.

pause

cls

IF "%config%"=="NOCD" GOTO QUIT
LH MSCDEX.EXE /D:eek:emcd001 /L:D

echo.
IF "%config%"=="98SE" goto 98SE
GOTO QUIT

:98SE
set CDROM=FOO23
FINDCD.EXE
if "%CDROM%"=="FOO23" goto NOCDROM
path=a:\;%CDROM%\
%CDROM%
cd \98SE
echo.
setup.exe
goto QUIT

echo.
IF "%config%"=="ME" goto ME
GOTO QUIT

:ME
set CDROM=FOO23
FINDCD.EXE
if "%CDROM%"=="FOO23" goto NOCDROM
path=a:\;%CDROM%\
%CDROM%
cd \ME
echo.
setup.exe
goto QUIT

echo.
IF "%config%"=="2000PRO" goto 2000PRO
GOTO QUIT

:2000PRO
set CDROM=FOO23
FINDCD.EXE
if "%CDROM%"=="FOO23" goto NOCDROM
path=a:\;%CDROM%\
%CDROM%
cd \BOOT
echo.
smartdrv.exe
cd ..
cd \2000PRO
cd \I386
echo.
WINNT.EXE
goto QUIT

:NOCDROM
echo.
echo The Windows 98 Setup files were not found.
echo.

:QUIT
config.sys

[menu]
menuitem=98SE, Start Windows 98 SE Setup from CD-ROM.
menuitem=ME, Start Windows ME Setup from CD-ROM.
menuitem=2000PRO, Start Windows 2000 PRO Setup from CD-ROM.
menuitem=CD, Start computer with CD-ROM support.
menuitem=NOCD, Start computer without CD-ROM support.
menudefault=98SE,45
menucolor=7,0

[98SE]
device=himem.sys /testmem:eek:ff
device=oakcdrom.sys /D:eek:emcd001
device=btdosm.sys
device=flashpt.sys
device=btcdrom.sys /D:eek:emcd001
device=aspi2dos.sys
device=aspi8dos.sys
device=aspi4dos.sys
device=aspi8u2.sys
device=aspicd.sys /D:eek:emcd001

[ME]
device=himem.sys /testmem:eek:ff
device=oakcdrom.sys /D:eek:emcd001
device=btdosm.sys
device=flashpt.sys
device=btcdrom.sys /D:eek:emcd001
device=aspi2dos.sys
device=aspi8dos.sys
device=aspi4dos.sys
device=aspi8u2.sys
device=aspicd.sys /D:eek:emcd001

[2000PRO]
device=himem.sys /testmem:eek:ff
device=oakcdrom.sys /D:eek:emcd001
device=btdosm.sys
device=flashpt.sys
device=btcdrom.sys /D:eek:emcd001
device=aspi2dos.sys
device=aspi8dos.sys
device=aspi4dos.sys
device=aspi8u2.sys
device=aspicd.sys /D:eek:emcd001

[CD]
device=himem.sys /testmem:eek:ff
device=oakcdrom.sys /D:eek:emcd001
device=btdosm.sys
device=flashpt.sys
device=btcdrom.sys /D:eek:emcd001
device=aspi2dos.sys
device=aspi8dos.sys
device=aspi4dos.sys
device=aspi8u2.sys
device=aspicd.sys /D:eek:emcd001

[NOCD]
device=himem.sys /testmem:eek:ff

[COMMON]
files=60
buffers=20
dos=high,umb
stacks=9,256
lastdrive=z
now the menu loads fine, but when I go to run the setup for the certain os's, I get setup files not found. Now I am not very familiar with dos, but I did look at the one that was there to install 98 and used that for the modified ones. maybe someone can help me out with this? I would appreciate it greatly. and this is a nice tidy version I am doing for my own backup purposes. Thanks in advance.
 
E

elpresidente

Guest
hmm...just an idea ...

try to add(autoexec.bat) "set path=path of your winXX setup files ..."

maybe it works now ...

greetz
 
elpresidente said:
hmm...just an idea ...

try to add(autoexec.bat) "set path=path of your winXX setup files ..."

maybe it works now ...

greetz
I am a DOS newbie :confused: so if I were to add the path to a cd rom that isn't there yet, if you know how the boot works, it selects the install then loads the cd then the files for setup. would the path be "/%CDROM%/98SE" say for win98? also this is the original win98 boot process and it loads windows just fine.

@ECHO OFF
set EXPAND=YES
SET DIRCMD=/O:N
cls
set temp=c:\
set tmp=c:\
path=a:\

IF "%config%"=="NOCD" GOTO QUIT
LH MSCDEX.EXE /D:eek:emcd001 /L:D

echo.
IF "%config%"=="SETUP_CD" goto AUTOSETUP
GOTO QUIT

:AUTOSETUP
set CDROM=FOO23
FINDCD.EXE
if "%CDROM%"=="FOO23" goto NOCDROM
path=a:\;%CDROM%\
%CDROM%
cd \WIN98
echo.
OEMSETUP.EXE /K "/IE /NF"
goto QUIT


:NOCDROM
echo.
echo The Windows 98 Setup files were not found.
echo.

:QUIT
in bold is the part that tells dos to go to the directory and load oemsetup.exe, yes, I can still set it to load that if I like, but why not just have it load setup.exe, I have installed win98 many times from dos, but that is manually typing the stuff, just looking for an automatic solution.
 
E

elpresidente

Guest
hmm...ok ...

:AUTOSETUP
set CDROM=FOO23
FINDCD.EXE
if "%CDROM%"=="FOO23" goto NOCDROM
path=a:\;%CDROM%\;a:\;%CDROM%\win98
%CDROM%
cd \WIN98
echo.
OEMSETUP.EXE /K "/IE /NF"
goto QUIT



greetz
 
elpresidente said:
hmm...ok ...

:AUTOSETUP
set CDROM=FOO23
FINDCD.EXE
if "%CDROM%"=="FOO23" goto NOCDROM
path=a:\;%CDROM%\;a:\;%CDROM%\win98
%CDROM%
cd \WIN98
echo.
OEMSETUP.EXE /K "/IE /NF"
goto QUIT



greetz
then wouldn't that void out the "cd \WIN98" command?
 
E

elpresidente

Guest
yeah it would ... u can remove cd win98 ... but still try to change it that way ...
cause
maybe after starting setup, win jumps to the root dir of your cd and doesn´t find the files ...
that´s the background of my thoughts ..... as said ..just an idea ;)

greetz
 
Top