...
Boot and press F8, select “Command prompt only”
CD to \WINDOWS
Type “edit system.ini”
Find the [386Enh] section and add:
MaxPhysPage=3B000Save the file
Reboot
Safe mode still causes a memory error; this can be fixed by using option 4 (step by step), allowing himemx.exe to run to claim memory, then answering “load all device drivers” with NO.
Alternatively, it appears that safe mode uses the file “system.cb” as a system.ini file. Adding the MaxPhysPage setting there might work too.