Randy Rhoads Posted September 12, 2004 Posted September 12, 2004 Ive attached my finished boot image files for these OS's and quoted the 98 example. The 95 is the same just edited to say 95 instead. The attachment has all the files needed to inject into your current images sepeated by folders.Both include a JO.SYS file which gives you the option to boot from hardrive or CDROM with hardrive being default with a 10 second timer. This is best if you use these for seperate Windows cd's.So, if you use these for a multiboot CD or DVD, you will need to edit in your paths to the windows folder inside the Autoexec.bat and it would be better to not use the JO.SYS file so the multi-boot menu jumps straight to the Autoexec.bat.The Autoexec.bat included is edited assuming the WIN95 and WIN98 folders are in the root of the cd. @ECHO OFFset EXPAND=YESSET DIRCMD=/O:Nset LglDrv=27 * 26 Z 25 Y 24 X 23 W 22 V 21 U 20 T 19 S 18 R 17 Q 16 P 15set LglDrv=%LglDrv% O 14 N 13 M 12 L 11 K 10 J 9 I 8 H 7 G 6 F 5 E 4 D 3 Cclscall setramd.bat %LglDrv%path=%RAMD%:\;a:\;%CDROM%:\copy command.com %RAMD%:\ > NULcopy choice.com %RAMD%:\ > NULset comspec=%RAMD%:\command.comcopy extract.exe %RAMD%:\ > NULcopy readme.txt %RAMD%:\ > NULcopy rebooter.exe %RAMD%:\ > NUL%RAMD%:\extract /y /e /l %RAMD%: ebd.cab > NULecho.LH %ramd%:\MSCDEX.EXE /D:mscd001 /L:Mecho.smartdrv.exe /qset CDROM=FOO23FINDCD.EXEif "%CDROM%"=="FOO23" goto NOCDROMpath=a:\;%CDROM%\:ERRORIF EXIST ebd.cab GOTO MAINecho Please insert Windows 98 Startup Disk 2echo.pauseGOTO ERROR:MAINCLSecho Windows 98SE Setup Main Menuecho =============================echo.ECHO Press 1. Run The FDISK Utility To Create Or Delete PartitionsECHO Press 2. Go To The Format Menu With Full Or Quick OptionsECHO Press 3. Copy The 98 CD Files To Drive C And Begin Setup ECHO Press 4. Start The 98 SE Setup Straight From The CDROM echo.ECHO Press 5. Exit To DOS PromptECHO Press 6. Reboot The Computerecho.CHOICE /C:123456 /N /T:5,60 Press the Number Key To Choose a Menu Option.IF ERRORLEVEL == 6 GOTO REBOOTIF ERRORLEVEL == 5 GOTO QUITIF ERRORLEVEL == 4 GOTO CDROMIF ERRORLEVEL == 3 GOTO DRIVECIF ERRORLEVEL == 2 GOTO FORMATIF ERRORLEVEL == 1 GOTO FDISK:FDISKCLSFDISK.EXEGOTO REBOOT:DRIVECCLSMD C:\CABSpath=a:\;%CDROM%\%CDROM%CD \WIN98XCOPY *.* C:\CABS\*.* /sCLSecho Setup Is Ready To Start 98SE Install.echo ===================================echo.echo Once Setup Begins You Can Remove The CD.echo.echo.PauseC:\CABS\SETUP.EXE /nf /ie /is GOTO QUIT:CDROMCLSpath=a:\;%CDROM%\%CDROM%CD \WIN98echo.SETUP.EXE /nf /ie /isGOTO QUIT:FORMATCLSecho Format Options Menuecho ====================echo.ECHO Quick options are only for partitions that have beenECHO previously full formated.echo. ECHO Drive D options are only for extended partitions ECHO that was created using FDISK.echo. ECHO Press 1. Full Format Of Drive C ECHO Press 2. Quick Format Of Drive C echo.ECHO Press 3. Full Format Of Drive DECHO Press 4. Quick Format Of Drive Decho.ECHO Press 5. Go Back To Main MenuECHO Press 6. Exit To DOS PromptECHO Press 7. Reboot the Computerecho. echo.CHOICE /C:1234567 /N /T:6,60 Press the Number Key To Choose a Menu Option.IF ERRORLEVEL == 7 GOTO REBOOTIF ERRORLEVEL == 6 GOTO QUITIF ERRORLEVEL == 5 GOTO MAINIF ERRORLEVEL == 4 GOTO QUICKDIF ERRORLEVEL == 3 GOTO FULLDIF ERRORLEVEL == 2 GOTO QUICKCIF ERRORLEVEL == 1 GOTO FULLC:FULLCCLSECHO Press Y or N followed by the Enter key to begin.ECHO -------------------------------------------------------------echo.path=a:\;%CDROM%\%CDROM%CD \WIN98FORMAT C: /s /v:WIN_98GOTO MAIN:QUICKCCLSECHO Press Y or N followed by the Enter key to begin.ECHO -------------------------------------------------------------echo.path=a:\;%CDROM%\%CDROM%CD \WIN98FORMAT C: /q /s /v:WIN_98GOTO MAIN:FULLDCLSECHO Press Y or N followed by the Enter key to begin.ECHO -------------------------------------------------------------echo.path=a:\;%CDROM%\%CDROM%CD \WIN98FORMAT D: /s /v:DRV_DGOTO MAIN:QUICKDCLSECHO Press Y or N followed by the Enter key to begin.ECHO -------------------------------------------------------------echo.path=a:\;%CDROM%\%CDROM%CD \WIN98FORMAT D: /q /s /v:DRV_DGOTO MAIN:NOCDROMecho.echo Dude, the Windows 98 cd wasnt detected. pauseecho.:REBOOTCLSECHO Rebooting Computer.....REBOOTER.EXE:QUITCLSecho To get help, type HELP and press ENTER.rem clean up environment variablesset CDROM=set LglDrv=95_98_Custom_Boot_Files.zip
Randy Rhoads Posted September 13, 2004 Author Posted September 13, 2004 I went ahead and threw in all the small DOS apps needed as well and reuploaded the attachment. XCOPY files, CHOICE.COM, and REBOOTER.EXE
jaclaz Posted September 13, 2004 Posted September 13, 2004 Thanx Randy,I'll have a look into it.jaclaz
Alanoll Posted September 13, 2004 Posted September 13, 2004 if you have more then one CDROM, you might run into problems.
Randy Rhoads Posted September 14, 2004 Author Posted September 14, 2004 if you have more then one CDROM, you might run into problems.Details?The cdrom will always boot as drive Z, C will always be the 1st active partition, and you cant format D untill you create an extended D partition to format which will boot the cdrom as E, by default, after the reboot, but the edited autoexec should boot it as drive Z anyway.
Alanoll Posted September 14, 2004 Posted September 14, 2004 If say you have 2 CDROMs. IF you use the SECOND CDROM, the autoexec will break, as the FIRST one detected becomes Z: and the second shouldn't even get a letter.
Randy Rhoads Posted September 15, 2004 Author Posted September 15, 2004 If say you have 2 CDROMs. IF you use the SECOND CDROM, the autoexec will break, as the FIRST one detected becomes Z: and the second shouldn't even get a letter.I'll have to check that, but who boots a Windows disk with a slave drive? If you have a CDRW theres no need for a cdrom added as it is just sapping the PSU. If you have a DVD burner, theres no reason to have a seperate CDRW or CDROM installed ither. So, technically, you just one master optical drive.
Jito463 Posted September 15, 2004 Posted September 15, 2004 Personally I wouldn't need this, but say someone used it on a multi-boot DVD and the only DVD drive was the slave? That would be an example. I don't think Alanoll is being critical, he's just trying to help you out by showing you ways you can make it better.
Randy Rhoads Posted September 15, 2004 Author Posted September 15, 2004 and the only DVD drive was the slave?There should never be a need for slave optical drive IMO. I see no reason why it wont work, because if it didnt work in a slave drive, then that means booting a default 98 cd wouldnt have worked in that situation ither as all i changed from the original code, in that area, is to boot as Z instead of D. So, if thats the case then its M$'s fault..lol
Alanoll Posted September 15, 2004 Posted September 15, 2004 except the original 98 boot sector, actually found the CD drive letter. But started MSCDEX.EXE with letters at M or something (atleast the one I have). But IF the CD was still D to begin with, and the hdd was also D, the CD would then become E instead.As for two optical drives, i personally have three. One CD Burner, and two DVD burner. Sure it takes more power, but it's simply for ease of use. Which is why i know the problem with Z
harunaksoy Posted September 15, 2004 Posted September 15, 2004 Thanks man I was looking for this all the time.and does this work with ME and 3.11 too?
Randy Rhoads Posted September 15, 2004 Author Posted September 15, 2004 Well i did some changes although im not sure if it would help as i dont have a setup to try a slave drive without cracking open the tower and adding one. Added a hexed FINDCD.EXE you add in the images and a file for each 9X's you place in the root of the CD/CD's (renamed WIN51 files). I also added how the autoexec.bat looks now as well.Someone with a slave drive and old empty hardrive to play with will have to check it out or just boot from a master drive only, which i feel is the easiest method.DVD Burner is the only drive someone should own because it can function as a:*CDROM*CDRW*DVD Player*DVD BurnerAll in one drive, set it as master, throw slave in garbage. Problem solved...lol
jaclaz Posted September 15, 2004 Posted September 15, 2004 Maybe stupid comment, but wouldn't it be easier to set Cdrom to W:so you still have X: Y: and Z: ?jaclaz
Randy Rhoads Posted September 15, 2004 Author Posted September 15, 2004 Maybe stupid comment, but wouldn't it be easier to set Cdrom to W:so you still have X: Y: and Z: ?X,Y, and Z for what? 30+ slave drives? jk.. Just edit the autoexec.bat to suit your needs.
Jito463 Posted September 15, 2004 Posted September 15, 2004 Not to try and drag this conversation out any longer than it needs to, but while a sole DVD±RW drive is a good idea, it also has it's downsides. Number one, if you do a lot of CD burning, that puts extra wear-and-tear on your burner. Better to have a seperate CD-RW drive for that. What happens if one of the lasers fail (CD burning for example), but everything else works? Do you throw away the entire burner and buy a new one or do you add a CD-RW drive in and keep the DVD±RW drive a while longer? Not everything's so simple as you make it. If you don't want to make it designed to support multiple drives, that's your perogative. You made it and chose to post it however, so we also have the perogative of pointing out any potential flaws. Anyway, I've put in my $0.02 worth. I'm done.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now