LILO cannot boot Windows 95 due to a simultaneously existing
DOS partition.
The Windows 95 booting process is aborted with the error message
invalid command.com
.
It is booted by either the DOS partition or the Windows 95 one, the last one to be activated with fdisk. Windows 95 requires to start an active partition, just as DOS. Since generally only one partition can be active, problems appear during a system start from the disk.
Use the OS/2 bootmanager. The reason may be that the OS/2 bootmanager, contrary to LILO, hides the primary DOS partition just as non-active, and therefore Windows 95 finds only an active primary partition.