Internal stack overflow on Virtual PC when installing Windows 98

I'm attempting to use Windows Virtual PC to set up a Windows 98 (SE) VM; you know, for nostalgia's sake. However, whenever I run it, I get the following error:

An internal stack overflow has caused this session to be halted. Change the STACKS setting in your CONFIG.SYS file, and then try again.

"An internal stack overflow has caused this session to be halted. Change the STACKS setting in your CONFIG.SYS file, and then try again."

It doesn't seem to matter what I do. I've run it in Safe Mode, used two different Win98SE ISOs, and it happens whether or not I execute any commands. I don't appear to have access to the CONFIG.SYS file (it's not in the Virtual PC directory or the VM's direcory, it's not in the settings, and I can't run the machine long enough to configure anything).

To be clear, this is the first boot from the ISO in an attempt to install the OS. I've been following instructions online akin to:

  1. Open the VM directory, use "Create a virtual machine".
  2. Give the VM 64MB or 128MB of RAM.
  3. Open the settings for that VM, and change the DVD Drive setting to the Win98SE ISO location.
  4. Run the VM.

Then, after a random (but short) duration of time, it beeps at me and sends me this message, and I have no choice but to turn off the VM.

I'm running Windows 7 x64 with 12GM RAM on an Alienware M18x r2. I've searched around, but everyone who seems to have had this problem before has had access to CONFIG.SYS. I do not appear to.

How can I bypass or resolve this error? (Is there another virtualization software I should use?)


Solution 1:

Windows Virtual PC doesn't officially support Windows 98. Use an alternate VM such as VirtualBox or similar instead.

Solution 2:

I was trying to install DOS 6.22 in a Virtual PC and was getting this problem. I fixed it by adding the below lines to CONFIG.SYS, though I haven't fully tested the solution yet. Just wanted to post this here because it came up when I was googling the problem.

DOS=HIGH,UMB
STACKS=64,512
FILES=60
BUFFERS=40