Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

I need help cleaning up the boot process after an unusual install of Windows 98.


  • Please log in to reply
6 replies to this topic

#1 codyw1996

codyw1996

  • Members
  • 3 posts
  • OFFLINE
  •  
  • Local time:05:05 AM

Posted 04 November 2017 - 12:29 PM

Ok, so I bought an old laptop on eBay, (paid a small fortune for it) because I wanted a laptop guaranteed to be Adlib compatible.

Adlib emulation is fine (It has an ESS audio drive sound chip), I just wanted to be able to test my assembly programs in hardware to ensure they work outside of DOSBox.  

Also, I wanted it to be new enough to run a nice syntax highlighted code editor like Notepad++.

It's a Fujitsu Lifebook 655tx. It has no internal CD Rom drive. The CD ROM drive is included with the dock. The dock does not exist on eBay, and therefore may as well not exist at all.

 

 

 

Anyway, to get to my actual problem:

I had to install Windows 98 using an IDE to USB adapter. 

I used GParted to format the hard drive to FAT32, then I extracted the windows 98 ISO onto the hard drive.

 

 

`

After which, I booted the laptop up into DOS 7.1 using a DOS 7 startup floppy disk I found online. (DOS 7.1 is the first version of DOS to support FAT32 drives)

Then with DOS I navigated to the Windows 98 intaller. Then I executed it with the command "SETUP /c /is".

The installer worked fine, and Windows 98 was installed successfully. 

 

 

 

But after booting back up into the system, I noticed that the Windows 98 boot process was doing all of the dumb, unnecessary things that the DOS 7.1 startup disk's boot process was doing.

 

It's telling me all of this unnecessary info, like whether I want to start the computer with or without CD-ROM support (that's obviously a startup disk question that it shouldn't be asking), and that it just created a 2mb RAM drive (I actually see this RAM drive in the list of attached drives after booting into Windows 98), and finally it actually forces me to FAIL a floppy disk read, because it's trying to find a copy of the startup disk before I can finally boot into Windows 98. This is all so annoying, I just want to boot directly into win98 without interruptions. 

 

I think what's happening is that the startup disk copied it's contents to the C:\ drive, and it's running before Windows 98 is booting. To be clear, i'm not booting with the floppy drive attached.

 

 

 

There's obviously a bunch of junk in the AUTOEXEC.BAT, and CONFIG.SYS files that shouldn't be there. I tried just clearing them out completely, that was a bad idea. Didn't make a backup of them, and had to COMPLETELY reinstall Windows 98 to get it booting again. 

 

It's like both the lines necessary to booting Windows 98 and the startup disk lines are melded together in the AUTOEXEC.BAT and CONFIG.SYS files. 

I have no idea which is which, this is outside my area of expertise.

 

 

 

What i'm gonna do here is share a video of the boot process, and post my AUTOEXEC.BAT, and CONFIG.SYS files. Hopefully someone here can figure it out.

Even I can tell that some of these lines are unecessary for booting Win98, but I really don't want to mess it up again. I've made backups of not only AUTOEXEC.BAT & CONFIG.SYS, but also of the entire partition in case I mess something up. i've spent HOURS configuring drivers and software, I do not want to have to find that extremely obscure video chip driver again.

 

 

 

Link to video of the boot process: https://www.dropbox.com/s/sagkz0fsolwo8ua/20171104_120201%5B1%5D.mp4?dl=0

After the video ends, Windows 98 boots up normally.

 

 

 

 

 

AUTOEXEC.BAT:

 

@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%
set temp=c:\
set tmp=c:\
path=C:\WINDOWS;C:\WINDOWS\COMMAND;%RAMD%:\;a:\;%CDROM%:\
rem - By Windows Setup - copy command.com %RAMD%:\ > NUL
REM - By Windows Setup - set comspec=%RAMD%:\command.com
rem - By Windows Setup - copy extract.exe %RAMD%:\ > NUL
rem - By Windows Setup - copy readme.txt %RAMD%:\ > NUL
 
:ERROR
IF EXIST ebd.cab GOTO EXT
echo Please insert Windows 98 Startup Disk 2
echo.
pause
GOTO ERROR
 
:EXT
C:\WINDOWS\COMMAND\extract /y /e /l %RAMD%: ebd.cab > NUL
echo The diagnostic tools were successfully loaded to drive %RAMD%.
echo.
 
IF "%config%"=="NOCD" GOTO QUIT
IF "%config%"=="HELP" GOTO HELP
LH C:\WINDOWS\COMMAND\MSCDEX.EXE /D:mscd001 /L:%CDROM%
echo.
GOTO QUIT
 
:HELP
cls
call help.bat
echo Your computer will now restart and the startup menu will appear.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
restart.com
GOTO QUIT
 
:QUIT
echo To get help, type HELP and press ENTER.
echo.
rem clean up environment variables
set CDROM=
set LglDrv=

 

 

 

 

 

 

 

 

CONFIG.SYS:

 

 

 

rem Moved by Windows Setup - please do not load any drivers above the following line
device=aspi4dos.sys
 
[menu]
menuitem=CD, Start computer with CD-ROM support.
menuitem=NOCD, Start computer without CD-ROM support.
menuitem=HELP, View the Help file.
menudefault=CD,30
menucolor=7,0
 
[CD]
device=C:\WINDOWS\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=aspi8u2.sys
device=aspicd.sys /D:mscd001
 
[NOCD]
device=C:\WINDOWS\himem.sys /testmem:off
 
[HELP]
device=C:\WINDOWS\himem.sys /testmem:off
 
[COMMON]
dos=high,umb
devicehigh=C:\WINDOWS\ramdrive.sys /E 2048
lastdrive=z
 
 
 
 
Any, ideas?

Edited by codyw1996, 04 November 2017 - 12:31 PM.


BC AdBot (Login to Remove)

 


m

#2 old rocker

old rocker

  • Members
  • 426 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:East Tennessee
  • Local time:07:05 AM

Posted 04 November 2017 - 01:50 PM

@codyw1996
 
Just a couple of suggestions...
 
1. Use a Boot Disk (Startup Disk) for the Operating System you wish to install: http://www.allbootdisks.com/
 
2. Once the Operating System is installed use the 'sysedit' command to customize 'Autoexec.bat', 'Config.sys', 'System.ini', 'Win.ini'.
 
3. Before manually editing any system files rename the existing to .old (ex. 'Autoexec.old', 'Config..old', 'System.old', 'Win.old'.) you can always reverse the .old files  to .bat / .sys / .ini.
 
I hope this helps somewhat
 
Old Rocker


#3 SleepyDude

SleepyDude

  • Malware Response Team
  • 2,690 posts
  • ONLINE
  •  
  • Gender:Male
  • Location:Portugal
  • Local time:11:05 AM

Posted 04 November 2017 - 01:52 PM

Hi,

 

I check some very old VM's with Windows 98 :) and the config.sys and autoexec.bat files only need to exist on c:\

for Windows 98 to work there are no lines needed there only if you want to adjust things when on Dos mode.

 

My suggestion press F8 at system boot to access the Windows 98 Startup Menu and from there select 4 Step-by-step confirmation

answer No to all the lines from config.sys and autoexec.bat see if Windows 98 starts fine that way.


Edited by SleepyDude, 04 November 2017 - 01:53 PM.

• Please do not PM me asking for support. Post on the forums instead it will increases the chances of getting help for your problem by one of us.
• Posts in the Malware section that are not replied to within 4 days will be closed. PM me or a moderator to reactivate.
• Please post your final results, good or bad. We like to know! Thank you!

 
Proud graduate of GeekU and member of UNITE
___
Rui

 
 


#4 codyw1996

codyw1996
  • Topic Starter

  • Members
  • 3 posts
  • OFFLINE
  •  
  • Local time:05:05 AM

Posted 04 November 2017 - 02:12 PM

I got it working. Turns out I just needed to keep part of the PATH command in the AUTOEXEC.BAT file. (removing the references to ;%RAMD%:\;a:\;   and   %CDROM%:\)

And I decided to keep the aspi4dos.sys driver in CONFIG.SYS because i'm not entirely sure why it's there. I think it's an Adaptec SCSI driver??

I installed USB drivers, so it could be something to do with USB. No idea.

 

 

 

 

 

 

AUTOEXEC.BAT:

 

@ECHO OFF
path=C:\WINDOWS;C:\WINDOWS\COMMAND
 
 
 
 
 
 
CONFIG.SYS
 
rem Moved by Windows Setup - please do not load any drivers above the following line
device=aspi4dos.sys
 
 
[COMMON]
dos=high,umb
 
 
 


#5 SleepyDude

SleepyDude

  • Malware Response Team
  • 2,690 posts
  • ONLINE
  •  
  • Gender:Male
  • Location:Portugal
  • Local time:11:05 AM

Posted 04 November 2017 - 02:30 PM

I don't think you need any of those lines.

 

Do you have the msdos.sys file hidden on c:\?


• Please do not PM me asking for support. Post on the forums instead it will increases the chances of getting help for your problem by one of us.
• Posts in the Malware section that are not replied to within 4 days will be closed. PM me or a moderator to reactivate.
• Please post your final results, good or bad. We like to know! Thank you!

 
Proud graduate of GeekU and member of UNITE
___
Rui

 
 


#6 codyw1996

codyw1996
  • Topic Starter

  • Members
  • 3 posts
  • OFFLINE
  •  
  • Local time:05:05 AM

Posted 04 November 2017 - 03:52 PM

No, it's visible. I've never heard of MSDOS.SYS.

 

 

 

 

Here is its contents:

 

 

;W98EBD
[Paths]
WinDir=C:\WINDOWS
WinBootDir=C:\WINDOWS
HostWinBootDrv=C
 
[Options]
BootMulti=1
BootGUI=1
DoubleBuffer=1
AutoScan=1
WinVer=4.10.2222
;
;The following lines are required for compatibility with other programs.
;Do not remove them (MSDOS.SYS needs to be >1024 bytes).
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxa
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxb
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxc
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxd
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxe
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxf
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxg
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxh
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxi
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxj
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxk
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxl
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxm
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxn
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxo
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxp
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxq
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxr
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxs


#7 SleepyDude

SleepyDude

  • Malware Response Team
  • 2,690 posts
  • ONLINE
  •  
  • Gender:Male
  • Location:Portugal
  • Local time:11:05 AM

Posted 04 November 2017 - 04:19 PM

Its a Windows 98 file that controls some aspects of the boot process that's why the config.sys and autoexec.bat are not mandatory.


• Please do not PM me asking for support. Post on the forums instead it will increases the chances of getting help for your problem by one of us.
• Posts in the Malware section that are not replied to within 4 days will be closed. PM me or a moderator to reactivate.
• Please post your final results, good or bad. We like to know! Thank you!

 
Proud graduate of GeekU and member of UNITE
___
Rui

 
 





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users