greetings all
I am running winnt40 and some of my engineering staff use
a program that only runs in dos. 50% of the engineering
machines have dos setup on one drive and w2k on another,
when they wish to use the dos based program they restart
the machine and choose ms-dos as the operating system. The
system starts in dos and work , Can someone tell me how to
do this with winnt40,
thanks
cASH
Dave Patrick - 26 Nov 2003 21:21 GMT
Basically you'll need to wipe the drive and start over. Install MS-DOS, then
install Windows NT. On separate partitions of course. This article may help
you.
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/s
upport/kb/articles/Q217/2/10.ASP&NoWebContent=1

Signature
Regards,
Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft MVP [Windows NT/2000 Operating Systems]
> greetings all
> I am running winnt40 and some of my engineering staff use
[quoted text clipped - 7 lines]
> thanks
> cASH
C P - 26 Nov 2003 22:54 GMT
If you don't want to start from scratch, I think there are 3rd party tools
that will let you set up a multi-boot system after the fact. PowerQuest has
BootMagic and PartitionMagic that will let you adjust existing partitions,
and control which one you boot to. I think Symantec also has a similar
product.
Be careful with these solutions though. I recently had to use Norton Ghost
to clone a failing drive, and had to go through a bunch of work to remove
Partition Magic/Boot Magic before I could successfully clone my drive.
I had set up my machine to do a dual boot with NT 4 and Win98SE, but ran out
of HD space, and ended up only using Win98. All this stuff can be a bit
time consuming to set up, so I really recommend making sure you're going to
use it enough to warrant the hassle, and the smaller drive space that will
be available to NT (because DOS will need it's own separate FAT partition
while NT will need NTFS).
> greetings all
> I am running winnt40 and some of my engineering staff use
[quoted text clipped - 7 lines]
> thanks
> cASH
Jiri Tuma - 27 Nov 2003 12:55 GMT
This depends on current machine setup.
Recomended method is to repartition machine and start over installing DOS
first and than windows NT which will make dualboot menu for you
atomatically.
However, reinstalling of whole stuff is a big pain.
If your _system_ partition (partition machine is booting from - ie. C:
drive) is using FAT filesystem and is only 2GB or less long, you can implant
DOS system to it very simply without much pain. See procedure bellow.
Otherwise you need to repartition.
* You can start from scratch.
* You can resize your partitions with third party tool and prepare new
partition for MS-DOS either before or after your existing _system_
partition. If you place it before you should to use third party OS loader
with ability to hide partitions to switch between systems (this partition
shoud be hidden before start of NT, otherwise it will mess drive lettering
system). You can also place new MS-DOS partition after current _system_
partition, it is more difficult to setup - better to call an expert for
this - but this eliminates need of third party OS loader and your system
will stay stable and maintainable. Why you need an expert: MS-DOS partition
should be located within first 7.8GB of disk space, if it starts over 2016MB
from begin of disk, you need to patch bootsector code (otherwise it will
hang on boot). Also if you have more partitions, placing of new primary
partition between them will move allocated drive letters and also force
change to ARC() paths in boot.ini file for OS instances with _boot_
partition (partition the OS files are installed on) located after this new
one or inside extended partition. So you need to edit ARC() paths before
change and to force drive letters after this operation. Also creating of
multiboot manually is not easy task with this environment.
Now how to implant DOS to existing FAT16 _system_ partition.
* First of all - BACKUP EVERYTHING! Creating of _system_ partition ghost
image is highly recommended before start.
* Actualise ERD (run "rdisk" or "rdisk /s" and also "rdisk /s-")
* Create NT boot floppy and test if it is functional. Launch NT system on
machine in question. Format floppy (floppy should be formatted under NT
based system to be able to boot!). Go to root of your C: drive and copy
following files to floppy: NTLDR., NTDETECT.COM, BOOT.INI and eventually
optional file NTBOODD.SYS. These files are system/hidden, so turn on viewing
of such files in explorer view properties in case you cannot see them. If
there is not zero size bootsect.dos file, copy it to floppy too. Shut down
your machine, turn it on, enter BIOS setup and change boot order to boot
from floppy first and try to boot from this floppy. If there is not zero
size bootsect.dos file, copy it to floppy too.
* Download disksave.exe utility (it is part of NT resource kit, but if you
want not to download whole kit, you can download updated version of this
file from MS download site). However, you can use any third party tool
instead of disksave.exe. Repartition, backup and security tools and also OS
loader packages usually contains tool able to do the same work for you. Save
this tool to floppy. There should be some free space (at least 1K) on this
flopy for bootsector image files.
* Prepare MS-DOS system floppy. Under MS-DOS (recommended versions for dual
boot with NT are 5.0-6.22 - preferably 6.22) enter command "format a: /s
/u". Copy to this floppy SYS.COM utility (usually located inside C:\DOS
directory, but you can get it from MS-DOS install floppies too).
* Boot from MS-DOS floppy. Exchange for floppy with disksave.exe and run
DISKSAVE. Press F4 key and enter filename for image file of your current (NT
Loader) bootsector - for ex. "a:\bootsect.nt". Press Enter to save
bootsector to specified file and press Esc to leave DISKSAVE.EXE. Now copy
boosect.nt file from floppy to C:\ to see if there is not error on floppy.
* Exchange floppies back to MS-DOS system floppy and run command "sys c:" -
this command will move DOS system files to C:\ and also it will rewrite
bootsector code by MS-DOS one. If you now restart your machine and let it
boot from disk, it should boot to standard MS-DOS prompt (C:\>_).
* Exchange floppies run DISKSAVE again. Use F4 and save new (MS-DOS)
bootsector to different file - "a:\bootsect.dos". Again escape from disksave
and copy bootsect.dos to root of C: drive - it is final location of this
file and also it will prove it is saved on errorless part of floppy.
* Now run DISKSAVE again and now press F5 key and specify image file with
saved NT loader bootsector -"a:\bootsect.nt" and press enter to restore it.
* Restart machine and let it to start from disk, it should to launch NT
loader as before. Launch your NT operating system and find boot.ini file in
root of C:\drive. Right click on it and clear read-only flag in its
properties. Now double click on this file to open it with notepad. Check
timeout parameter in first section and set it to at least 15 seconds (if you
already have enough time to see NT loader startup menu after machine power
up, you can left this parameter as it is now). You can adjust this
parameter from System applett in Control panels later. Now go to section
[operating systems] and add following line to it:
c:\bootsect.dos="MS-DOS"
* Save boot.ini and restart machine, Now you should to see new line saying
"MS-DOS" in startup menu and if you select it, you should to get MS-DOS
prompt.
* create C:\DOS folder and copy stuff from another computer to it. Also
prepare aprpriate config.sys and autoexec.bat files.
luck
George
Cash <anonymous@discussions.microsoft.com> p?se v diskusn?m
p??sp?vku:03b301c3b459$9d3d5fc0$a301280a@phx.gbl...
> greetings all
> I am running winnt40 and some of my engineering staff use
[quoted text clipped - 7 lines]
> thanks
> cASH