Jump to content

Custom 95 & 98 Boot Images


Randy Rhoads

Recommended Posts

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 OFF

set EXPAND=YES

SET DIRCMD=/O:N

set LglDrv=27 * 26 Z 25 Y 24 X 23 W 22 V 21 U 20 T 19 S 18 R 17 Q 16 P 15

set 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 C

cls

call setramd.bat %LglDrv%

path=%RAMD%:\;a:\;%CDROM%:\

copy command.com %RAMD%:\ > NUL

copy choice.com %RAMD%:\ > NUL

set comspec=%RAMD%:\command.com

copy extract.exe %RAMD%:\ > NUL

copy readme.txt %RAMD%:\ > NUL

copy rebooter.exe %RAMD%:\ > NUL

%RAMD%:\extract /y /e /l %RAMD%: ebd.cab > NUL

echo.

LH %ramd%:\MSCDEX.EXE /D:mscd001 /L:M

echo.

smartdrv.exe /q

set CDROM=FOO23

FINDCD.EXE

if "%CDROM%"=="FOO23" goto NOCDROM

path=a:\;%CDROM%\

:ERROR

IF EXIST ebd.cab GOTO MAIN

echo Please insert Windows 98 Startup Disk 2

echo.

pause

GOTO ERROR

:MAIN

CLS

echo Windows 98SE Setup Main Menu

echo =============================

echo.

ECHO Press 1. Run The FDISK Utility To Create Or Delete Partitions

ECHO Press 2. Go To The Format Menu With Full Or Quick Options

ECHO 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 Prompt

ECHO Press 6. Reboot The Computer

echo.

CHOICE /C:123456 /N /T:5,60 Press the Number Key To Choose a Menu Option.

IF ERRORLEVEL == 6 GOTO REBOOT

IF ERRORLEVEL == 5 GOTO QUIT

IF ERRORLEVEL == 4 GOTO CDROM

IF ERRORLEVEL == 3 GOTO DRIVEC

IF ERRORLEVEL == 2 GOTO FORMAT

IF ERRORLEVEL == 1 GOTO FDISK

:FDISK

CLS

FDISK.EXE

GOTO REBOOT

:DRIVEC

CLS

MD C:\CABS

path=a:\;%CDROM%\

%CDROM%

CD \WIN98

XCOPY *.* C:\CABS\*.* /s

CLS

echo Setup Is Ready To Start 98SE Install.

echo ===================================

echo.

echo Once Setup Begins You Can Remove The CD.

echo.

echo.

Pause

C:\CABS\SETUP.EXE /nf /ie /is

GOTO QUIT

:CDROM

CLS

path=a:\;%CDROM%\

%CDROM%

CD \WIN98

echo.

SETUP.EXE /nf /ie /is

GOTO QUIT

:FORMAT

CLS

echo Format Options Menu

echo ====================

echo.

ECHO Quick options are only for partitions that have been

ECHO 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 D

ECHO Press 4. Quick Format Of Drive D

echo.

ECHO Press 5. Go Back To Main Menu

ECHO Press 6. Exit To DOS Prompt

ECHO Press 7. Reboot the Computer

echo.

echo.

CHOICE /C:1234567 /N /T:6,60 Press the Number Key To Choose a Menu Option.

IF ERRORLEVEL == 7 GOTO REBOOT

IF ERRORLEVEL == 6 GOTO QUIT

IF ERRORLEVEL == 5 GOTO MAIN

IF ERRORLEVEL == 4 GOTO QUICKD

IF ERRORLEVEL == 3 GOTO FULLD

IF ERRORLEVEL == 2 GOTO QUICKC

IF ERRORLEVEL == 1 GOTO FULLC

:FULLC

CLS

ECHO Press Y or N followed by the Enter key to begin.

ECHO -------------------------------------------------------------

echo.

path=a:\;%CDROM%\

%CDROM%

CD \WIN98

FORMAT C: /s /v:WIN_98

GOTO MAIN

:QUICKC

CLS

ECHO Press Y or N followed by the Enter key to begin.

ECHO -------------------------------------------------------------

echo.

path=a:\;%CDROM%\

%CDROM%

CD \WIN98

FORMAT C: /q /s /v:WIN_98

GOTO MAIN

:FULLD

CLS

ECHO Press Y or N followed by the Enter key to begin.

ECHO -------------------------------------------------------------

echo.

path=a:\;%CDROM%\

%CDROM%

CD \WIN98

FORMAT D: /s /v:DRV_D

GOTO MAIN

:QUICKD

CLS

ECHO Press Y or N followed by the Enter key to begin.

ECHO -------------------------------------------------------------

echo.

path=a:\;%CDROM%\

%CDROM%

CD \WIN98

FORMAT D: /q /s /v:DRV_D

GOTO MAIN

:NOCDROM

echo.

echo Dude, the Windows 98 cd wasnt detected.

pause

echo.

:REBOOT

CLS

ECHO Rebooting Computer.....

REBOOTER.EXE

:QUIT

CLS

echo To get help, type HELP and press ENTER.

rem clean up environment variables

set CDROM=

set LglDrv=

95_98_Custom_Boot_Files.zip

Link to comment
Share on other sites


  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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 :P

Link to comment
Share on other sites

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 Burner

All in one drive, set it as master, throw slave in garbage. Problem solved...lol

Link to comment
Share on other sites

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. :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...