Archives
- October 2025
- September 2025
- August 2025
- July 2025
- June 2025
- May 2025
- April 2025
- March 2025
- February 2025
- January 2025
- December 2024
- November 2024
- October 2024
- September 2024
- August 2024
- July 2024
- June 2024
- May 2024
- April 2024
- March 2024
- February 2024
- January 2024
- October 2023
- September 2023
- August 2023
- July 2023
- June 2023
- May 2023
- April 2023
- March 2023
- January 2023
- December 2022
- November 2022
- October 2022
- September 2022
- July 2022
- June 2022
- May 2022
- April 2022
- March 2022
- February 2022
- January 2022
- December 2021
- November 2021
- October 2021
- September 2021
- August 2021
- July 2021
- June 2021
- May 2021
- April 2021
- March 2021
- February 2021
- January 2021
- December 2020
- November 2020
- October 2020
- September 2020
- August 2020
- July 2020
- June 2020
- May 2020
- April 2020
- March 2020
- February 2020
- January 2020
- December 2019
- November 2019
- October 2019
- September 2019
- August 2019
- July 2019
- June 2019
- May 2019
- April 2019
- March 2019
- February 2019
- January 2019
- December 2018
- November 2018
- October 2018
- August 2018
- July 2018
- June 2018
- May 2018
- April 2018
- March 2018
- February 2018
- January 2018
- December 2017
- November 2017
- October 2017
- August 2017
- July 2017
- June 2017
- May 2017
- April 2017
- March 2017
- February 2017
- January 2017
- December 2016
- November 2016
- October 2016
- September 2016
- August 2016
- July 2016
- June 2016
- May 2016
- April 2016
- March 2016
- February 2016
- January 2016
- December 2015
- November 2015
- October 2015
- September 2015
- August 2015
- July 2015
- June 2015
- May 2015
- April 2015
- March 2015
- February 2015
- January 2015
- December 2014
- November 2014
- October 2014
- September 2014
- August 2014
- July 2014
- June 2014
- May 2014
- April 2014
- March 2014
- February 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- August 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- January 2011
- November 2010
- October 2010
- August 2010
- July 2010
Installing Windows NT 3.x in VirtualBox
All Windows NT 3.x versions can be used in VirtualBox, although they are not officially supported (unlike all following NT versions) and no Guest Additions are provided. Furthermore, for Windows NT 3.1 and 3.5, an extra step needs to be taken before installation.
In all cases, it’s best to start with a guest configured for NT 4. It is advisable to add a floppy drive and, if audio is desired, use SoundBlaster 16 emulation. USB may be turned off completely since there are no drivers, and the emulated network adapter must be left at AMD PCnet. SMP is not supported.
Unlike NT 4, the Windows NT 3.x installation CDs are not bootable. It may be easiest to start by installing DOS with CD-ROM drivers and running the DOS based installer from the CD. For NT 3.1 that is the only option due to lack of ATAPI CD-ROM drivers. For NT 3.5x it’s possible to boot from floppy images and continue installing from CD.
Windows NT 3.1 and 3.5 installers contain paranoid code which refuses to install the OS on an unknown processor family. The installer will fail if it finds a CPU which isn’t a 386, 486, or a Pentium:
This was a problem back in the mid-1990s when Pentium Pro CPUs came out. Back then the only recourse was editing two .INF files used by the installer by hand. That is possible with VirtualBox, but left as an exercise for the reader. An easier method is adjusting the CPUID information returned to the virtualized guest.
A comprehensive description of CPUID data may be found on Intel’s website as Application Note 485. The following text assumes basic familiarity with the CPUID mechanism.
CPUID leaf 1 contains the processor family and must be adjusted. Only the EAX register value needs to be changed, but VirtualBox overlays entire leaves. This is the command I used on a host with an Intel Core 2 processor:
VBoxManage modifyvm NT3.5 --cpuidset 1 00000543 00000800 00000209 078bf1bf
The VM was obviously named NT3.5. The first argument of –cpuidset is the leaf number, the other four are the values of registers EAX/EBX/ECX/EDX. The EAX value is the crucial one and is set here to 00000543, which corresponds to a Pentium MMX. The last three values were not modified and were taken from the VBox.log file. Near the beginning of the log file, there’s a section listing raw standard CPUID values. The interesting one in this case looked like this:
Gst: 00000001 000006fb 00000800 00000209 078bf1bf
The ‘Gst’ prefix indicates this is the value reported to the guest. The 000006fb value indicates a Core 2 CPU and is what upsets Windows NT 3.5. The rest doesn’t cause problems and needs no modification. Using the data for a Pentium MMX (for instance) would likewise achieve the desired result. The CPUID override is only strictly required during installation, but running the setup applet will still result in an invalid CPU error if the override is removed.
Windows NT 3.1 is the trickiest to install because it is so old (1993). It won’t recognize more than 64MB RAM, regardless of how much is configured for the VM. It does not come with drivers for PCnet adapter, although a PCnet driver for NT 3.x may be obtained from AMD. On top of that, the TCP/IP implementation does not support DHCP. As mentioned above, there are no ATAPI CD-ROM drivers shipped with the system. Again, third party drivers do exist.
Things are much better with Windows NT 3.5. The CPU overrides are still required for installation, but the OS comes with AMD PCnet drivers as well as ATAPI drivers, and the system supports DHCP. Even better, the installer supports floppy-less operation (WINNT /B).
Windows NT 3.51 is very similar to 3.5, but no longer requires the CPUID overrides. NT 3.51 was released around the same time as the Pentium Pro and the CPU family checks were clearly no longer useful. Because NT 3.51 properly supports PCI, it can be also optionally installed on the emulated BusLogic SCSI adapter in VirtualBox.
On the network, Windows NT 3.x can easily interoperate with newer Windows NT versions, OS/2 LAN Manager, or Microsoft and IBM DOS networking products.
22 Responses to Installing Windows NT 3.x in VirtualBox
“SMP is not supported.”
SMP is supported on NT 3.5 and later with it’s Intel MPS support.
You’re right, except you’re wrong. Windows NT of course supported SMP ever since the first 3.1 release, with Intel MPS being one of the supported SMP variants since version 3.5.
However, the text you quoted rather clearly applies to NT in the context of VirtualBox. And in VirtualBox, SMP for NT 3.x is not supported. If you can get it working, please let me know–I’d love to know how you did it.
Why isn’t it supported on VirtualBox, BTW?
Because VirtualBox only supports MPS 1.4, and NT 3.x only support MPS 1.1.
The MPS 1.1 requirement is true for NT 3.5, but I don’t think it’s true for NT 3.51. At any rate, there’s more to it than the MPS version.
Pingback: Why Windows NT from October 1992 refuses to install on modern CPUs | OS/2 Museum
Pingback: Windows NT 3.1 (and OS/2) Memory Detection | OS/2 Museum
>Unlike NT 4, the Windows NT 3.x installation CDs are not bootable. It may be easiest to start by installing DOS with CD-ROM drivers and running the DOS based installer from the CD. For NT 3.1 that is the only option due to lack of ATAPI CD-ROM drivers. For NT 3.5x itβs possible to boot from floppy images and continue installing from CD.<
It actually isn’t the only option for NT 3.1; if you add a SCSI controller to the VM, set the type to BusLogic, attach an optical drive to the controller, and insert the ISO into that, NT 3.1 will happily boot from floppy and install from CD (at least on VirtualBox 5.1.28; I don’t know if SCSI emulation was possibly not as good in earlier releases). Can confirm as the proud owner of a smoothly-running NT 3.1 VM installed in this way.
Sidenote: I have floppy images and an ISO for NT 3.5, but whenever I try to install it in a VM, it gets as far as formatting the virtual disk before informing me that I needed to have run the MS-DOS-based portion of Setup first; however, looking through both the floppies and the ISO in an MS-DOS 6.22 with CD drivers VM, I’ve been unable to find any such Setup application (or, at least, none that’ll run from MS-DOS 6.22, even with the CD drivers). Can you help with this? :-S
(Sorry about the six-year necro, but I felt like I needed to correct said incorrect information.)
I’m pretty sure when the article was written, the BusLogic SCSI emulation in VirtualBox wasn’t working with NT 3.1. You are right that now it does, and it’s entirely possible to install from CD.
Re NT 3.5, is it possibly complaining about the CPU model? Anyway the DOS-based setup is winnt.exe. I don’t think I’ve had trouble installing NT 3.5, but it’s been a while.
When the article is talking about something that’s already quarter of a century old, a few years here or there don’t matter much π
It doesn’t say anything about the processor; it just says that I should have run Setup from MS-DOS first. If the first image in the article is anything to go by, the CPU-check game-over happens early in the graphical stage of the install, whereas my attempted installation aborted during text mode, after it asked me how I wanted to format the disk but before actually formatting it (I think, at least – I’ll have to try again when I get home). This is having the effect of making NT 3.1 ”easier” for me to install in VirtualBox than NT 3.5!
Also, no offence meant – I wasn’t trying to imply that you were wrong at the time the article was written (although, looking at my post, I can see how it would have come across that way; I probably should have worded that better!), but rather merely to note that what you said then is no longer true now.
Although, now that I look back at it again, it actually looks like I might have intended to say (to paraphrase) “I was right and you were wrong”; in that case, you have my sincerest apologies!
Yes, the CPU check happens in the graphical install phase, so that’s not it. If you tell me exactly what you’re doing and what error you get, I can try to reproduce it locally.
No offense taken.
Actually, I think I’ve gotten past the problem; I simply had to look for winnt.exe in the i386 folder rather than in the CD’s root directory. *facepalm* Silly me…
Why can’t I install it on virtualbox?
I don’t know. Why can I install it on VirtualBox?
Since everyone’s necroing this thread anyway, might as well chime in with an update – Multiprocessor seems to work for me with the following settings:
NT 3.51 Workstation
2 processors, 1 core each
Enable PAE/NX
Enable IO APIC
The setup correctly detects it as “MPS Multiprocessor PC”, the boot process indicates “2 System Processors” and NT Diagnostics shows Number of CPUs as 2.
NT 3.51 was where the first version with “modern” multiprocessor support, without freaking out on hardware newer than the Pentium generation.
“[Windows NT 3.1] does not come with drivers for PCnet adapter, *although a PCnet driver for NT 3.x may be obtained from AMD.”*
That appears to no longer be true, at least judging from a search through AMD’s driver-download listing.
The drivers are still on archive.org (NT 3.5 drivers). That said, with VirtualBox 6.1 or later, it’s far easier to run the following before installing NT 3.1:
VBoxManage modifyvm --nictype1 Am79C960 This will change the emulated NIC to PCnet-ISA aka Am2100 aka NE2100. NT 3.1 should pick it up automatically.
If you want to install NT 3.1, you can use this one.
VBoxManage modifyvm NT3.5 –cpuidset 1 00000000 00000000 00000000 00000000
It’s the most basic configuration for a Intel 386 processor.
This site uses Akismet to reduce spam. Learn how your comment data is processed.