801
edits
Undefishin (talk | contribs) No edit summary |
(wip) |
||
{{DISPLAYTITLE:How to install Windows NT 4.0 in QEMU}}
[[File:Winnt4.png|thumbnail|350px|Windows NT 4.]]
This page details how to install Windows NT 4.0 in QEMU. '''Windows NT 4.0''' is an operating system created by Microsoft, released on July 31, 1996. Support ended
This article is for the x86 release of NT 4.0. There is also a [[Windows NT/MIPS|MIPS version of Windows NT]] which runs in QEMU.▼
==Prerequisites==
===QEMU===▼
You'll need [[QEMU/Installation|QEMU]] installed.
===Windows NT 4.0 ISO===
You'll need a Windows NT 4.0 ISO for this guide. You can use a physical disc or download the [https://computernewb.com/isos/windows/Windows%20NT%204%20Workstation.iso Workstation ISO from here].
==Starting up==▼
===Installation===
Open a command window and create a disk image for NT 4 like so:
▲There is also a [[Windows NT/MIPS|MIPS version of Windows NT]] which runs in QEMU.
'''1G''' can be replaced with however big you want the hard drive to be (with G standing for Gigabytes). There is an annoying quirk with the NT 4 setup where it won't let you format drives bigger than 4 GB due to a limitation in the setup. You'll need to partition the drives using something like gparted if you want more space.
When that's done, run the following command:▼
▲==Starting up==
▲===QEMU===
▲<pre>qemu-img create -f qcow2 winnt4.img 700M</pre>
<pre>qemu-system-i386 -hda winnt4.img -cdrom winnt4_iso_name.iso -
▲When that's done, run the following command:
The CPU is set to <code>pentium3</code> here to prevent a bug that occurs in the NT 4 setup on newer CPUs which causes a BSOD.
▲<pre>qemu-system-i386 -hda winnt4.img -cdrom winnt4_iso_name.iso -boot d -cpu pentium -m 128 -vga cirrus -net nic,model=pcnet -net user -localtime</pre>
We set the memory to 128 MB of RAM, but NT 4 can run on as little as 16 MB of RAM, but that's unrecommended if you want to be running any programs.
The installation is pretty self explanatory. In the setup, skip creating an emergency repair disk, and choose the defaults for the Ethernet adapter. Say yes to using DHCP.
During the setup it will ask you to set your Display Properties, which requires a "test". This test is buggy on QEMU, and locks the OS up on some systems. Just hit OK and stick with 16 colors/640x480 for now.
At this point, if all went well, there'll be an option to restart the PC. Windows will reboot and you should be taken to the login screen. To login, go to the QEMU console and type <code>sendkey ctrl-alt-delete</code>. The username will be "Administrator" followed by whatever password you set during the setup (if any.)
<!-- todo: document how to set up vbemp here -->
[[Category:Windows installation guides]]
|