Spaces:
Runtime error
Runtime error
Windows NT 3.1
Installing using QEMU
- Install MS-DOS and Oak CD-ROM Driver.
- Create 4 blank floppy disk images:
- run
qemu-img create -f raw floppy.img 1440K
- mount (
-fda floppy.img
) and runformat A:
in a VM
- Run QEMU with the following settings for installation:
qemu-system-i386 -m 64 -hda hdd.img -cpu pentium -M pc,acpi=off -cdrom InstallCD.iso
- Run
xcopy /v <CD-ROM letter>:\I386\ C:\install\
in a VM to copy all files, disable the CD-ROM driver. - Run QEMU with the following settings:
qemu-system-i386 -m 64 -hda hdd.img -cpu pentium -M pc,acpi=off
- Run
C:\install\winnt /F /C
in a VM. - Follow the setup instructions. To change floppy disk, press Ctrl+Alt+2 to switch to the QEMU Monitor, run
change floppy0 /path/to/new_floppy_image
and press Ctrl+Alt+1 to switch to VGA.
Windows NT 3.51
Installing
In newer versions of QEMU, the Windows Setup may not work, you can use an older version of QEMU, PCem, 86Box or PCBox instead.
- If you install via MS-DOS, install the Oak CD-ROM Driver and run
<CD-ROM letter>:\I386\WINNT /B
. - Follow the setup instructions.
- After installing, download NT 3.51 SuperPack (here or here), unpack the archive into a Windows and copy files from
FAT32
(SYS\FAT32
) andRENEW
(SYS\RENEW
) folders inC:\WINNT35\system32\drivers
with replacing.
Enabling networking
- Open "Control Panel" > "Network", install Windows NT Networking (installation CD required).
- In "Network Adapter Card Detection", press Continue three times, set
Network Adapter Card: Novell NE2000 Compatible Adapter
. - Set the following settings and click Continue:
IRQ Level: 10
I/O Port Address: 0x300
- In "Bus Location", press OK. Check the boxes "TCP/IP Transport" and "Enable Automatic DHCP Configuration" in the next window.
- In "TCP/IP Configuration", check the box "Enable Automatic DHCP Configuration".
- Restart the VM.
Windows NT 4.0
Recommended version: Windows NT 4.0 SP1
Installing using QEMU
- Run QEMU with the following settings for installation:
qemu-system-i386 -m 64 -hda hdd.img -cdrom InstallCD.iso -cpu pentium -M pc,acpi=off
- On setup startup, press F5 and select "Standard PC".
- Follow the setup instructions.
Running in v86
Due to a problem with CPUID, you need to add cpuid_level: 2
and acpi: false
to the V86 constructor (not supported in the UI):
var emulator = new V86({
...
cpuid_level: 2,
acpi: false
});
Windows 2000/XP
Installing using QEMU
- Run QEMU with the following settings for installation:
qemu-system-i386 -m 512 -hda hdd.img -cdrom InstallCD.iso
Optional:
- add
-device sb16
to enable sound - add
-nic user,model=ne2k_pci
or-device ne2k_pci,netdev=<...>
to enable networking
- Follow the setup instructions.
- This step fixes the error
Uncaught RangeError: Maximum call stack size exceeded
in Chromium during Windows 2000/XP startup in v86.
After installation, change the computer type to "Standard PC" as described here:
- Open Start menu, right-click on "My Computer", select "Manage"
- Open Device Manager, open Computer, right-click on "ACPI Uniprocessor PC"
- Select "Update Driver..." > "No, not this time"
- Select "Install from a list or specific location (Advanced)" > Next > "Don't search. I will choose the driver to install."
- Choose "Standard PC", press Next > Finish.
- Restart the VM, follow multiple "Found New Hardware Wizard" dialogs with default options.
Enabling True Color (for Windows 2000)
This driver doesn't support DirectX, DirectDraw and OpenGL.
- Download driver from https://bearwindows.zcm.com.au/vbemp.htm and unpack into Windows.
- Open Start menu, right-click on "My Computer", select "Manage"
- Open Device Manager, open Computer and right-click on "Video Controller".
- Press "Properties", select "Driver" tab and press "Update Driver".
- Select "Display a list of the known drivers for this device...", choose "Display adapters".
- Press "Have Disk...", click "Browse" and go to folder with unpacked driver. Go to
VBE20\W2K\PNP
, then selectvbemppnp.inf
inside. - Select "VBE Miniport" adapter, press "Yes" and "Next".
- After installing, restart the VM.
Enabling sound
Source: #1049
- Right-click on "My computer" > "System Properties", select "Hardware" tab, press "Hardware Wizard"
- Press "Next" > "Add/Troubleshoot a device" > "Add a new device"
- Select "No, I want to select the hardware from a list" > "Sound, video and game controllers"
- Select the following options and press "Next":
Hardware type: Sound, video and game cotrollers
Manufacturers: Creative Technology Ltd.
Models: Sound Blaster 16 or AWE32 or compatible (WDM)
Windows Vista and newer
Installing using QEMU
- Run QEMU with the following settings for installation:
qemu-system-i386 -m 1024 -hda hdd.img -cdrom InstallCD.iso
Optionally add -accel kvm
(for Linux host), -accel whpx
(for Windows host) or -accel hvf
(for MacOS host) to use hypervisor acceleration.
- Follow the setup instructions.
Running in v86
Enable ACPI and set the memory size to 512 MB or more.
Enabling networking (ne2k)
Source: https://phaq.phunsites.net/2007/05/21/vista-on-xen-using-ne2000-in-favor-to-rtl8139/
- Download https://phaq.phunsites.net/files/2007/05/drivercd.iso_.zip, unpack the archive, mount the ISO to the VM (
-cdrom path/to/drivercd.iso
orchange ide1-cd0 path/to/drivercd.iso
in QEMU Monitor), unpack the archive from CDROM into Windows. - Open Start Menu > "Control Panel" > "System" > "Device Manager"
- Right-click on "Ethernet Controller" > "Update Driver Software", press "Browse my computer for driver software".
- Click "Browse" and go to folder with unpacked driver, select
WIN2000
folder, press "Install this driver software anyway".