Although this topic
may perhaps not be the hottest anywhere on the entire internet

I nevertheles thought I wanted to update this thread, and not the least express my gratitude to those who have helped me to achieve
success!
So, I (finally!) managed to get my old T42p up and running with Windows 95 (ver. 4.00.950 B); it actually runs pleasantly fast on the above-mentioned old, slow 4200 rpm HDD! Windows 95 report 766 MB of RAM in System Properties, although I have 1 GB installed. Moreover, I got this T42p configured to allow an old MS-DOS program running (in a DOS shell); a program which require Expanded Memory... to get this program up and running was actually the aim of all of this.
To get Windows 95 correctly installed on the T42p, I first downloaded a Windows 95 Bootdisk (diskette) from
Bootdisk.Com - Free Windows Bootdisks, Free DOS boot disk, as very friendly pointed to by
ilakast in this thread (and I'm surely very grateful for this very helpful link -
thanks again!). I put this on a 3.5" diskette, booted the T42p from this diskette (via an USB 3.5" diskette drive), and re-formatted the HDD in the T42p, and set up the partitions on the HDD. Next, I ran the Windows 95 setup.exe (still when having booted on the Windows 95 boot-diskette) from the CD... the Win95 CD was seen as drive "R" when booting from the Win95 boot-diskette. From there on, all went with only minor issues (a few missing network-drivers etc., which I didn't care about, as this is to be a stand-alone PC with no network connections).
After the Windows 95 had been setup, I struggled a bit with getting Expanded Memory supported. Finally I managed to get it to work, after finding the reason (or a cure?) at
WPDOS - Enable EMS in Some Windows XP Computers where it says (highlighting in red added by me):
ThinkPad laptop computers that do not enable EMS under Windows XP
Warning: The following advice applies to IBM or Lenovo laptop computers sold under the ThinkPad brand name only. Lenovo also makes laptop computers sold under the Lenovo brand name only, and that are not called ThinkPads); you may find it impossible to enable EMS on Lenovo laptops that are not ThinkPads.
Some models of ThinkPad computers manufactured by IBM or Lenovo (starting with the A21, R32, and T30 series, and perhaps earlier) prevent you from enabling EMS memory in their default out-of-the-box configuration. To enable EMS, you must use the pre-installed BIOS Setup Utility or ThinkPad Configuration Program (or some similar name) to change one or both of two BIOS option settings.
Access the BIOS settings by powering off your computer; then hold down the F1 key and switch it on again. The two option settings you may need to change are these: under Config, then under Network, disable Internal Network Option ROM; and under Config, then under USB, disable USB BIOS Support. You may be able to enable EMS by disabling one or the other, not both; on a ThinkPad T61, for example, I got expanded memory after disabling Internal Network Option ROM only. On some machines, however (such as my old ThinkPad T42), you will need to disable both.
Before you can access these options on some A21, R32, T30 and perhaps other ThinkPads, you must first update your computer's BIOS. This is very easy to do. Go to the ThinkPad Driver Matrix page on Lenovo's web site; find your exact model; go to the linked page; click on BIOS in the table near the top, and find the BIOS file for your model. Follow the instructions for downloading and installing the new BIOS. You may also need to download and install other files as instructed on the page with instructions for the BIOS. Recent models include a Software Installer or System Update application which can update the BIOS automatically.
So, as emphasized above, I had to disable both "Internal Network Option ROM" and "USB BIOS Support". This means that I cannot boot this T42p from an USB-diskette (unless of course except if changing the BIOS-configuration back again to enable USB-boot, but meanwhile it's OK possible to boot from a CD, such as e.g. Hiren's mini-XP). After disabling these two things in the BIOS, and after configuring EMM386 (in the config.sys) as this:
Code: Select all
DEVICE=C:\WINDOWS\HIMEM.SYS /M:1
DEVICE=C:\WINDOWS\EMM386.EXE RAM HIGHSCAN I=B000-B7FF D=64 H=255
DOS=HIGH,UMB
FILES=100
BUFFERS=20
... I can now run the program (in a DOS shell) that I need to, and with Total Expanded Memory = 64 MB and Free Expanded Memory = 16 MB... beautiful!

There are still a few things to tweak (device drivers etc.), but the main things is that this EMM386 is now supported on the T42p in the DOS shell.
UPDATE (Sun. Feb. 24, 2013): I just found a way to get the Expanded Memory succesfully set up/enabled
without having to disable (in the BIOS, as discussed above) neither "Internal Network Option ROM" nor "USB BIOS Support", as per a hint on
Expanded Memory on IBM T42 (page 5) where it was mentioned the following line in "config.sys":
Code: Select all
DEVICE=C:\WINDOWS\EMM386.EXE FRAME=D000 RAM
would allow the Expanded Memory to be succesfully setup, without having to disable neither "Internal Network Option ROM" nor "USB BIOS Support". With this new configuration I do however receive a warning during boot with this configuration, saying:
"Warning: Option ROM or RAM detected within page frame" but the Windows 95 boot seems to complete OK, and my DOS-application (requiring EMM386 Expanded Memory) will start and work fine, for the limited amount of testing done so far.
According to
BIOS Update (Non-Diskette) - ThinkPad R50, R50p, R51 (1829, 1830, 1831, 1836), T40, T40p, T41, T41p, T42, T42p the following memo areas are reserved:
Memory map information - Reserved Area
The following conventional memory addresses are reserved by BIOS and others:
C0000-CFFFF : Reserved for Video BIOS
D0000-D3FFF : Reserved for Option ROM of Ethernet (*3)
DC000-DFFFF : Reserved for USB BIOS (*4)
E0000-FFFFF : Reserved for System BIOS
Notes:
(*3) This area becomes free by disabling the Internal Network Option ROM option under Config and Network in the BIOS Setup Utility
(*4) This area becomes free by disabling the USB BIOS Support option under Config and USB in the BIOS Setup Utility. This choice does not affect using USB devices in Windows operating systems.
Usable Area
The following memory address can be used by the memory manager such as EMM386:
D4000-DBFFF
But certain addresses in this area will be reserved for CardBus Controllers or others by Operating Systems. The addresses vary and depend on the design of each Operating System.
... so I guess that with a little memory-map tweaking the above warning can perhaps be removed (end of this update).
Once again,
thanks very much to all of you who have helped me with getting this old setup succesfully running - your help has surely been grately appreciated.
Johan