docs/windows-nt.md
qemu-img create -f raw floppy.img 1440K-fda floppy.img) and run format A: in a VMqemu-system-i386 -m 64 -drive file=hdd.img,format=raw -cpu pentium -M pc,acpi=off -cdrom InstallCD.iso
xcopy /v <CD-ROM letter>:\I386\ C:\install\ in a VM to copy all files, disable the CD-ROM driver.qemu-system-i386 -m 64 -drive file=hdd.img,format=raw -cpu pentium -M pc,acpi=off
C:\install\winnt /F /C in a VM.change floppy0 /path/to/new_floppy_image and press Ctrl+Alt+1 to switch to VGA.[!NOTE] In newer versions of QEMU, the Windows Setup may not work, you can use an older version of QEMU, PCem, 86Box or PCBox instead.
<CD-ROM letter>:\I386\WINNT /B.FAT32 (SYS\FAT32) and RENEW (SYS\RENEW) folders in C:\WINNT35\system32\drivers with replacing.Network Adapter Card: Novell NE2000 Compatible Adapter.IRQ Level: 10
I/O Port Address: 0x300
Recommended version: Windows NT 4.0 SP1
qemu-system-i386 -m 64 -drive file=hdd.img,format=raw -cdrom InstallCD.iso -cpu pentium -M pc,acpi=off
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
});
qemu-system-i386 -m 512 -drive file=hdd.img,format=raw -cdrom InstallCD.iso
Optional:
-device sb16 to enable sound-nic user,model=ne2k_pci or -device ne2k_pci,netdev=<...> to enable networkingUncaught 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:
[!NOTE] This driver doesn't support DirectX, DirectDraw and OpenGL.
VBE20\W2K\PNP, then select vbemppnp.inf inside.Source: #1049
Hardware type: Sound, video and game cotrollers
Manufacturers: Creative Technology Ltd.
Models: Sound Blaster 16 or AWE32 or compatible (WDM)
qemu-system-i386 -m 1024 -drive file=hdd.img,format=raw -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.
Enable ACPI and set the memory size to 512 MB or more.
Source: https://phaq.phunsites.net/2007/05/21/vista-on-xen-using-ne2000-in-favor-to-rtl8139/
-cdrom path/to/drivercd.iso or change ide1-cd0 path/to/drivercd.iso in QEMU Monitor), unpack the archive from CDROM into Windows.WIN2000 folder, press "Install this driver software anyway".