Jump to content

Windows 3.11


oviradoi

Recommended Posts

kof94: what other OSes are you running w/ parallels?

Sorry, none :no: .

I was really adding to wolfh3art's answer to tguy, I should have been clearer.

Just one question: Why??

I think i can awnser this one.... Just FOR FUN!!!!

All I ment was I've added Windows for Workgroups 3.11 to my multi-boot DVD. I have to admit that I've only tested it running in VMWare sat on top of MS-DOS 7.10, it works so I'm not complaining.

Edited by kof94
Link to comment
Share on other sites


I can't load ntfs support from Windows 3.1, but I can load it in DOS before I run Windows.

Wasn`t talking about you, kof94 :P Well I didn`t read oviradoi`s post very carefully. He said he loads NTFS support before loading 3.11 :blushing:

BTW, oviradoi, FORTZA STEAUA ! :thumbup:

Link to comment
Share on other sites

xpmaniac4ever: Yea, FORTZA STEAUA, too bad they didn't beat middlesbrough. :(

I got a program that can mount NTFS partitions under MS-DOS. The problem is that long file names aren't supported.

If I load that program and then run Win3.1, I have NTFS support!! (but no long file names, wich makes it almost useless)

I got the program from the boot image Nero 6 (and 7) makes when you make a bootable CD.

There is an image (.IMA or .IMG) file wich can be read with WinImage in the Nero folder (dunno where).

The name of the prg is NTFS something, I can't remember, I'm not at home now.

It's made for Caldera DOS, but it also works in MS-DOS

By the way: The how-to is almost ready.

Link to comment
Share on other sites

I have seen a website that claimed there's way of booting Windows from a 1.44MB floppy I think it uses a RAMDRIVE but I can't remember the site, I've Googled for it and I can't find it. :(

Link to comment
Share on other sites

I have seen a website that claimed there's way of booting Windows from a 1.44MB floppy I think it uses a RAMDRIVE but I can't remember the site, I've Googled for it and I can't find it. :(

Just read my previous post (links included).

There are at least TWO such sites, Peephole and Mwin16.

jaclaz

Link to comment
Share on other sites

I had win 3.1 (a hand-scratch build, built mostly from Win3.11, (not the "for wallies", with bits of WinOS/2, assorted fix-wares and free-wares, and bits of windows 3,0 and windows for warehouses) booting from the floppy disk and cdrom way back in the mid-nineties.

You basically set your windows 3.1x up as a network install (setup /a) to any directory. From this, you can modify (to some extent), the files WIN.SRC and SYSTEM.SRC (which is where win.ini and system.ini live), to get eg a workable network install.

The next step is to use subst to lay out the ram-drive and cdrom drive, and install windows into the ramdrive by "setup /n". This creates the necessary files for the windows. It's about 140 KB, if i recall correctly, but much of this is fixed EXE and COM files.

Since WIN.COM and a few others live as a composite of several files, you can recreate this in ram, by copying the files needed from the cdrom. When you fiddle around with removal of all of the unnecessary stuff, you reduce the %windir% down to something that can live in a 14K rar file.

To run windows, you simply unrar this file to the r:\win directory, build win.com, winver.exe etc from the cdrom, and fire up win.com. You have to have the s:\windoze directory (where the network install lives) in the DOS path, but this can live at the end.

Even doing this by normal means makes windows 3.1 and DOS more responsive.

W

Link to comment
Share on other sites

OK... Here it is...

HOW TO MAKE WINDOWS 3.1 (3.11) BOOT FROM CD

This guide will teach you how to make a Windows 3.1 (3.11) installation to boot

from CD.

What you will need:

MSDOS 7.10 kit (you might get it from bootdisk.com or some link)

Windows 3.1 or 3.11(you might get it from bootdisk.com or some link)

Virtual PC (or VMWARE Workstation, but only Virtual PC will be explained here)

UHARC 0.2 (or any other archiver that works in pure DOS, but UHARC 0.2 will be used here)

A Windows ME boot disk (Windows 98 boot disk might also work, but WinME will be used here) (you might get it from bootdisk.com or some link)

WinImage 8.0

This is the method you will use:

You'll install MSDOS 7.1 and then Windows 3.1 on a virtual machine.

Once it is up and running, you have to copy ALL the files to your hard disk (using WinImage)

Then, you will create a floppy disk image using 3 files from the Windows ME boot disk

Then, using UHARC, you'll archive the files you copied and put them on the CD

----------------------------------

Step 1: Set up the virtual machine

----------------------------------

Using Virtual PC, create a new virtual machine.

---------------------------

Step 2: Install MS-DOS 7.10

---------------------------

Mount the MS-DOS 7.10 disk 1, and boot from it (in the Virtual Machine).

Create a new partition and install MS-DOS.

Install DOS with the "full install". Do not install the add-ons if you don't have another disk.

When asked, enable direct disk access by using LOCK;enable both UMB and XMS memory, and load both CDROM drivers, not only the .sys driver.

When asked wich programs to load, check them all, and select code page 437

---------------------------

Step 3: Install Windows 3.1

---------------------------

Use Nero or some other software to create an ISO image with the Windows 3.1 kit.

Then, mount it on your virtual machine, and run setup from it.

Go trough Windows Setup, rebooting when it's over.

Then, enter Windows and set it up the way you want it to be when you boot it (wallpaper, etc)

You might want to delete the 'support for 852' from Startup (I need to)

----------------------------------------

Step 4: Copy the files to your hard disk

----------------------------------------

Use WinImage to open the hard disk image file (.vhd).

Then, extract the files to a directory on your HDD (c:\win31boot\all)

Remember to extract with pathname !!

------------------------------------------

Step 5: Create a modified DOS startup disk

------------------------------------------

Create a folder on your HDD to store the disk files (c:\win31boot\disk)

Copy these files in that folder from the files you copied before (in step 4):

autoexec.bat

command.com

config.sys

dblbuff.sys

ifshlp.sys

io.sys

msdos.sys

Copy these files from the Windows ME startup disk to that folder (c:\win31boot\disk):

findramd.exe

ramdrive.sys

setramd.bat

Copy uharc 0.2 (uharc.exe) to the c:\win31boot\disk folder

Copy the DOS71 folder from the c:\win31boot\all folder in that folder (c:\win31boot\disk).

From the DOS71 folder you just copied, delete these files:

The DOSSHELL folder

ANSI.sys

CHKSTATE.sys

CVT.exe

DBLSPACE.BIN

DBLSPACE.SYS

DRVSPACE.BIN

DRVSPACE.SYS

MEMMAKER.EXE ,HLP, INI, STS

MSD.exe, MSD.ini

QBASIC.EXE, HLP, INI

------------------------------------

Step 6: Modify the autoexec.bat file

------------------------------------

Now you need to modify the autoexec.bat file in your c:\win31boot\disk directory

Open it in notepad, delete EVERYTHING and write this instead:

@ECHO OFF

set LglDrv=27 * 26 Z 25 Y 24 X 23 W 22 V 21 U 20 T 19 S 18 R 17 Q 16 P 15

set LglDrv=%LglDrv% O 14 N 13 M 12 L 11 K 10 J 9 I 8 H 7 G 6 F 5 E 4 D 3 C

call setramd.bat %LglDrv%

LH KILLER >NUL

LH DOSKEY >NUL

MSCDEX.EXE /D:IDE-CD /L:Z>NUL

MSCDEX.EXE /D:IDE-CD /L:Y>NUL

MSCDEX.EXE /D:IDE-CD /L:X>NUL

smartdrv >NUL

smartdrv >NUL

LH CTMOUSE >NUL

LH CTMOUSE >NUL

SET CDROM=

if exist z:\win51ip.sp2 set CDROM=Z>NUL

if exist y:\win51ip.sp2 set CDROM=Y>NUL

if exist X:\win51ip.sp2 set CDROM=X>NUL

PATH=%PATH%;a:\dos71;a:\windows;%ramd%;%ramd%:\dos71;%ramd%:\windows

uharc x -y+ -t%ramd%: %cdrom%:\win31.uha

cls

echo.

echo Done

echo.

----------------------------------

Step 7: Modify the config.sys file

----------------------------------

Now you need to modify the config.sys file in your c:\win31boot\disk directory

Open it in notepad, delete EVERYTHING and write this instead:

DEVICE=DOS71\HIMEM.SYS

DEVICE=DOS71\EMM386.exe RAM

DEVICEHIGH=DOS71\SETVER.EXE

DEVICEHIGH=DOS71\POWER.EXE

DEVICEHIGH=DOS71\VIDE-CDD.SYS /D:IDE-CD

DEVICEHIGH=DOS71\RAMDRIVE.SYS /E 25000

COUNTRY=001,437,DOS71\COUNTRY.SYS

SHELL=COMMAND.COM /F /P /E:640

DOS=HIGH,UMB,AUTO

FCBS=4,0

FILES=30

BUFFERS=20,0

LASTDRIVE=26

STACKS=9,256

SET PATH=\DOS71;..;

-----------------------------------

Step 9: Modify the progman.ini file

-----------------------------------

This file is in the c:\win31boot\all\windows folder.

Open it with notepad.

In the [Groups] section, you will find the program group files using absolute path.

We will change them into relative paths.

So, change ALL the lines from c:\windows\main.grp (for example) to main.grp

(you need to delete the "c:\windows\" in front of the filename

Save the new file

-----------------------------------

Step 10: Modify the system.ini file

-----------------------------------

This file is in the c:\win31boot\all\windows folder.

Open it with notepad.

Here, you must add the all-important PageOverCommit=1 setting

Without this setting, your Windows 3.1 installation won't work on PCs with more than that 512 MB of RAM.

--------------------------

Step 8: Compress the files

--------------------------

Now you will compress the files in your c:\win31boot\all folder

First, go to c:\win31boot\all, and delete these files and folders:

The TEMP folder (it should be empty)

AUTOEXEC.BAT

AUTOEXEC.OLD

COMMAND.COM

CONFIG.SYS

DBLBUFF.SYS

DBLSPACE.BIN

DRVSPACE.BIN

IFSHLP.SYS

IO.SYS

LOGO.SYS

MSDOS.SYS

Once you deleted those files, you will use UHARC 0.2 to compress the remaining files.

First, copy uharc to your \WINDOWS\SYSTEM32 directory. Thus, you don't have to have uharc in the directory you are compressing.

Open the command prompt and go to c:\win31boot\all

To compress the files with maximum compression, type

uharc a -m3 -pr -r+ win31.uha

To only store the files, type

uharc a -m0 -pr -r+ win31.uha

If you only store the files, your archive will take less time to compress and decompress.

I used UHARC 0.2 beacause it was the only one I could find to work in DOS.

You could have used RAR, ACE or even no archive at all, just copy from CD.

------------------------------------

Step 9: Create the floppy disk image

------------------------------------

Open WinImage, and create a new floppy image (File>New)

Choose 2.88 MB in the next dialog (we will make a 2.88 MB image beacause it won't fit on a 1.44 MB disk. Diskemu is able to boot it.)

Now, add ALL the files in the c:\win31boot\disk folder

If it doesn't fit, then you haven't deleted all the unnecesary files I told you to delete.

Once all the files are there, go to Image>Boot sector properties. From that dialog box, press Windows 95/98, and then OK.

Then, save the floppy disk image (File>Save)

Save it as an Image file(.IMA), not .IMZ

---------------------------------------------

Step 10: Copy the files to your Windows XP CD

---------------------------------------------

Put the floppy disk image and the win31.uha file to your Windows XP CD.

To start it, use diskemu image.ima.

How it works:

By default, Windows finds its files using an absolute path. This means that, if Windows was installed in C:\windows, it will

look for the files there, and not anywhere else. By modifying the progman.ini file, it will look for its files where it is.

When it starts, DOS creates a RAMDRIVE and decompresses Windows there. The CDROMS are mounted as X,Y and Z (if you have three of them)

The phisical floppy drive will be B:, as A: will be the floppy image we created.

DOS searches for the CD-ROM drive where the CD is by searching for the win51ip.sp2 file (wich should be in every XP CD)

If you want it to look for another file, change it in autoexec.bat

This is it. Hope it helps.

Problems? Questions? Comments? Post them here.

Link to comment
Share on other sites

Can you confirm that you managed to boot Windows 3.x from a DOS 7.x, WITHOUT patching the IO.SYS file with 3xstart:

http://oldfiles.org.uk/powerload/win3x.htm

:unsure:

Or you have found another method and forgot to mention it in the guide?

:rolleyes:

Also, Doublespace and memmaker files are DOS6.22 files, aren't they?

jaclaz

Edited by jaclaz
Link to comment
Share on other sites

No, I haven't pached any io.sys file.

It is the io.sys I copied from the root of the virtual hard disk, the file DOS 7.10 put there.

I did not use 3xstart, or any other method.

After writing the tutorial, I double-checked it, followed it literally, did exactly what it said and it worked.

I tried it on Windows 3.11 for central europe.

I don't know if the doublespace and memmaker are the files form DOS 6.22, I'll have to check that.

Link to comment
Share on other sites

If the

MSDOS 7.10 kit

you are referring to comes from Wengier DOS 7.1 or any derivative work, the io.sys file is already patched.

Which version is it, Win95 or 98?

Can you try comparing the file you are using to that contained in a "normal" bootdisk?

jaclaz

Link to comment
Share on other sites

I got a program that can mount NTFS partitions under MS-DOS. The problem is that long file names aren't supported.

If I load that program and then run Win3.1, I have NTFS support!! (but no long file names, wich makes it almost useless)

That's because Windows 3.1 and DOS don't support long filenames, does this driver work with Windows 95?

Because if it does you might be able to use long file names.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...