Jump to content

Invalid system disk error when starting Windows


dtamonis

Recommended Posts

I have a dual boot system with Win98SE installed in C: drive and WinXP installed in D: drive, and SATA hard disk connected via SATA>IDE adapter. Recently this adapter died and from this moment I could not boot to Win98, even after replacing the adapter.

From the OS selection menu, if I select WinXP, it loads without problems, but when I select Win98, it immediately says "Invalid system disk". After pressing a key, another message appears "Select proper boot device", and after pressing a key again, it returns to the OS selection menu.

This is puzzling, because all the system files in C:\ are present (command.com, io.sys, msdos.sys and drvspace.bin), and I checked the drive with chkdsk from WinXP, it found no problems. I copied the system files from the backup drive, that didn't help. What could prevent Win98 from booting? Without even "Starting Windows 98" stage appearing, I cannot access even the command line, so that I could go the Win98 installation folder (CD is long gone, installation is only on the hard drive). Running the installation from WinXP, I imagine, would not be a good idea.

I would really like to solve this without installing Win98 on top of the old installation, as it would revert all the updated files, including ESDI_506.pdr. But even for that, I would have to burn a bootable CD.

Edited by dtamonis
Link to comment
Share on other sites


I don't know much about that; here's how boot.ini looks:


[Boot Loader]
timeout=3
Default=C:\
[Operating Systems]
C:\="Win98"
multi(0)disk(0)rdisk(0)partition(2)\WINXP="WinXP" /noexecute=optin /fastdetect

How should I update it?

Link to comment
Share on other sites

The entry:

C:\="Win98"

Is strange.

Usually it points (to load Windows 98 or DOS) to a bootsector FILE.

Yours points directly to the bootsector ON DISK.

This should mean that you have "something else" (bootmanager/bootloader) that actually loads XP (or that I completely failed to understand how your setup is :blushing: ).

Anyway, your "C:" drive or however the same drive where BOOT.INI is should be FAT16 or FAT32 and ALSO contain in ROOT files IO.SYS, MSDOS.SYS and COMMAND.COM.

Can you confirm this?

If yes, all you have to do is get bootpart:

http://www.winimage.com/bootpart.htm

and use it to recreate BOTH a new bootsector file to boot Win98 AND a new entry in BOOT ini.

just run

bootpart

in a command prompt window and post results.

Read the (very short) bootpart.txt documentation, and, if you are sure about it's usage, just run it with the appropriate syntax or wait for instructions (based on the above output you get).

jaclaz

Link to comment
Share on other sites

The entry:

C:\="Win98"

Is strange.

It has always been the same, ever since I installed XP on the second partition. Didn't seem strange to me as I don't know much about bootloaders and bootsectors.

Anyway, your "C:" drive or however the same drive where BOOT.INI is should be FAT16 or FAT32 and ALSO contain in ROOT files IO.SYS, MSDOS.SYS and COMMAND.COM.

Can you confirm this?

Yes, BOOT.INI file is located in C: and the system files are there. Here's the output of bootpart:


Physical number of disk 0 : 2bd2c32a
0 : C:* type=c (Win95 Fat32 LBA), size= 102406311 KB, Lba Pos=63
1 : C: type=f (Win95 XInt 13 extended), size= 385977690 KB, Lba Pos=204812685

2 : C: type=b (Win95 Fat32), size= 184659111 KB, Lba Pos=204812748
3 : C: type=5 (Extended), size= 201318547 KB, Lba Pos=574130970
4 : C: type=b (Win95 Fat32), size= 201318516 KB, Lba Pos=574131033

In other words, there are three partitions, all FAT32, C: is 100GB and has Win98SE installed, D: is 185GB and has WinXP installed, and E: is 200GB.

I'd be grateful if you could provide step by step procedure of rebuilding the bootsector.

Link to comment
Share on other sites

I'd be grateful if you could provide step by step procedure of rebuilding the bootsector.

Well, let's first try booting WIndows 98 with an "external" bootsector.

Run bootpart as follows:

BOOTPART WIN98 C:\BOOTSECT.W98 "Windows 98 added"

Parameters explained:

  • WIN98 <- use the bootsector for Windows 98
  • C:\BOOTSECT.W98 <- create a file named BOOTSECT.W98 on C:\ drive, containing the Windows 98 bootsector CODE and current partition bootsector DATA
  • "Windows 98 added" <- create an entry in BOOT.INI with label "Windows 98 added" pointing to C:\BOOTSECT.W98

In other words, after you have run bootpart as per above, you will have an added entry in BOOT.INI like:

C:\BOOTSECT.W98="Windows 98 added"

Try rebooting and choosing it.

Post what happens. ;)

jaclaz

Edited by jaclaz
Link to comment
Share on other sites

I'm now posting from Win98 :)

So thank you, because I was about to install it on top of itself. No big deal, but then I'd have to roll back some files, and I don't like reinstalls in general.

The following line was added to BOOT.INI:

C:\BOOTSECT.W98="Windows 98 added" /win95

What does /win95 switch mean? Is it necessary? As I understand, now I can replace Default=C:\ with Default=C:\BOOTSECT.W98 and remove the line C:\="Win98".

Link to comment
Share on other sites

I'm now posting from Win98 :)

So thank you, because I was about to install it on top of itself. No big deal, but then I'd have to roll back some files, and I don't like reinstalls in general.

The following line was added to BOOT.INI:

C:\BOOTSECT.W98="Windows 98 added" /win95

What does /win95 switch mean? Is it necessary? As I understand, now I can replace Default=C:\ with Default=C:\BOOTSECT.W98 and remove the line C:\="Win98".

Yes, you can add it as the default allright.

The /win95 (though it does NOT make any harm) can be removed allright. It is a provision for the original mind-boggingly complex way the good MS guys allowed triple boting among NT, MS DOS <=6.22 and Windows 95 (renaming io.sys to winboot.sys, etc.)

The /win95 means "actually boot from WIN9x files and NOT from DOS ones" whilst the /win95DOS "actually boot form DOS files and NOT from the win9x ones", BOTH settings "ask NTLDR to cleverly :whistle: rename a set of files, if the condition is verified", see here:

http://home.earthlink.net/~jdbryan/directboot.html

And of course you can change the description inside double quotes to anything you prefer.

Glad I can count you among the happy bunnies :).

jaclaz

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