I'm currently trying to get windows 98 second edition installed on a modern PC. I've read through multiple guides, mostly here but with a couple of things from vogons, and I think I've completed all steps needed to make win98 work with more RAM. My install procedure is uses two drives, a 1TB HDD and a 240GB SSD, both formatted with single fat32 partitions of 64GiB. The drives are running in IDE mode. The HDD has freedos installed, as well as a folder containing the win98SE install files (which don't seem to be bootable directly, hence the use of freedos). I intend to install win98 on the SSD. I've made all changes to BIOS settings that I think I need to (disabling all but one CPU core, IDE hard drive mode) though I could easily have missed something.
So far I've booted freedos successfully and started the win98 setup.exe (with the /nm switch). Tt starts fine, running scandisk with no errors and then moving on to "Setup is preparing the Windows 98 Setup Wizard, which will guide you through the install process" with a percentage underneath, but when it reaches 100% setup stops with the error "SUWIN caused a Stack Fault in module SUWIN.EXE at 0003:3A66". I've struggled to find much information on this error, but it seems to be a memory issue. As a result I ran a memory test on the system and had no issues, so I'm not really sure what could be causing it. My only idea is possibly an issue with freedos's memory manager, but since I don't have a bootable win98 setup I'm not sure how else to do the install without it. Could anyone put forwards any other ideas for what I could try to fix/get around the issue?
Basic system info of the machine I'm trying to install on:
RAM: 4GiB, 1.333MHz
CPU: i5-2500 @ 3300MHz